通达信主图金山多头紫电青霜原创

 

SSTS:CONST(BARSCOUNT(CLOSE)),NODRAW;
 MA5:MA(CLOSE,5);
 MA10:MA(CLOSE,10);
 MA20:=MA(CLOSE,20),LINETHICK1;
 MA30:MA(CLOSE,30);
 M30:IF(MA5>MA20,MA30,DRAWNULL),COLOR1157FF,LINETHICK2;
 MA60:MA(CLOSE,60),COLORFF9D66,LINETHICK1;
 M60:IF(MA60<C,MA60,DRAWNULL),COLOR1112FF,LINETHICK2;
 MA120:MA(CLOSE,120);
 MA250:=MA(CLOSE,250);
 STICKLINE(MA5>MA10 AND MA10<MA20,MA5,MA10,3.2,0),COLOR1788FF;
 DRAWICON(FILTER((ZIG(3,5)>REF(ZIG(3,5),1)),25) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.98,1) ;
 DRAWICON(FILTER((ZIG(3,5)<REF(ZIG(3,5),1)),25) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.01,2);
 DRAWTEXT(COUNT(CROSS(MA5,MA10),21)>1 AND CROSS(MA5,MA10),L,'金山谷'),COLOR1788FF;
 DRAWTEXT_FIX(C>0,0.01,0.31,0,'所属行业:');
 DRAWTEXT_FIX(C>0,0.01,0.24,0,'所属地域:');
 DRAWTEXT_FIX(C>0,0.07,0.31,0,HYBLOCK);
 DRAWTEXT_FIX(C>0,0.07,0.24,0,DYBLOCK);
 DRAWTEXT_FIX(C>0,0.01,0.03,0,'上市天数:');
 DRAWNUMBER_FIX(C>0,0.07,0.03,0,SSTS);
 ZT:=(C+H)*0.5/REF(C,1)>1.09;
 DT:=(C+L)*0.5/REF(C,1)<0.92;
 STICKLINE(ZT,O,C,2.3,0),COLOR1279FA;
 STICKLINE(DT,O,C,2.3,0),COLOR79FA22;
 NUMBER:=COUNT(ZT,SSTS);
 NDT:=COUNT(DT,SSTS);
 DRAWNUMBER(ZT,HIGH*1.04,NUMBER),COLORWHITE;
 DRAWNUMBER(DT,HIGH*1.04,NDT),COLOR11BB22;
 
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.29,0.03,0,NUMBER),COLOR2288DD;
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.13,0.03,0,'上市以来共涨停'),COLORYELLOW;
 DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.29,0.088,0,NDT),COLOR22FF33;
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.13,0.088,0,'上市以来共跌停'),COLOR22BB33;
 
{低版本用}
 
SSTS:CONST(BARSCOUNT(CLOSE)),NODRAW;
 MA5:MA(CLOSE,5);
 MA10:MA(CLOSE,10);
 MA20:=MA(CLOSE,20),LINETHICK1;
 MA30:MA(CLOSE,30);
 M30:IF(MA5>MA20,MA30,DRAWNULL),COLOR1157FF,LINETHICK2;
 MA60:MA(CLOSE,60),COLORFF9D66,LINETHICK1;
 M60:IF(MA60<C,MA60,DRAWNULL),COLOR1112FF,LINETHICK2;
 MA120:MA(CLOSE,120);
 MA250:=MA(CLOSE,250);
 STICKLINE(MA5>MA10 AND MA10<MA20,MA5,MA10,3.2,0),COLOR1788FF;
 DRAWICON(FILTER((ZIG(3,5)>REF(ZIG(3,5),1)),25) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.98,1) ;
 DRAWICON(FILTER((ZIG(3,5)<REF(ZIG(3,5),1)),25) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.01,2);
 DRAWTEXT(COUNT(CROSS(MA5,MA10),21)>1 AND CROSS(MA5,MA10),L,'金山谷'),COLOR1788FF;
 DRAWTEXT(ISLASTBAR,H,HYBLOCK);
 DRAWTEXT(ISLASTBAR,REF((L+O),1)*0.5,DYBLOCK);
 




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

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

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