大智慧指标公式 大智慧立体MACD指标公式
2015-2-2 10:46:33 股票入门 http://rumen.southmoney.com
{input:long(26,20,100),short(12,5,40),m(9,2,60)}
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),color0066ff,LINETHICK2;
DEA : EMA(DIFF,M),COLOR00BB00,LINETHICK2;
MACD : 2*(DIFF-DEA), COLORSTICK,LINETHICK0;
STICKLINE(MACD《REF(MACD,1)AND MACD》0,0,MACD,8,0 ),COLOR003333;
STICKLINE(MACD《REF(MACD,1)AND MACD》0,0,MACD,7,0 ),COLOR004444;
STICKLINE(MACD《REF(MACD,1)AND MACD》0,0,MACD,6,0 ),COLOR005555;
STICKLINE(MACD《REF(MACD,1)AND MACD》0,0,MACD,5,0 ),COLOR007777;
STICKLINE(MACD《REF(MACD,1)AND MACD》0,0,MACD,4,0 ),COLOR009999;
STICKLINE(MACD《REF(MACD,1)AND MACD》0,0,MACD,3,0 ),COLOR00BBBB;
STICKLINE(MACD《REF(MACD,1)AND MACD》0,0,MACD,2,0 ),COLOR00DDDD;
STICKLINE(MACD《REF(MACD,1)AND MACD》0,0,MACD,1,0 ),COLOR00FFFF;
STICKLINE(MACD》=REF(MACD,1)AND MACD》0,0,MACD,8 ,0 ),COLOR000033;
STICKLINE(MACD》=REF(MACD,1)AND MACD》0,0,MACD,7 ,0 ),COLOR000044;
STICKLINE(MACD》=REF(MACD,1)AND MACD》0,0,MACD,6 ,0 ),COLOR000055;
STICKLINE(MACD》=REF(MACD,1)AND MACD》0,0,MACD,5 ,0 ),COLOR000077;
STICKLINE(MACD》=REF(MACD,1)AND MACD》0,0,MACD,4 ,0 ),COLOR000099;
STICKLINE(MACD》=REF(MACD,1)AND MACD》0,0,MACD,3 ,0 ),COLOR0000BB;
STICKLINE(MACD》=REF(MACD,1)AND MACD》0,0,MACD,2 ,0 ),COLOR0000DD;
STICKLINE(MACD》=REF(MACD,1)AND MACD》0,0,MACD,1 ,0 ),COLOR0000FF;
STICKLINE(MACD》REF(MACD,1)AND MACD《0,0,MACD,8,0 ),COLOR333333;
STICKLINE(MACD》REF(MACD,1)AND MACD《0,0,MACD,7,0 ),COLOR444444;
STICKLINE(MACD》REF(MACD,1)AND MACD《0,0,MACD,6,0 ),COLOR555555;
STICKLINE(MACD》REF(MACD,1)AND MACD《0,0,MACD,5,0 ),COLOR777777;
STICKLINE(MACD》REF(MACD,1)AND MACD《0,0,MACD,4,0 ),COLOR999999;
STICKLINE(MACD》REF(MACD,1)AND MACD《0,0,MACD,3,0 ),COLORBBBBBB;
STICKLINE(MACD》REF(MACD,1)AND MACD《0,0,MACD,2,0 ),COLORDDDDDD;
STICKLINE(MACD》REF(MACD,1)AND MACD《0,0,MACD,1,0 ),COLORFFFFFF;
STICKLINE(MACD《=REF(MACD,1)AND MACD《0,0,MACD,8,0 ),COLOR333300;
STICKLINE(MACD《=REF(MACD,1)AND MACD《0,0,MACD,7,0 ),COLOR444400;
STICKLINE(MACD《=REF(MACD,1)AND MACD《0,0,MACD,6,0 ),COLOR555500;
STICKLINE(MACD《=REF(MACD,1)AND MACD《0,0,MACD,5,0 ),COLOR777700;
STICKLINE(MACD《=REF(MACD,1)AND MACD《0,0,MACD,4,0 ),COLOR999900;
STICKLINE(MACD《=REF(MACD,1)AND MACD《0,0,MACD,3,0 ),COLORBBBB00;
STICKLINE(MACD《=REF(MACD,1)AND MACD《0,0,MACD,2,0 ),COLORDDDD00;
STICKLINE(MACD《=REF(MACD,1)AND MACD《0,0,MACD,1,0 ),COLORFFFF00;
T1:=DIFF《0 and cross(diff,dea);
T2:=count(t1,7)=2;
B:t1 and t2,linethick0;
DRAWTEXT(B,-0.02 ,‘B’ ),colorFFFFFF,LINETHICK2;
STICKLINE(B,0,macd,7,0),LINETHICK3,colorFFFFFF;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19)+100;
B:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100;
count(cross(b,a),20)=2 and cross(b,a),LINETHICK2, ColorFFFF00;
cross(“kdj.j”,0),LINETHICK2;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。