XT箱体天天抓涨停箱体主图通达信公式 主图 源码附图

突破:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-突破)/突破*100;
多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);
空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);
STICKLINE(A1X>=0,多方,突破,2,0),COLOR000000;
STICKLINE(A1X>=0,多方,突破,1.7,0),COLOR000000;
STICKLINE(A1X>=0,多方,突破,1.4,0),COLOR000000;
STICKLINE(A1X>=0,多方,突破,1.1,0),COLOR000000;
STICKLINE(A1X>=0,多方,突破,0.5,0),COLORMAGENTA;
箱顶:PEAK(CLOSE,5,1)*1.001,COLORMAGENTA,LINETHICK4;
箱顶1:PEAK(CLOSE,5,1)*1,COLORMAGENTA,LINETHICK2;
DRAWBAND(箱顶,RGB(180,260,360),箱顶1,DRAWNULL);
箱底:TROUGH(CLOSE,5,1)*1.003,COLORWHITE,LINETHICK4;
箱底2:TROUGH(CLOSE,5,1)*0.995,NODRAW;
{}
 
{DRAWBAND(箱底2,RGB(10,25,10),0,RGB(25,25,45));}
{DRAWBAND(箱底,RGB(10,0,0),箱底2,DRAWNULL);}
 
箱底3:TROUGH(CLOSE,5,1)*0.995,COLORWHITE,LINETHICK2;
箱高:100*(箱顶-箱底)/箱底,NODRAW;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
 
 
STICKLINE(C>=O,C,O,3,0),COLOR000045;
STICKLINE(C>=O,C,O,2.5,0),COLOR000065;
STICKLINE(C>=O,C,O,2,0),COLOR000085;
STICKLINE(C>=O,C,O,1.5,0),COLOR0000A5;
STICKLINE(C>=O,C,O,1,0),COLOR0000C5;
STICKLINE(C>=O,C,O,0.5,0),COLOR0000E5;
STICKLINE(C>=O,H,L,0,0),COLOR0000F5;
STICKLINE(C<O,C,O,3,0),COLORFFFF00;
STICKLINE(C<O,C,O,2.5,0),COLORFFFF00;
STICKLINE(C<O,C,O,2,0),COLORFFFF00;
STICKLINE(C<O,C,O,1.5,0),COLORFFFF00;
STICKLINE(C<O,C,O,1,0),COLORFFFF00;
STICKLINE(C<O,C,O,0.5,0),COLORFFFF00;
STICKLINE(C<O,H,L,0,0),COLORFFFF00;
DRAWICON(CROSS(空方,突破),空方,43);
MA5:MA(CLOSE,5),COLOR00FF00,LINETHICK2;
多: IF(MA5>=REF(MA5,1),MA5,DRAWNULL),COLORMAGENTA,LINETHICK2;
空:IF(REF(MA5,1)>MA5,MA5,DRAWNULL),COLOR00FF00,LINETHICK2;
 


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

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

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