通达信红牛强支撑主图指标公式

N:=5;P1:=3;P2:=4;M:=12;
A1:=DATE <= 13181231;
工作线:(EMA(C,14)) * A1,LINETHICK2,COLOR9590FF;
日30:MA(CLOSE,30),COLORCYAN,LINETHICK1;
日60:MA(CLOSE,60),COLOR10FFFF,LINETHICK1;
周30:MA(CLOSE,150),COLOR90FF90,LINETHICK1;
VAR1:=(C+H+O+L)/4;
卖出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2;
买入:XMA(VAR1,M)*(1-P2/1000),COLORLIGRAY ,LINETHICK2;
幅度:100*(卖出-买入)/买入,NODRAW;
DRAWTEXT(ISLASTBAR,日30,' 趋势一'),COLORCYAN;
DRAWTEXT(ISLASTBAR,日60,' 趋势二'),COLOR10FFFF;
DRAWTEXT(ISLASTBAR,周30,' 趋势三'),COLOR90FF90;
DRAWTEXT(ISLASTBAR,买入,' 下轨'),COLORLIGRAY;
DRAWTEXT(ISLASTBAR,卖出,' 上轨'),COLORGREEN;
{ _最新股票指标公式}
DRAWTEXT(ISLASTBAR,工作线,' 回调'),COLOR9590FF;
STICKLINE(CLOSE= OPEN ,HIGH,LOW,0,1 ),COLORWHITE;
STICKLINE(CLOSE< OPEN ,HIGH,LOW,0,1 ),COLORCYAN;
STICKLINE((CLOSE>OPEN),OPEN,CLOSE,3,0 ),COLOR000055;
STICKLINE((CLOSE>OPEN) ,OPEN,CLOSE,2.1,0 ),COLOR000099;
STICKLINE((CLOSE>OPEN) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;
STICKLINE((CLOSE>OPEN) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;
STICKLINE((CLOSE>OPEN) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;
STICKLINE((CLOSE<OPEN) ,OPEN,CLOSE,3,0 ),COLOR990000;
STICKLINE((CLOSE<OPEN) ,OPEN,CLOSE,2.1,0 ),COLORCC0000;
STICKLINE((CLOSE<OPEN) ,OPEN,CLOSE,1.5,0 ),COLORFF4400;
STICKLINE((CLOSE<OPEN) ,OPEN,CLOSE,0.9,0 ),COLORFF8800;
STICKLINE((CLOSE<OPEN) ,OPEN,CLOSE,0.3,0 ),COLORFFCC00;
备:=REF(买入,1)>REF(C,1)&&C>REF(C,1);
好:=买入>REF(买入,5)&&L<买入&&C>O&&C>REF(C,1);
DRAWICON(备||好,L,1);
红红:=(O>=日30&&O>=日60&&O>=周30)&&(L<=日30*1.01&&L<=日60*1.01&&L<=周30*1.01);
牛牛:=(O>=日30&&O>=日60&&O>=买入)&&(L<=日30*1.01&&L<=日60*1.01&&L<=买入*1.01);
红牛:=(O>=日30&&O>=买入&&O>=周30)&&(L<=日30*1.01&&L<=买入*1.01&&L<=周30*1.01);
买买:=(O>=日60&&O>=买入&&O>=周30)&&(L<=日60*1.01&&L<=买入*1.01&&L<=周30*1.01);
DRAWICON(红红||牛牛||红牛||买买,L*0.99,1);
DRAWTEXT(红红||牛牛||红牛||买买,L*0.97,'强支撑')COLORYELLOW;




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

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

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