通达信系统公式 吸拉派落XLPL源码分享通达信公式 副图 源码附图
EME13:=(EMA(EMA(C,13),13)/REF(EMA(EMA(C,13),13),1)-1)*1000;
吸:IF(EME13< 0 AND EME13> REF(EME13,1),EME13,DRAWNULL),NODRAW,COLORLIRED,LINETHICK3;
拉:IF(EME13>=0 AND EME13> REF(EME13,1),EME13,DRAWNULL),NODRAW,COLORRED,LINETHICK3;
派:IF(EME13>=0 AND EME13<=REF(EME13,1),EME13,DRAWNULL),NODRAW,COLORGREEN,LINETHICK3;
落:IF(EME13< 0 AND EME13<=REF(EME13,1),EME13,DRAWNULL),NODRAW,COLORWHITE,LINETHICK3;
NOTEXT吸:IF(BACKSET(EME13< 0 AND EME13> REF(EME13,1),2),EME13,DRAWNULL),COLORLIRED,LINETHICK3;
NOTEXT拉:IF(BACKSET(EME13>=0 AND EME13> REF(EME13,1),2),EME13,DRAWNULL),COLORRED,LINETHICK3;
NOTEXT派:IF(BACKSET(EME13>=0 AND EME13<=REF(EME13,1),2),EME13,DRAWNULL),COLORGREEN,LINETHICK3;
NOTEXT落:IF(BACKSET(EME13< 0 AND EME13<=REF(EME13,1),2),EME13,DRAWNULL),COLORWHITE,LINETHICK3;
未来函数检测结果如下:
该公式包含未来函数:BACKSET
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
EME13赋值:(C的13日指数移动平均,13)/13日前的C的13日指数移动平均,1)-1)*1000
输出吸:IF(EME13< 0 AND EME13> 1日前的EME13,EME13,DRAWNULL),NODRAW,COLORLIRED, 线宽为3
输出拉:IF(EME13>=0 AND EME13> 1日前的EME13,EME13,DRAWNULL),NODRAW,画红色, 线宽为3
输出派:IF(EME13>=0 AND EME13<=1日前的EME13,EME13,DRAWNULL),NODRAW,画绿色, 线宽为3
输出落:IF(EME13< 0 AND EME13<=1日前的EME13,EME13,DRAWNULL),NODRAW,画白色, 线宽为3
NOTEXT输出吸:IF(BACKSET(EME13< 0 AND EME13> 1日前的EME13,2),EME13,DRAWNULL),COLORLIRED, 线宽为3
NOTEXT输出拉:IF(BACKSET(EME13>=0 AND EME13> 1日前的EME13,2),EME13,DRAWNULL),画红色, 线宽为3
NOTEXT输出派:IF(BACKSET(EME13>=0 AND EME13<=1日前的EME13,2),EME13,DRAWNULL),画绿色, 线宽为3
NOTEXT输出落:IF(BACKSET(EME13< 0 AND EME13<=1日前的EME13,2),EME13,DRAWNULL),画白色, 线宽为3