奇妙转折 通达信选股公式 主图 源码 贴图
X1:=REF(CLOSE,1);
X2:=(SMA(MAX(CLOSE-X1,0),13,1))/(SMA(ABS(CLOSE-X1),13,1))*100;
X3:=(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50;
X4:=(X2+X3)/2;
奇妙:CLOSE+(X4/50-1)*(MA(CLOSE,30)/20)*3,COLORMAGENTA,LINETHICK1;
A:=REF(EMA(H,5),1);
B:=REF(EMA(L,5),1);
A1:=BARSLAST(CROSS(C,A));
B1:=BARSLAST(CROSS(B,C));
A2:=IF(B1>A1,MA(L,3),MA(H,3));
取舍线:A2,COLORFFFFFF,LINETHICK1;
MA5:=MA(C,5);
MA20:=MA(C,20);
A51:= REF(MA5,1)*0.98;
A52:= REF(MA5,2)*0.98;
B52:= BARSLAST(REF(C,2)>=REF(MA5,2) AND REF(C,1)<REF(MA5,1))+2;
B51:= BARSLAST(REF(C,2)>=REF(MA5,2) AND REF(C,1)<REF(MA5,1))+1;
DZ:=IF((REF(C,2)>=REF(MA5,2)) AND
(REF(C,1)<REF(MA5,1)),IF(REF(MA5,2)<REF(MA5,1),A51,A52),IF(BARSSINCE(REF(C,2)>=REF(MA5,2)
AND REF(C,1)<REF(MA5,1))>0,IF(REF(MA5, B52)< REF(MA5,
B51),REF(MA5,B51)*0.98, REF(MA5,B52)*0.98), REF(MA5,1)));
A201:= REF(MA20,1)*0.98;
A202:= REF(MA20,2)*0.98;
B202:= BARSLAST(REF(C,2)>=REF(MA20,2) AND REF(C,1)<REF(MA20,1))+2;
B201:= BARSLAST(REF(C,2)>=REF(MA20,2) AND REF(C,1)<REF(MA20,1))+1;
ZZ:=IF((REF(C,2)>=REF(MA20,2)) AND
(REF(C,1)<REF(MA20,1)),IF(REF(MA20,2)<REF(MA20,1),A201,A202),IF(BARSSINCE(REF(C,2)>=REF(MA20,2)
AND REF(C,1)<REF(MA20,1))>0,IF(REF(MA20, B202)< REF(MA20,
B201),REF(MA20,B201)*0.98, REF(MA20,B202)*0.98), REF(MA20,1)));
短止:DZ,COLORRED,LINETHICK2;
中止:ZZ,COLORYELLOW,LINETHICK2;
郑重声明:股市具有不确定性,个股走势是无法预测的。公式软件描述中的案例截图仅代表过去,仅供参考学习研究之用,不构成投资建议或未来保证,也并不能代表未来,依此操作,责任自负。股市有风险,入市需谨慎。
指标公式评论
(奇妙转折 通达信选股公式 主图 源码 贴图)