龙听期货论坛's Archiver

龙听 发表于 2018-10-15 16:48

[转载]六脉神剑(信号少,准确度高)

{n :  1    100      5}[code]
Var3:=(CLOSE-LLV(CLOSE,124))/(HHV(CLOSE,124)-LLV(CLOSE,124))*100;
Var4:=Var3=0;
Var5:=IF(CLOSE/COST(N)<0.7,1,0);
Var6:=LLV(HIGH,240);
Var7:=100*(CLOSE-Var6)/Var6;
Var8:=Var7<0;
Var9:=IF(CLOSE/COST(26)<0.7,1,0);
VarA:=(Var5 OR Var9) AND Var4 AND Var8;
VarB:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100);
VarC:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
VarD:=SMA(VarC,3,2);
VarE:=SMA(VarD,3,2);
VarF:=SMA(VarE,5,1);
Var10:=IF(CLOSE/COST(10)<0.65,1,0);
底部来临: IF(FILTER(VarA,10)=1,1,0),color00ff00;
止跌: IF(FILTER(Var10,3)=1,1,0),colorffcc66;
牛势股票: REF(VarB,1)>=16 AND REF(VarB,1)/VarB>=1.23 AND CROSS(VarE,VarF),colorred;
STICKLINE(牛势股票>0,0.9,1.05,10,0),colorred;
DRAWTEXT(底部来临,0.25,'底部买点'),color00ff00;
DRAWTEXT(牛势股票,0.85,'牛势再现'),colorwhite;
DRAWTEXT(止跌,0.6,'止跌转牛势'),coloryellow;
[/code]


[attach]4558[/attach]

页: [1]