PSY:=COUNT(CLOSE>REF(CLOSE,1),12)/12*100; PSYMA:MA(PSY,6); //PSYMA2:MA(PSY,12); m120:MA(PSYMA,120); m121:MA(PSYMA,120)*1.2; m119:MA(PSYMA,120)*0.8;
//DRAWLINE(LOW<=LLV(LOW,20),LOW,HIGH>=HHV(HIGH,20),HIGH,0),COLORWHITE,LINETHICK2; m1:=LLV(LOW,20);
m2:=HHV(HIGH,20); m3:((close-ma(close,m1))/ma(close,m1))*100; m4:((close-m1)/m1)*100; //m4:(ma(close,m2)-close)/ma(close,m2); m6:0;
m1:=HHV(C,30); m2:=((c)/m1)<0.96; DRAWICON(m2,LOW*0.98,9); //标注比30日最高收盘价低4%
|