N:=20;VAR01:=SMA(MAX(MAX(HIGH-LOW,A(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),15,1);VAR02:=HIGH-REF(HIGH,5);VAR03:=REF(LOW,5)-LOW;JJ:=(HIGH+LOW+CLOSE)/3;VAR04:=SMA(IF(VAR02>0 AND VAR02>VAR03,VAR02,0)...
X1:=(C+L+H)/1.5;X2:=EMA(X1,3);X3:=EMA(X2,2.5);DRAWICON(OSS(X2,X3),L*0.98,9),colorred;STICKLINE(X2>=X3,LOW,HIGH,0,1),colorred;STICKLINE(X2>=X3,CLOSE,OPEN,3.2,2),colorred;STICKLINE(X2OPEN) AND (X2OPEN) ...
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;VAR2:=EMA(EMA(EMA(VAR1,4),4),4);SJ:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;SD:=MA(SJ,2);SK:=MA(SJ,1);VAR4:=OSS(SK,0);VAR5:=CROSS(SK,SD) AND SK>0;买二: VAR4 OR VAR5;
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;VAR2:=EMA(EMA(EMA(VAR1,4),4),4);SJ:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;SD:=MA(SJ,2);SK:=MA(SJ,1);VAR3:=OSS(SK,SD) AND SK<0;买一: VAR3;
AA:=LLV(LOW,36);BB:=HHV(HIGH,30);DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);股海:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);注意:OSS(股海,90) AND (DD<40);