较实用的短线主图(源码主副图贴图)
-
相关简介:线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
-
文章来源:股海网作者:股海网发布时间:2015-04-08浏览次数:
线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;