主力操盘布林通达信指标 副图 源码 测试图

买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(BU,LOW,'B买入'),COLORRED,LINETHICK3;
DRAWTEXT(BU,LOW,' ̄'),COLOR208FFF,LINETHICK3;
DRAWTEXT(SEL,HIGH,' ̄'),COLORFFFF00,LINETHICK3;
DRAWTEXT(SEL,HIGH,'S卖出'),COLORGREEN,LINETHICK3;
STICKLINE(买线>=卖线,LOW,HIGH,0.1,0.1),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,8,0.1),COLORRED;
STICKLINE(买线<卖线,CLOSE,OPEN,8/3,0),COLOR00FF00;
STICKLINE(买线<卖线,LOW,HIGH,0.1,0.1),COLOR00FF00;
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,6/3,0),COLORFFFF00;
主力操盘线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1,COLORFFFFFF;
界: MA(CLOSE,27),LINETHICK1,COLOR00FFFF;
买: 界-2*STD(CLOSE,27),LINETHICK1,COLORF0FF00;
下限: 界-2.9*STD(CLOSE,27),LINETHICK0,COLOR00FF00;
DRAWTEXT(CROSS(主力操盘线,界),界,'上突破'),COLORBLUE;
DRAWTEXT(CROSS(主力操盘线,界),界,' ̄ ̄'),COLOR00FFFF;
DRAWTEXT(CROSS(界,主力操盘线),界,'下突破'),COLORBLUE;
DRAWTEXT(CROSS(界,主力操盘线),界,' ̄ ̄'),COLOR00FFFF;
上限: 界+3*STD(CLOSE,27),LINETHICK1,COLOR00FFFF;
卖: 界+2*STD(CLOSE,27),LINETHICK1,COLORFF00FF;
DRAWTEXT(CROSS(H,上限),H,'获利'),COLORGREEN;
DRAWTEXT(CROSS(H,上限),H,' ̄ ̄'),COLOR00FFFF;
DRAWTEXT(CROSS(上限,H),H,'利润'),COLORGREEN;
DRAWTEXT(CROSS(上限,H),H,' ̄ ̄'),COLOR00FFFF;
STICKLINE(C/REF(C,1)>1.0925 AND C=H,CLOSE,OPEN,10/3,0),COLORMAGENTA;
C3:=REF(C,1);
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,10/3,0),COLORBLUE;
{成交量大于10日均量线和20日均量线}
K线变红色:=((VOL>=MA(VOL,10) ) AND (VOL>=MA(VOL,5) ) AND C>O )  ;
STICKLINE(K线变红色,OPEN,CLOSE,4/3,0),COLORYELLOW;
M5:=EMA(C,5),COLORYELLOW;
M10:=EMA(C,10);
M20:=EMA(C,20);
 
短期多头排列:=C>M5 AND M5>M10 AND M10>M20  AND C>REF(C,1) AND M5>REF(M5,1)
AND M10>REF(M10,1) AND M20>REF(M20,1) AND C/O>1.03 AND (H-C)/C<0.02;
五日角度大于:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14159>60;
K线变色条件1:=五日角度大于 AND 短期多头排列 ;
STICKLINE(K线变色条件1,OPEN,CLOSE,4/3,0),COLORYELLOW;
STICKLINE(C<MA(C,13),OPEN,CLOSE,8/3,0),COLORLIGREEN;
 


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图