bias1 := (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
BIAS2 := (CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
BIAS3 := (CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100;
BIASAA:=(BIAS1+BIAS2+BIAS3)/3;
dif:=(EMA(BIASAA,5)-EMA(BIASAA,34));
de:=EMA(dif,9);
macd:3*(dif-de);
//////////////
STICKLINE(MacD>0 AND MACD>REF(MACD,1),MACD,0,3,0),COLOR0000AA;
STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,2.7,0),COLOR0000BB;
STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,2.3,0),COLOR0000CC;
STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,2,0),COLOR0000CC;
STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,1.6,0),COLOR0000DD;
STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,1.2,0),COLOR0000EE;
STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,0.8,0),COLOR0000FF;
STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,0.5,0),colorred;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,3,0),color0090FF;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,2.7,0),color009FFF;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,2.3,0),color00a6FF;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,2,0),color00b5FF;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,1.6,0),color00c4FF;;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,1.2,0),Color00d3ff;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,0.8,0),color00e2FF;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,0.5,0),color00FFFF;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD,0,3,0),COLORFF0000;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD,0,2.7,0),COLORFF3300;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD,0,2.3,0),COLORFF5500;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD,0,2,0),COLORFF7700;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD,0,1.6,0),COLORFF9900;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD,0,1.2,0),COLORFFBB00;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD,0,0.8,0),COLORFFDD00;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD,0,0.5,0),COLORFFFF00;
STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,3,0),ColorFF00a9;
STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,2.7,0),ColorFF00a1;
STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,2.3,0),ColorFF00aa;
STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,2,0),ColorFF00bb;
STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,1.6,0),ColorFF00cc;
STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,1.2,0),ColorFF00dd;
STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,0.8,0),ColorFF00ee;
STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,0.5,0),ColorFF00ff;
/////////
b5:=SMA(BIAS1,2,1),colorgreen,LINETHICK1,LINEDOT;
b13:=SMA(BIAS2,2,1),LINETHICK0,colorred;
b34:=SMA(BIAS3,5,1),colorwhite,LINETHICK1;
m13_5:EMA(b13,5),colorwhite,LINETHICK1;
m13_10:EMA(b13,10),colorcyan,LINETHICK1;
m34_5:=EMA(b34,5),colorgreen,,LINEDOT;
m34_10:=EMA(b34,10),colormagenta,LINEDOT;
CYSm13:b13,LINETHICK0,colorbrown;
牛头:m34_5,colorgreen,,LINEDOT;
马面:m34_10,colormagenta,LINEDOT;
/////////
DRAWICON(crOSS(b13,m13_5),m13_5,12),ALIGN;
DRAWICON(CROSS(m13_5,b13),m13_5,11),ALIGN;
DRAWICON(CROSS(m13_5,m13_10) AND b13>REF(b13,1),0,3),ALIGN;
DRAWICON(CROSS(m34_5,m13_10) AND b13>REF(b13,1) ,0,1),ALIGN;
/////////////
AAA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AAA,0),5,1)/SMA(Abs(CLOSE-AAA),5,1)*1000;
HHH:=BBB-LLV(BBB,10);
SS:=(MA(HHH,2)*3+HHH*13)/16;
短线买点:=IF(SS>13,MA(SS,2),SS)/6;
短线出击:IF(CROSS(短线买点,1) AND (短线买点<30),10,0),colorwhite,LINETHICK2;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)