N:=144;
均价:=(2*C+(C+H+L+O)/4+O)/4;
R:=(2*L+3*均价)/5;R1:=(2*H+3*均价)/5;
天:REF(HHV(R1,N),1),COLORCYAN;
地:REF(LLV(R,N),1),COLORAAAA00;
人:REF(HHV(R1,N*0.66),1),COLORBLUE,COLOR7F00FF;
和:(人+地)*0.5,COLORFFCCAA,LINETHICK2;
IF((R+R1)/2>和,和,DRAWNULL),COLORWHITE,LINETHICK2;
CC:=Abs(均价-ma((R+R1)/2,20))/MA((R+R1)/2,20);
XS:dma(均价,CC),COLORBLUE,LINETHICK1;
XH:(1+7/100)*XS,COLORLIMAGENTA;
XL:(1-7/100)*XS,COLORGREEN;