通达信优化的量柱换手指标公式
通达信优化的量柱换手指标公式
源码
STICKLINE(VOL/CAPITAL*100<=3,0,3,5,0),COLOR600000;
DRAWBAND(3,RGB(10,20,150),0,RGB(0,0,0));
成交量:V,COLORWHITE,NODRAW;
换手:=VOL/CAPITAL*100,VOLSTICK;
VAR1B:EMA(CLOSE,4)-EMA(CLOSE,730)COLORYELLOW;
VAR1C:EMA(VAR1B,11);
VAR1D:(VAR1B-VAR1C)*10;
VAR1F:POW(VAR1D,3)*0.01+POW(VAR1D,2);
拉升:IF(VAR1D>0.015,VAR1F,0)/25;
STICKLINE(拉升 AND 拉升>0.05 ,拉升,0,0.1,0),COLOR00DDDD;
STICKLINE(拉升/REF(拉升,1)>2 AND 拉升>0.05,拉升,0,1,0),COLORDD00DD;
DRAWICON(拉升/REF(拉升,1)>5 AND REF(拉升,1)/REF(拉升,2)>5,0,38);
STICKLINE(换手>10,10,换手,-1,0),COLORGREEN;
百日低换手:LLV(换手,100)=换手,NODRAW,COLORLIBLUE;
DRAWICON(百日低换手,0,23);
DRAWICON(LAST(换手>REF(换手,1),2,0),换手/3,1);
MA4:=MA(换手,4),COLORLIBLUE COLORMAGENTA;
MA7:=MA(换手,7),COLORLIBLUE COLORRED;
MA21:=MA(换手,21),COLORLIBLUE COLORYELLOW;
MA44:=MA(换手,44),COLORLIBLUE COLORWHITE;
- 上一篇公式:单阳不破山人优化版(主图叠加)
- 下一篇公式:通达信\大智慧三龙吸水主图通用源码