通达信135立桩量指标公式
成交量:V/1000,VOLSTICK;
MV5:=MA(成交量,5);
MV135:MA(成交量,135),COLORMAGENTA,LINETHICK2;
月量:"VOL.VOLUME#MONTH"/10000 COLORLIGREEN;
{黄色立柱量}
V2:=IF(CURRBARSCOUNT=1,VOL*240/MINUTE/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
STICKLINE(V2>=1,0,成交量*0.7,3,0),COLORYELLOW;
{绿色背离量}
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(C,21);
顶背离:=CROSS(88,RSI);
底背离:=CROSS(FF,MA15);
STICKLINE(顶背离,成交量*0.8,成交量,2.5,0),COLORGREEN;
{红色奔牛}
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
VAR4:=EMA(VAR3,5);
VAR5:=3*VAR3-2*VAR4;
牛:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;
STICKLINE(牛,0,成交量,2,0),COLORRED;
DRAWTEXT(牛,成交量*1.0,'牛'),COLORYELLOW;
{蓝色突破量}
VARB1:=HHV(HIGH,19);
VARB2:=LLV(LOW,19);
阻力线:=EMA((CLOSE-VARB2)/(VARB1-VARB2),21)-0.5;
操作线:=EMA((CLOSE-VARB2)/(VARB1-VARB2),5)-0.5;
突破:=CROSS(操作线,阻力线) AND 阻力线<0.1;
破位:=CROSS(阻力线,操作线) AND 阻力线>0.25;
STICKLINE(突破,0,成交量*0.5,1,0),COLORBLUE;
DRAWTEXT(突破,成交量*1.0,'↙突'),COLORLIMAGENTA;
DRAWICON(突破,成交量*1.0,1);
DRAWICON(破位,成交量*1.0,2);
{换手率}
日换%:VOL/CAPITAL*100,POINTDOT,COLORMAGENTA,NODRAW;
十换%:SUM(日换%,10),COLORRED,LINETHICK1,NODRAW;
三十换%:SUM(日换%,30),COLORGREEN,LINETHICK1,NODRAW;
- 上一篇公式:通达信涨跌尺主图指标公式
- 下一篇公式:通达信启动蛮准指标公式