以下是大智慧VOL方向指标公式

VOL,VOLSTICK;
 MA1:MA(VOL,M1),COLORyellow,LINETHICK2;
 MA2:MA(VOL,M2),COLORred,LINETHICK2;
虚拟量:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17) *REF(MA(VOL,5),1)),0);
 STICKLINE(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VOL,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),7,-21),COLOR00C0C0,DOTLINE,LAYER7;
 VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
卖盘:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),COLOR00FF00,POINTDOT;
个股差:(买盘-卖盘)/100;
大盘差:个股差/1000;
 VAR22:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
 VAR33:=SMA(VAR22,3,1);
 VAR44:=SMA(VAR33,9,1);
 STICKLINE(VOL AND VAR33>VAR44,0,VOL,7,1),COLORRED;
 STICKLINE(VOL AND VAR33<=VAR44,0,VOL,7,1),COLORCYAN;
 STICKLINE(买盘>0,0,买盘,6,0),COLORRED;
 STICKLINE(卖盘>0,0,卖盘,5.5,0),COLOR00FF00;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。