通达信顶底趋势线副图指标公式【源码分享】

手机版效果展示:

指标源码:

94.5,COLORGREEN,LINETHICK1;

预警线:18.5,COLORGREEN;

趋势线:EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100,COLORMAGENTA,LINETHICK1;

STICKLINE(CROSS(18.5,趋势线),5,50,3,0),COLORRED;

DRAWTEXT(CROSS(18.5,趋势线),50,'--准备买'),COLORYELLOW;

STICKLINE(CROSS(趋势线,94.5),108,63,3,0),COLORGREEN;

DRAWTEXT(CROSS(趋势线,94.5),63,'--准备卖'),COLORYELLOW;

(0)

相关推荐