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

 and c/o>=1.05;
寻找底部:if(count(aa,13) and aa,60,0),stick,linethick2,colorf00ff0;
drawtext(寻找底部,50,'寻找底部'),colorf0f000;


============================
{AA-100%}
Var3:=INDEXC;
Var4:=MA(Var3,8);
Var5:=MA(Var3,22);
Var6:=MA(Var3,28);
Var7:=MA(Var3,73);
Var8:=MA(Var3,106);
Var9:=Var7<REF(Var7,1) AND Var8<REF(Var8,1) AND Var7<Var8*0.98;
VarA:=Var6>Var4*1.11 AND Var5>Var4*1.095;
VarB:=Var4>Var3*0.95;
VarC:=Var9 AND VarA AND VarB AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));
百分之百: if(VarC*6,60,0),coloryellow;
DRAWICON(VarC*6>0,60,1);
DRAWTEXT(VarA*6>0,40,'100%获利'),colorred;


============================
{千夫指}
Var1a:=120;
Var2a:=IF(BARSCOUNT(CLOSE)>=Var1a,(CLOSE-LLV(LOW,Var1a))/(HHV(HIGH,Var1a)-LLV(LOW,Var1a))*100,40);
Var3a:=MA(Var2a,20);
Var4a:=BARSCOUNT(CLOSE)>=Var1a AND CROSS(Var2a,Var3a) AND Var3a<40 AND LLV(Var2a,10)<11 OR Var2a<2.2;
Var5a:=BARSCOUNT(CLOSE)>=Var1a AND CROSS(Var3a,Var2a) AND Var3a>85 AND HHV(Var2a,10)>95 OR Var2a>97.5;