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


千夫指买入: if(REF(COUNT(Var4a,10),1)=0 AND Var4a,40,0),stick,colorf0f000;
千夫指卖出: if(REF(COUNT(Var5a,10),1)=0 AND Var5a,50,0),stick,color2255ff;
drawtext(REF(COUNT(Var4a,10),1)=0 AND Var4a,35,'千夫指买入'),coloryellow;
drawtext(REF(COUNT(Var5a,10),1)=0 AND Var5a,40,'千夫指卖出'),color00ff00;


============================
{千夫指}
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;
千夫指买入: if(REF(COUNT(Var4a,10),1)=0 AND Var4a,40,0),stick,colorf0f000;
千夫指卖出: if(REF(COUNT(Var5a,10),1)=0 AND Var5a,50,0),stick,color2255ff;
drawtext(REF(COUNT(Var4a,10),1)=0 AND Var4a,35,'千夫指买入'),coloryellow;
drawtext(REF(COUNT(Var5a,10),1)=0 AND Var5a,40,'千夫指卖出'),color00ff00;


============================
{RSI二线差}
aa:="rsi.rsi1"(3,14,24);