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




============================
{CN抄底}
Var1g:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
Var2g:=REF(HIGH,10)/CLOSE>1.35;
抄底: if((CLOSE-Var1g)/Var1g*100<-30 AND Var2g,70,0),coloryellow;
drawtext((CLOSE-Var1g)/Var1g*100<-30 AND Var2g,60,'抄底'),colorf0f000;


============================
{回调必杀}
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
A1 :=CLOSE/MA(CLOSE,3)>=(1+0.07) AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
RSI:= SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
A2 :=COUNT(RSI<20,20)>=1;
回调必杀:if(A1 AND A2,60,0),stick,color00ff00;
drawtext(A1 AND A2,50,'回调必杀'),colorred;


============================
{千年等一回}
Var1k:=INDEXC;
Var2k:=MA(Var1k,6);
Var3k:=MA(Var1k,24);
Var4k:=MA(Var1k,32);
Var5k:=MA(Var1k,62);
Var6k:=MA(Var1k,105);
Var7k:=Var5k<REF(Var5k,1) AND Var6k<REF(Var6k,1) AND Var5k<Var6k*0.98;