通达信一阳穿五线主图指标公式

MA5:MA(C,5),LINETHICK1,COLORYELLOW;
MA17:MA(C,17),LINETHICK1,COLORMAGENTA;
MA30:MA(C,30),LINETHICK1,COLORGREEN;
MA55:MA(C,55),LINETHICK1,COLORRED;
MA250:MA(CLOSE,250),COLORBROWN,LINETHICK2;
YCX:=MA5>=REF(MA5,1) AND MA2>REF(MA2,1);
X2:=MA2>=O AND MA2<=C;
X5:=MA5>=O AND MA5<=C;
X17:=MA17>=O AND MA17<=C;
X30:=MA30>=O AND MA30<=C;
X55:=MA55>=O AND MA55<=C;
一阳穿3线:=X5 AND X17 AND X30;
一阳穿4线:=X2 AND X5 AND X17 AND X30;
一阳穿5线:=X2 AND X5 AND X17 AND X30 AND X55;
STICKLINE(一阳穿3线,O,C,2,0),COLORMAGENTA;{洋红色柱}
STICKLINE(一阳穿4线,O,C,2,0),COLORCC3299;{紫罗兰红色柱}
STICKLINE(一阳穿5线,O,C,2,0),COLORRED,COLOR0000FF;{红色柱};
涨停:=C/REF(C,1)>1.09;
DRAWTEXT(涨停,H*1.01,'↓涨停'),COLOR0000FF;
射线5: DRAWLINE(H=HHV(H,5),H,L=LLV(L,5),L,0),COLORLIGRAY;
射线5X: DRAWLINE(L=LLV(L,5),L,H=HHV(H,5),L,0),COLORLIGRAY;
射线10:DRAWLINE(H=HHV(H,10),H,L=LLV(L,10),L,0),COLORE67010,COLORBROWN;
射线10X:DRAWLINE(L=LLV(L,10),L,H=HHV(H,10),L,0),COLORLICYAN;
箱顶:HHV(CLOSE,20),COLORBROWN;
箱底:LLV(CLOSE,20),COLORLICYAN;
DRAWTEXT(ISLASTBAR=1,MA17,'MA17'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR=1,MA55,'MA55'),COLORRED;
DRAWTEXT(ISLASTBAR=1,MA250,'年线'),COLORBROWN;
DRAWTEXT_FIX((DYNAINFO(23)/DYNAINFO(22))>1,0.86,0.95,0,'★外盘大1倍'),COLORRED;
DRAWTEXT_FIX((DYNAINFO(23)/DYNAINFO(22))>2,0.86,0.95,0,'★外盘大2倍'),COLORWHITE;
DRAWTEXT_FIX((DYNAINFO(23)/DYNAINFO(22))>3,0.86,0.95,0,'★外盘大3倍'),COLORYELLOW;




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

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

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