虚拟换手加MACD{有图,源码}介绍
虚拟换手加MACD{有图,源码}
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),NODRAW;
DEA:EMA(DIF,MID),NODRAW;
MACD:(DIF-DEA)*2,,NODRAW;
虚拟换手:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL/CAPITAL*100*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚拟换手,0,3,-1),COLORFFFFFF;
换手:VOL/CAPITAL*100,VOLSTICK;
十日换手:SUM(换手,10),COLORFF00FF,NODRAW;
DIF0:DIF*值,COLORFFFFFF;
DEA0:DEA*值,COLOR00FFFF;
MACD0:MACD*值,COLORSTICK;
其中的值,填入参数栏中,方便随时调整数值。
gd12017