较实用的短线主图(源码 主副图 贴图)介绍
较实用的短线主图(源码 主副图 贴图)
下面的副图指标也在优化之中,搞好了再发给大家.
三线开新的用法看上去,一目了然,我看就是: 关注金叉 只做红色(红色区间里做,绿区最好不参与)
线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;
gd15797