通达信BS操盘线源码主图

[复制链接]
查看182 | 回复0 | 2021-8-19 11:17:05 | 显示全部楼层 |阅读模式

以下是通达信BS操盘线源码主图(无源码的请下载附件导入)

能用于通达信的BS操盘线(不加密,直接使用)
 

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;

648300559.jpg

648300559.jpg

648377535.png

648377535.png

回复

使用道具 举报

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

本版积分规则