源码
{参数描述: N(9,25,9) }
Var1:=REF(LOW,1)*0.9;
Var2:=LOW*0.9;
Var3:=(Var2*VOL+Var1*(CAPITAL-VOL))/CAPITAL;
Var4:=EMA(Var3,30);
Var5:=CLOSE-REF(CLOSE,1);
Var6:=MAX(Var5,0);
Var7:=ABS(Var5);
Var8:=SMA(Var6,7,1)/SMA(Var7,7,1)*100;
Var9:=SMA(Var6,13,1)/SMA(Var7,13,1)*100;
VarA:=BARSCOUNT(CLOSE);
VarB:=SMA(MAX(Var5,0),6,1)/SMA(ABS(Var5),6,1)*100;
VarC:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VarD:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VarE:=SMA((SMA(VarD,4,1)-50)*2,3,1);
VarF:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
Var10:=SMA(VarF,4,1);
Var11:=SMA(Var10,3,1);
Var12:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
Var13:=VarB<=25 AND VarC<-95 AND Var12>20 AND VarE<-30 AND Var11<30 AND Var4-CLOSE>=-0.25 AND Var8<22 AND Var9<28 AND VarA>50;
Var14:=MA(WINNER(CLOSE),n)*100;
(CROSS(Var14,2.5) AND VOL>MA(VOL,3)*1.5 OR CROSS(Var13,0.5)) ;