距最低点距离:
//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);
m5:(close-m1); m6:0;
自制PSY:
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;
M3:=HIGH>=HHV(HIGH,100); M4:((CLOSE-M3)/C);
m1:=LOW<=LLV(LOW,30); m2:((close-m1)/c);
VAR19:=IF(LOW<=LLV(LOW,20),0.75,1); m2:VAR19; VAR20:=IF(ref(c,1)<c,VAR19,1); m3:var20;
|