TAG:指标

 网友求助:

求助那位老师,能合下2个指标,为一个指标,谢谢

第1个指标
LONG 26 20 100
SHORT 12 5 40
M 9 2 60
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),LINETHICK1;
DEA : EMA(DIFF,M);
MACD : 2*(DIFF-DEA), COLORSTICK,LINETHICK2;

第2个指标
个股资金线:MA(C,1)/MA(REF(C,18),18)*100,LINETHICK2,COLOR00FFFF;
资金生命线:MA(FORCAST(个股资金线,20),6),COLORMAGENTA,LINETHICK2;
 

 

 

解答如下:

DIFF : EMA(CLOSE,12) - EMA(CLOSE,26),LINETHICK1;
DEA : EMA(DIFF,9);
MACD : 2*(DIFF-DEA), COLORSTICK,LINETHICK2;
个股资金线:MA(C,1)/MA(REF(C,18),18),LINETHICK2,COLOR00FFFF;
资金生命线:MA(FORCAST(个股资金线,20),6),COLORMAGENTA,LINETHICK2;