以下是通达信大智慧量能副图公式
通达信大智慧量能副图公式
源码
VAR2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
获利盘: WINNER(CLOSE)*100;
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,9,1);
VAR5:=3*VAR3-2*VAR4;
VAR6:=VOL;
量比5: VOL/MA(VOL,5);
涨跌1: (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
角度: (CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
换手: VOL/CAPITAL*100,COLOR008FFF;
VAR7:=SUM(换手,30);
VAR8:=LLV(INDEXL,5);
VAR9:=HHV(INDEXH,5);
VARA:=EMA((INDEXC-VAR8)/(VAR9-VAR8)*100,4);
VARB:=MA(EMA(0.667*REF(VARA,1)+0.333*VARA,2),9);
VARC:=MA(VARB,30);
VARD:=EMA(获利盘,4);
本盘亿股: CAPITAL/1000000;
振幅1: (HIGH-LOW)/REF(CLOSE,1)*100;
V5: MA(VOL,5)*2,COLORF0F000;
VARE:=MA(V5,3);
V34: MA(VOL,34)*2,COLORFF00FF;
VARF:=(涨跌1>VARD AND 角度<-30 AND 涨跌1>3);
CROSS(VARB,VARC) AND VARC<29;
STICKLINE(VOL AND VAR5>VAR4,0,VOL,8,1),COLORRED;
STICKLINE(VOL AND VAR5<VAR4,0,VOL,8,1),COLOR00FF00;
STICKLINE(VOL AND VAR4<16,-10,VOL*0.5,8,0),COLORBLUE;