以下是通达信抓麻雀主图指标公式(无源码的请下载附件导入)
上18H:=WMA(SMA(HHV(HIGH,18),9/2,1),3);
下18L:=WMA(SMA(LLV(LOW,18),9/2,1),3);
通道:=(上18H+下18L)/2;
DRAWBAND(上18H,RGB(118,0,1),通道,RGB(118,0,1));
DRAWBAND(通道,RGB(3,83,83),下18L,RGB(3,83,83));
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA55:MA(CLOSE,55);
MA120:MA(CLOSE,120);
MA250:MA(CLOSE,250);
MCST:DMA(AMOUNT/(100*VOL),VOL/CAPITAL),COLORYELLOW,CIRCLEDOT,LINETHICK1;
DRAWKLINE(H,O,L,C);
MAZ:MA((H+L)/2,3),COLORRED,LINETHICK2;
72388937.jpg
|