通达信股票指标源码 通达信精选MACD【底部 顶部 决策线】源码
2014-11-27 11:24:42 股票入门 http://rumen.southmoney.com
南方财富网带来通达信股票指标源码 通达信精选MACD【底部 顶部 决策线】源码:
底部:10;
顶部: 95;
VAR1N:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2N:=EMA(VAR1N,30);
VAR3N:=EMA(VAR2N,30);
VAR4N:=3*VAR2N-2*VAR3N;
势:EMA(VAR4N,5),COLORBLUE,LINETHICK3;
VAR5:=LLV(LOW,10);
VAR6:=HHV(HIGH,25);
DRAWTEXT(CURRBARSCOUNT=110,98,‘赵红卫’),COLORRED;
决策线:EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(80,决策线),100,‘减仓’),COLOR00FF00;
DRAWICON(CROSS(80,决策线),110,2);
STICKLINE(势》80,势,80,1,0),COLORGREEN;
STICKLINE(势《10,势,10,1,0),COLOR00FFFF;
DRAWTEXT(CROSS(10,势),-2.25,‘低吸’),COLOR000FFF;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。