较实用的短线主图(源码 主副图 贴图)
加微信:zb-mart免费验证!
线A1:=(MA(CLOSE,5)+MA(CLOSE,10))/2;
线A2:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20))/3;
线A3:=(MA(CLOSE,40)+MA(CLOSE,10)+MA(CLOSE,30))/3;
线A4:=(MA(CLOSE,30)+MA(CLOSE,40)+MA(CLOSE,70))/3;
STICKLINE(线A1>线A4,线A1,线A4,0.1,1),COLORFF0080;
STICKLINE(线A1<线A4,线A1,线A4,0.1,1),COLOR00FF00;
ma5:MA(CLOSE,5),LINETHICK1,DOTLINE,coloryellow;
STICKLINE(C<O OR (C=O AND C<=REF(C,1)),H,L,0.1,0),COLORFFEEAF;
STICKLINE(C<O OR (C=O AND C<=REF(C,1)),O,C,4,0),COLORFFEEAF;
DRAWICON(CROSS(线A1,线A4),线A1,1);
线1:IF(线A1<线A3,线A1,线A3),COLOR00FF00;
IF(线A1<线A3,线A3,线A1),COLORRED;
线2:IF(线A2<线A3,线A2,线A3),COLOR00FF00;
IF(线A2<线A3,线A3,线A2),COLORRED;
线3:IF(线A3<线A1,线A3,线A3),COLOR00FF00,LINETHICK2;
IF(线A1<线A3,线A3,线A3),COLORRED,LINETHICK2;
STICKLINE(BARSTATUS=2 and c>=ref(c,1),c,DYNAINFO(54) ,7.5 ,1 ),DOTLINE,Color00FF00;
STICKLINE(BARSTATUS=2 and c<ref(c,1),c,DYNAINFO(55) ,7.5 ,1 ),DOTLINE,colorcyan;
涨停:=NUMTOSTRN(DYNAINFO(54),2);
跌停:=NUMTOSTRN(DYNAINFO(55),2);
DRAWTEXT( BARSTATUS=2 and c>=ref(c,1),DYNAINFO(54) ,'涨停价:'+涨停),Color00FF00;
DRAWTEXT( BARSTATUS=2 and c<ref(c,1),DYNAINFO(55)*1.009 ,'跌停价:'+跌停),Color00ffff;
- 上一篇:按此标准操作,你就不会输(源码、主图、贴图) 2015/4/8
- 下一篇:通信达付费指标牛熊时段 2015/4/8