通达信波段拐点主图公式源码

[复制链接]
查看88 | 回复0 | 2021-8-19 14:30:20 | 显示全部楼层 |阅读模式

以下是通达信波段拐点主图公式源码(无源码的请下载附件导入)

买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,21)*20+C,42);

BU:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);

DRAWTEXT(BU,LOW,'上'),COLORWHITE,LINETHICK3;

DRAWTEXT(BU,LOW,' ̄'),COLOR208FFF,LINETHICK3;

DRAWTEXT(SEL,HIGH,' ̄'),COLORFFFF00,LINETHICK3;

DRAWTEXT(SEL,HIGH,'下'),COLORGREEN,LINETHICK3;

STICKLINE(买线>=卖线,LOW,HIGH,0.1,1),COLORRED;

STICKLINE(买线>=卖线,CLOSE,OPEN,8,1),COLORRED;

STICKLINE(买线<卖线,CLOSE,OPEN,8,0),COLOR00FF00;

STICKLINE(买线<卖线,LOW,HIGH,0.1,1),COLOR00FF00;

STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,6,0),COLORFFFF00;

指导线: MA(CLOSE,5),LINETHICK1,COLORFFFFFF;

界: MA(CLOSE,11),LINETHICK1,COLOR00FFFF;

中: MA(CLOSE,18),LINETHICK1,COLORLIRED;

DRAWTEXT(CROSS(指导线,界),界,'↑★'),COLORRED;

DRAWTEXT(CROSS(界,指导线),界,'↓★');

9822879.png

9822879.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则