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


a6:=count(a5,20)=1;
江恩回调选股:if(a6 and a5 ,60,0),stick,linethick2,colorf00ff0;
drawtext(江恩回调选股,50,'江恩回调选'),colorf0f000;


============================
{炮弹}
{参数描述: N(1,30,15)  M(1,50,32) }
Var1h:=DMA(AMOUNT/VOL/100, VOL/CAPITAL);
Var2h:=MA(WINNER(HIGH)-WINNER(Var1h), 15);
Var3h:=MA(WINNER(LOW)-WINNER(Var1h),32);
Var4h:=Var3h-Var2h;
火箭:if(REF(Var4h,2)<REF(Var4h,1) AND REF(Var4h,1)>Var4h AND Var4h>0 AND
Var4h*10>1,80,0),stick,color00ff00;
DRAWTEXT(火箭,70,'火箭'),colorf00ff0;
导弹:if(REF(Var4h,2)<REF(Var4h,1) AND REF(Var4h,1)>Var4h AND Var4h>0 AND
Var4h*10<1 AND Var4h*10>0.55,45,0),stick,colorred;
drawtext(导弹,40,'导弹'),coloryellow;
炮弹:if (REF(Var4h,2)<REF(Var4h,1) AND REF(Var4h,1)>Var4h AND Var4h>0 AND
Var4h*10<=0.55,60,0),stick,colorf0f000;
drawtext(炮弹,55,'炮弹'),color000099;


============================
{波段雄鹰}
Var1a:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
Var2a:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;