财富操盘线布林通道(通达信公式 主图 源码 测试图)

[复制链接]
查看60 | 回复0 | 2022-6-27 19:20:43 | 显示全部楼层 |阅读模式

 {财富操盘线布林通道}

VAR1:=(C+H+O+L)/4;
卖出:=XMA(VAR1,20)*(1+80/1000);
买入:=XMA(VAR1,32)*(1-100/1000);
大盘卖出:=XMA(VAR1,20)*(1+55/1000);
大盘买入:=XMA(VAR1,32)*(1-80/1000);
{=================================================}
DRAWKLINE(H,O,L,C);
STICKLINE(C>=O,C,O,3,0),COLOR0000AA;
STICKLINE(C>=O,C,O,2.5,0),COLOR0000BB ;
STICKLINE(C>=O,C,O,1.5,0),COLOR0000CC ;
STICKLINE(C>=O,C,O,1,0),COLOR0000EE;
STICKLINE(C>=O,H,L,0,0),COLOR0000FF;
STICKLINE(C<=O,C,O,3,0),COLOR7B7B00;
STICKLINE(C<=O,C,O,2.5,0),COLOR909000;
STICKLINE(C<=O,C,O,1.5,0),COLORA8A800;
STICKLINE(C<=O,C,O,1,0),COLORCECE00;
STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
高抛线:卖出,COLORGREEN,LINETHICK2;
低吸线:买入,COLORMAGENTA,LINETHICK2;
标准A:低吸线+(高抛线-低吸线)*2/3,POINTDOT,COLORWHITE,LINETHICK4;
标准B:低吸线+(高抛线-低吸线)*1/3,POINTDOT,COLORWHITE,LINETHICK4;
极度安全区:IF(L<低吸线,1,DRAWNULL),NODRAW;
安全区:IF(BETWEEN(H,低吸线,标准B),1,DRAWNULL),NODRAW;
稳定区:IF(BETWEEN(H,标准A,标准B),1,DRAWNULL),NODRAW;
危险区:IF(BETWEEN(H,标准A,高抛线),1,DRAWNULL),NODRAW;
高危险区:IF(H>高抛线,1,DRAWNULL),NODRAW;
IF(CLOSE=INDEXC,大盘卖出,卖出*1.01),COLORCYAN,LINETHICK2;
IF(CLOSE=INDEXC,大盘买入,买入*0.99),COLORRED,LINETHICK2;

p202011216131919083.jpg

p202011216131919083.jpg

202011216132895779.rar

2.52 KB, 下载次数: 0

售价: 4 金钱  [记录]  [购买]

202011216132895779.rar

回复

使用道具 举报

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

本版积分规则