通達信 虛擬成交量

2017-05-06 20:31:00來源:本站整理瀏覽:308

通達信 虛擬成交量

源碼

A:=PERIOD;
 N:=IF(A=0,1,IF(A=1,5,IF(A=2,15,IF(A=3,30,IF(A=4,60,IF(A=5,240,DRAWNULL))))));
 M:=IF(N=1,IF(MOD(FROMOPEN,1)=0,1,
 MOD(FROMOPEN,1)),IF(N=5,IF(MOD(FROMOPEN,5)=0,5,
 MOD(FROMOPEN,5)),IF(N=15,IF(MOD(FROMOPEN,15)=0,15,
 MOD(FROMOPEN,15)),IF(N=30,IF(MOD(FROMOPEN,30)=0,30,
 MOD(FROMOPEN,30)),IF(N=60,IF(MOD(FROMOPEN,60)=0,60,
 MOD(FROMOPEN,60)),IF(N=240,FROMOPEN,DRAWNULL))))));
虛量:IF(CURRBARSCOUNT=1 AND A,VOL*N/M,VOL),NODRAW,COLORMAGENTA;
 STICKLINE(CURRBARSCOUNT=1 AND N,虛量,0,-1,-1),COLOR00C0C0;
總量:VOL,VOLSTICK;
 AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
買:IF(CLOSE>OPEN,AA*(HIGH-LOW),
 IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,COLORSTICK;
賣:IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),
 IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),COLORGREEN,COLORSTICK,LINETHICK2;
差額:買+賣,COLORFFFF00,NODRAW;
 MA10:=MA(VOL,10);

 通達信 虛擬成交量

股票公式欄目導航

本類熱門

相關公式

初高中全集在线视频_9久9久女女热精品视频免费观看_人人澡人一摸人人添_yy6080理论亚洲一级理论人