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




============================
{强势股}
{N(5,250,20 M(15,100,20)}
Var1C:=(CLOSE-REF(OPEN,20))/REF(OPEN,20);
Var2C:=(INDEXC-REF(INDEXO,20))/REF(INDEXO,20);
强势股:if(Var1C>0 AND Var2C>0 AND Var1C/Var2C>=20/10 OR Var1C>Var2C AND Var2C=0 OR 0>Var1C AND Var1C>Var2C AND Var2C/Var1C>=20/10,1,0),colorred;
drawtext(强势股,10,'▲'),colorred;


============================
{魔法1:我调整了参数,成功率59.7%,净利23%}
{参数描述: N(1,100,6)M1(2,40,2)M2(2,40,2)X(0,10,2)}
100;
Var1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
Var2:=SMA(Var1,13,1);
Var3:=SMA(Var2,5,1);
Var4:=3*Var2-2*Var3;
魔法1:if(Var3<100 AND Var4>Var2*1.03 AND Var2>Var3*1.01 AND Var4>REF(Var4,1)*1.05 AND Var2>REF(Var2,1)*1.005 AND Var3>REF(Var3,1)*1.005 AND CLOSE>OPEN*(1+2/100) AND VOL>MA(VOL,5)*1.2,50,0),coloryellow;
drawtext(魔法1,45,'魔法1'),color00ff00;


============================
{抄底}
Var1a:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100<-30;
Var2a:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-27;
Var3a:=Var1a AND Var2a;
抄底:if(Var3a AND COUNT(Var3a,2)=1