股典钟炒股机器人的十个经典指标用法
来源:股典钟量化炒股机器人 | 作者:股典钟量化炒股机器人 | 发布时间: 2023-10-31 | 1057 次浏览 | 分享到:
股典钟炒股机器人的十个经典指标用法


drawtext(CROSS(Var2p,Var3p) AND Var2p<20,75,'百万预警'),colorf00ff0;
drawtext(CROSS(Var2p,Var3p) AND Var2p<20,90,'★'),colorred;


============================
{漫步青云}
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA  := EMA(DIFF,27);
dje1:=DIFF>=0 and DEA>=0 and CROSS(DIFF,DEA);
a5a:=MA(CLOSE,5)>MA(CLOSE,10);
v5a:=VOL>MA(VOL,5) and MA(VOL,5)>MA(VOL,10);
漫步青云:if(dje1 and a5a AND V5a AND MA(CLOSE,30)>=REF(MA(CLOSE,30),1),60,0),colorf0f000;
drawtext(漫步青云,50,'漫步青云' ),coloryellow;

{CES}
Var00:=LWINNER(1,CLOSE);
Var1:=FORCAST(Var00,10);
Var2:=MA(Var1,3);
Var3:=MA(Var2,12);
Var4:=MA(Var3,16);
Var5:=MA(Var4,31);
Var6:=MA(Var5,55);
Var7:=Var5; Var8:=Var4>Var2*1.11 AND Var3>Var2*1.095;
Var9:=Var2>Var1*0.95;
Var1h:=INDEXC;
Var2h:=MA(Var1h,6);
Var3h:=MA(Var1h,24);
Var4h:=MA(Var1h,32);
Var5h:=MA(Var1h,62);
Var6h:=MA(Var1h,105);
Var7h:=Var5h; Var8h:=Var4h>Var2h*1.11 AND Var3h>Var2h*1.095;
Var9h:=Var2h>Var1h*0.95;
pt:=(if(h=l and c=o and l=c and c>0 and ref(h,1)=ref(l,1) and ref(c,1)=ref(o,1)