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


{股价经历了相当长一段时间下跌后,做空能量逐渐消耗。最后在星位跳空下跌,标志着市场最后一线希望破灭,但与此同时行情在绝望之中诞生,伴随第三天股价跳空上涨,一轮触底回升行情就此展开。}


============================
{云梯}
{参数描述: P1(0,100,20)P(0.9,1.1,1.088)P2(1,300,5)}
Var1d:=REF(INDEXC,1);
Var2d:=SMA(MAX(INDEXC-Var1d,0),6,1)/SMA(ABS(INDEXC-Var1d),6,1)*100;
Var3d:=COUNT(Var2d<20,20)>=3 OR Var2d<=1.088;
Var4d:=Var2d>=75 AND Var2d<=90;
Var5d:=Var3d OR Var4d;
Var6d:=SUM(VOL/CAPITAL,0)/BARSCOUNT(CLOSE);
Var7d:=VOL/(CAPITAL*Var6d);
Var8d:=MA(Var7d,5);
Var9d:=100*Var6d;
VarA1:=Var8d-Var9d;
VarB1:=(HIGH+LOW)/2;
VarC1:=VOL/CAPITAL/SMA(VOL/CAPITAL,25,2);
VarD1:=MA(VarB1*VarC1,25);
云梯:if(Var3d AND CLOSE>=REF(CLOSE,1) AND INDEXC>=0.98*REF(INDEXC,1) AND CLOSE<=1.45*LLV(CLOSE,55) AND VarA1>0 AND VarD1>0,30,0),stick,color00ff00;
drawtext(云梯,25,'云梯'),colorwhite;


============================
{旭日东升 }
Var1f:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100<-23;
Var2f:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)*100>16;
Var3f:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27));
旭日东升:if(Var1f AND Var2f AND CROSS(Var3f,79) AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)<0.05