加一条趋势线,看看。
{MACD自 SHORT LONG MID 2,198,12、26、9}
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),COLOR8000FF;
DEA:EMA(DIF,MID);
量柱:(DIF-DEA)*2,LINETHICK3,COLORSTICK;
趋势:DIF-DEA,COLOR00FF00;
{DRAWICON(CROSS(趋势,0),1,1);}
换手:IF((SETCODE==0||SETCODE==1),100*VOL,VOL)/(FINANCE(7)/100),COLOR0000FF,NODRAW;
{MAHSL:MA(HSL,N),NODRAW;}
天数:BARSSINCE(CLOSE>0)+1,NODRAW;
时虚拟:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL/FROMOPEN*240,DRAWNULL),NODRAW;
虚拟量:=IF(CURRBARSCOUNT>1,VOL,时虚拟);
即时量比:虚拟量/REF(MA(虚拟量,5),1),COLORYELLOW,NODRAW;
DRAWTEXT_FIX(1,0.02,0.05,0,'仨红柱介入'),COLORFFFF80;
{SHORT=2,188,12;LONG=2,198,26;MID=2,198,9}
上一篇:资金源码 下一篇:通达信金窗共振指标源码副图