BS波段主图指标 通达信公式(附图)

[复制链接]
查看74 | 回复0 | 2021-8-20 15:22:09 | 显示全部楼层 |阅读模式

BU:=CROSS(HIGH,SAR(3,1,20));
SEL:=CROSS(SAR(3,1,20),LOW);
VAR1:=BARSLAST(NOT(HIGH<SAR(3,1,20)));
VAR2:=BARSLAST(NOT(LOW>SAR(3,1,20)));
DRAWICON(BU,L-(HIGH*0.02),1);
DRAWICON(SEL,H+(HIGH*0.02),2);
DRAWICON(BU,(LOW -(HIGH*0.05)),7);
DRAWICON(SEL,H+(HIGH*0.05),8);
STICKLINE(LOW>SAR(3,1,20) AND C<=O,HIGH,OPEN,0.5,1),COLORRED;
STICKLINE(LOW>SAR(3,1,20) AND C<=O,CLOSE,OPEN,2.1,1),COLORRED;
STICKLINE(LOW>SAR(3,1,20) AND C<=O,CLOSE,LOW,0.5,1),COLORRED;
STICKLINE(HIGH<SAR(3,1,20) AND C>O,HIGH,CLOSE,0.5,1),COLORCYAN;
STICKLINE(HIGH<SAR(3,1,20) AND C>O,CLOSE,OPEN,2.1,1),COLORCYAN;
STICKLINE(HIGH<SAR(3,1,20) AND C>O,OPEN,LOW,0.5,1),COLORCYAN;
{DRAWTEXT(HIGH<SAR(3,1,20) AND HIGH>=REF(HIGH,1),HIGH,'明日突破'+FORCAST(SAR(3,1,20),MAX(VAR1,2))+'建议关注');
DRAWTEXT(HIGH<SAR(3,1,20) AND HIGH<REF(HIGH,1),HIGH,'持币观望');
DRAWTEXT(LOW>SAR(3,1,20) AND LOW<=REF(LOW,1),LOW,'明日跌破'+FORCAST(SAR(3,1,20),MAX(VAR2,2))+'注意止盈');
DRAWTEXT(LOW>SAR(3,1,20) AND LOW>REF(LOW,1),LOW,'继续持股');};
PLOYLINE(BU OR SEL,L),COLORYELLOW;

1560344L0050-53937.jpg

1560344L0050-53937.jpg

 

回复

使用道具 举报

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

本版积分规则