主题主图大智慧通
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

{网均线}STICKLINE( MA(CLOSE,6)>MA(CLOSE,33),MA(CLOSE,6),MA(CLOSE,33),6,0),COLOR000088;STICKLINE( MA(CLOSE,6)B,A,B,2,0),COLORYELLOW;STICKLINE(A

解答:

 {网均线}

STICKLINE( MA(CLOSE,6)>MA(CLOSE,33),MA(CLOSE,6),MA(CLOSE,33),10,0),COLOR000088;
STICKLINE( MA(CLOSE,6)<MA(CLOSE,30),MA(CLOSE,6),MA(CLOSE,30),10,0),COLOR008800;
网1:EMA(CLOSE,5),COLORWHITE,LAYER0;
网2:EMA(CLOSE,12),COLORGRAY,LAYER0;
网3:EMA(CLOSE,33),COLORFF00FF,LINETHICK3,LAYER0;
PARTLINE(网3,网3<REF(网3,1)),COLOR00FF00,LINETHICK3,LAYER0;
PARTLINE(网1,网3<REF(网1,1)),COLORWHITE,LINETHICK1,LAYER0;
PARTLINE(网1,网1<REF(网3,1)),COLORGREEN,LINETHICK1,LAYER0;
 
日:=50;昨前:=3;   
高1:=REF(HHV(H,日),昨前);   
低1:=REF(LLV(L,日),昨前);   
H1:=高1-(高1-低1)*0.191;   
H2:=高1-(高1-低1)*0.382;   
H3:=高1-(高1-低1)*0.5;   
H4:=高1-(高1-低1)*0.618;   
H5:=高1-(高1-低1)*0.809;   
L1:=低1+(高1-低1)*1.191;   
L2:=低1+(高1-低1)*1.382;   
L3:=低1+(高1-低1)*1.5;   
L4:=低1+(高1-低1)*1.618;   
L5:=低1+(高1-低1)*1.809;   
短压:HHVALL(IF(DISPSTATUS=2,高1,0)),COLORGREEN,LINETHICK1,LAYER0;
DRAWTEXT(DISPSTATUS=2,短压,'短压'),COLORWHITE,LAYER0;
支撑191:HHVALL(IF(DISPSTATUS=2,H1,0)),COLORYELLOW,LAYER0;
支撑382:HHVALL(IF(DISPSTATUS=2,H2,0)),COLORMAGENTA,LAYER0;
支撑50:HHVALL(IF(DISPSTATUS=2,H3,0)),COLORC0C0C0;   
支撑618:HHVALL(IF(DISPSTATUS=2,H4,0)),COLORWHITE,LINETHICK1,LAYER0;  
支撑809:HHVALL(IF(DISPSTATUS=2,H5,0)),COLORWHITE,LAYER0;  
低:HHVALL(IF(DISPSTATUS=2,低1,0)),COLORWHITE,LAYER0;   
阻力1191:HHVALL(IF(DISPSTATUS=2,L1,0)),COLORYELLOW,LAYER0;  
阻力1382:HHVALL(IF(DISPSTATUS=2,L2,0)),COLORMAGENTA,LAYER0;  
阻力150:HHVALL(IF(DISPSTATUS=2,L3,0)),COLORC0C0C0,LAYER0;  
阻力1618:HHVALL(IF(DISPSTATUS=2,L4,0)),COLORRED,LAYER0;  
阻力1809:HHVALL(IF(DISPSTATUS=2,L5,0)),COLORWHITE,LAYER0;
 
DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIFF1,9);
MACDD:=CROSS(DIFF1,DEA1);
均线1:=CROSS(MA(C,5),MA(C,10));
量线1:=CROSS(MA(V,5),MA(V,10));
DRAWICON(MACDD AND 均线1 AND 量线1,L-0.20,25),LAYER0;{同时金叉显示25号图标};
DRAWICON( 均线1 AND 量线1,L-0.20,4),LAYER0;
DRAWTEXT(量线1,L-0.25,'网量'),COLORYELLOW;
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,7);
B:=REF(A,1); 
STICKLINE(A>B,A,B,4,0),COLORYELLOW;
STICKLINE(A<B,A,B,4,0),COLORGREEN;

选股票看什么指标最好 >股票指标网