通达信圣诞波段指标

AAA:=MAX(DYNAINFO(3),DYNAINFO(5))*1.215;
BBB:=MIN(DYNAINFO(3),DYNAINFO(6))/1.215;
CCC:=AAA-BBB;
中轨:(AAA+BBB)/2,COLOR999900;
DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*500/EMA(CLOSE,26);
DEAA:=EMA(DIFF,9);
MACD:=(DIFF-DEAA)/4;
STICKLINE(MACD>=REF(MACD,1)AND MACD<=0,中轨,中轨+MACD,2,1),COLOR006666;
STICKLINE(MACD>REF(MACD,1)AND MACD>=0,中轨,中轨+MACD,2,1),COLOR110055;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,中轨,中轨+MACD,2,1)COLOR444400;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,中轨,中轨+MACD,2,1),COLOR444400;
STICKLINE(C>=O,H,L,0,0),COLOR00EEFF;
STICKLINE(C>=O,C,O,3,0),COLOR0000FF;
STICKLINE(C<O,H,L,0,0),COLOR00FF00;
STICKLINE(C<O,C,O,3,0),COLOR008800;
中轨A:=MA(C,20);
礼为上:中轨A+2*STD(C,24),POINTDOT,LINETHICK3,COLORFF9966;
物为下:中轨A-2*STD(C,24),POINTDOT,LINETHICK3,COLORFF9966;
Q:=REF(C,1);
K:=SMA(MAX(C-Q,0),6,1)/SMA(ABS(C-Q),6,1)*100;
DRAWTEXT(CROSS(80,K),H*1.02,'顶 ');
阻挡:=SMA(H,13,2)*1.04;
DRAWICON(C<REF(C,1) AND H>阻挡 AND C<阻挡,H*1.02,2);
AA:=H<REF(H,1);
BB:=REF(H,1)<REF(H,2);
CC:=REF(H,2)>REF(H,3);
DD8:=AA AND BB AND CC;
ATA:=MA(DD8,13);
VARXD:=REF(CLOSE,1)-REF(ATA,1);
 
理想交易:HHV(VARXD,13),LINETHICK1, COLORYELLOW;
DRAWTEXT(ISLASTBAR,理想交易,'理想交易'), COLORYELLOW;
TR1:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR9:=MA(TR1,22);
止损线: HHV(H-3*ATR9,22),COLORWHITE,DOTLINE;
DRAWTEXT(ISLASTBAR,止损线,'止损线'),COLORWHITE;
VR2:=HHV(HIGH,70);
VR3:=HHV(HIGH,20);
X:= VR2*0.83;
D:= VR3*0.91;
DRAWTEXT(CROSS(D,X),L*0.99,'◤'),COLORMAGENTA;
DRAWICON(CROSS(D,止损线),L*0.99,34);
DRAWICON(CROSS(D,X),L*0.99,23);
DRAWTEXT(CROSS(D,止损线),L*0.99,'◢◣'),COLORRED;


未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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