金山多头紫电青霜主图指标公式[通达信公式]
相关标签:
原理解析:
源码:
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;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容