|
|
参数 缺省 最小 最大 步长
LONG 26 20 100 1
SHORT 12 5 40 1
M 9 2 60 1
(源码如下:引用时输入上面的参数,此句去掉)
wuhanreal:=1;
dawuhan:=(OPEN+HIGH + LOW + CLOSE)/4;
股战心情dawuhan-MA(dawuhan,9))/(0.015*AVEDEV(dawuhan,9))*wuhanreal,COLORff3399,linethick2;
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),linethick2;
DEA : EMA(DIFF,M),linethick2;
MACD : 2*(DIFF-DEA), COLORSTICK;
STICKLINE(股战心情,0,股战心情*4/5,6,0),COLOR00DDFF;
STICKLINE(股战心情,0,股战心情*3/5,6,0),COLOR0099FF;
STICKLINE(股战心情,0,股战心情*2/5,6,0),COLOR0066FF;
STICKLINE(股战心情,0,股战心情*1/5,6,0),COLOR0000FF;
STICKLINE(股战心情<0,0,股战心情,6,0),COLORCCFFCC;
STICKLINE(股战心情<0,0,股战心情*4/5,6,0),COLOR99FF99;
STICKLINE(股战心情<0,0,股战心情*3/5,6,0),COLOR66CC66;
STICKLINE(股战心情<0,0,股战心情*2/5,6,0),COLOR339933;
100,POINTDOT,COLORyellow;
200,COLORRED;
-100,POINTDOT,COLORyellow;
-200,COLORRED; |
|
|