绝底爆发通达信指标 副图 源码附图
TYP:=(HIGH+LOW+CLOSE)/3;
CI15:=(TYP-MA(TYP,15))/(0.015*AVEDEV(TYP,15));
CI10:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));
CI5:=(TYP-MA(TYP,5))/(0.015*AVEDEV(TYP,5));
CI3:=(TYP-MA(TYP,3))/(0.015*AVEDEV(TYP,3));
EMAH3:=EMA(H,3);
EMAL3:=EMA(L,3);
EMAH5:=EMA(H,5);
EMAL5:=EMA(L,5);
EMAL10:=EMA(L,10);
EMAZ:=(EMAH3+EMAH5+EMAL3+EMAL5)/4;
EMA3:=(EMAH3-EMAL3)/6+EMAL3;
PBX1:=(expma((C+H+L)/3,4)+MA((C+H+L)/3,4*2)+MA((C+H+L)/3,4*4))/3;
PBX2:=(EXPMA((C+H+L)/3,6)+MA((C+H+L)/3,6*2)+MA((C+H+L)/3,6*4))/3;
XG:PBX1>PBX2 AND CI15>0 AND CI10>0 AND EMAH3>EMAH5 AND EMAL3>EMAL5 AND EMAL5>EMAL10 AND O<EMA3 AND L<EMAL3;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
TYP赋值:(最高价+最低价+收盘价)/3
CI15赋值:(TYP-TYP的15日简单移动平均)/(0.015*AVEDEV(TYP,15))
CI10赋值:(TYP-TYP的10日简单移动平均)/(0.015*AVEDEV(TYP,10))
CI5赋值:(TYP-TYP的5日简单移动平均)/(0.015*AVEDEV(TYP,5))
CI3赋值:(TYP-TYP的3日简单移动平均)/(0.015*AVEDEV(TYP,3))
EMAH3赋值:H的3日指数移动平均
EMAL3赋值:L的3日指数移动平均
EMAH5赋值:H的5日指数移动平均
EMAL5赋值:L的5日指数移动平均
EMAL10赋值:L的10日指数移动平均
EMAZ赋值:(EMAH3+EMAH5+EMAL3+EMAL5)/4
EMA3赋值:(EMAH3-EMAL3)/6+EMAL3
PBX1赋值:(EXPMA((C+H+L)/3,4)+MA((C+H+L)/3,4*2)+MA((C+H+L)/3,4*4))/3
PBX2赋值:(EXPMA((C+H+L)/3,6)+MA((C+H+L)/3,6*2)+MA((C+H+L)/3,6*4))/3
输出XG:PBX1>PBX2 AND CI15>0 AND CI10>0 AND EMAH3>EMAH5 AND EMAL3>EMAL5 AND EMAL5>EMAL10 AND O