短线之王源码:
VAR1:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,2,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=MA(CLOSE,2);
VAR6:=MA(CLOSE,5);
短线之王:VAR5>REF(VAR5,1)*1.01 AND VAR6>REF(VAR6,1)*1.005 AND VAR3<90 AND
VAR4>VAR2*1.05 AND VAR2>VAR3 AND VAR4>REF(VAR4,1)*1.1 AND
VAR2>REF(VAR2,1)*1.05 AND VAR3>REF(VAR3,1)*1.05 AND CLOSE>REF(CLOSE,1)*1.05
AND CLOSE>REF(CLOSE,1)*1.05;