大智慧指标公式 临界点大智慧版指标公式
2015-1-21 11:09:28 股票入门 http://rumen.southmoney.com
大智慧的《临界点》指标
{大智慧的《临界点》指标}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
W1:STICKLINE(MACD》0,MACD,0,2,1),COLORRED;
W2:STICKLINE(MACD《0,MACD,0,2,0),COLORCYAN;
VA1:=HHVBARS(MACD,BARSLAST(MACD《0)+1);
VA2:=CROSS(BACKSET(CROSS(0,MACD) OR (barstatus=2 AND MACD》0),REF(VA1,1)+2),0.5);
前高:DRAWLINE(VA2,MACD,REF(VA2,1),REF(MACD,1),1),COLORWHITE;
VA3:=LLVBARS(MACD,BARSLAST(MACD》0)+1);
VA4:=CROSS(BACKSET(CROSS(MACD,0) OR (barstatus=2 AND MACD《0),REF(VA3,1)+2),0.5);
前低:DRAWLINE(VA4,MACD,REF(VA4,1),REF(MACD,1),1),COLORYELLOW;
W3:STICKLINE(MACD》0 AND MACD》前高 AND 前高》0,MACD,前高,2,0),COLORYELLOW;
W4:STICKLINE(MACD《0 AND MACD《前低 AND 前低《0,MACD,前低,2,0),COLORGREEN;
W5:DRAWTEXT(REF(VA2,1),0,‘点’),COLORWHITE;
W6:DRAWTEXT(REF(VA2,1),MACD/2,‘界’),COLORWHITE;
W7:DRAWTEXT(REF(VA2,1),MACD,‘临’),COLORWHITE;
W8:DRAWTEXT(REF(VA4,1),0,‘临’),COLORRED;
W9:DRAWTEXT(REF(VA4,1),MACD/2,‘界’),COLORRED;
W10:DRAWTEXT(REF(VA4,1),MACD,‘点’),COLORRED;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。