文章目录:
实时的从文华财经上抓取数据吗
提取"文华财经"里面"双向成交量的"(DUALVOL)的数值,可以通过指标源代码实现:
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:=VOL,POINTDOT;
主动买盘:IF(CLOSEOPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,VAR1*((HIGH- OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
主动卖盘:IF(CLOSEOPEN,0-VAR1*((HIGH-CLOSE)+(OPEN- LOW)),IF(CLOSEOPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;
地量:=VOLLLV(VOL,14)*1.001;
V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
STICKLINE(VOL0,VOL,0,3,1),COLORWHITE;
STICKLINE(主动买盘V/2,0,V,2,0),COLORYELLOW;
STICKLINE(主动买盘=V/2,0,V,2,0),COLORLIGRAY;
STICKLINE(主动买盘0,0,主动买盘,2,0),COLORRED;
STICKLINE(主动卖盘0,0,主动卖盘,2,0),COLOR00FF00;
STICKLINE(地量0,0,VOL,1,0),COLORMAGENTA;
STICKLINE(V2=1,V,0,1,0),COLORYELLOW;
-
如何提取"文华财经"里面"双向成交量的"(DUALVOL)的数值??
双向成交量采用了文华的一个
内置函数
:SCALE实时计算的。所以是没有办法提取出来的。
文华财经 双向成交量 公式
给你一个参考,源码下面网址里有效果图,看看符合要求不.
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:=VOL,POINTDOT;
主动买盘:IF(CLOSEOPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,VAR1*((HIGH-
OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
主动卖盘:IF(CLOSEOPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-
LOW)),IF(CLOSEOPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;
地量:=VOLLLV(VOL,14)*1.001;
V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
STICKLINE(VOL0,VOL,0,3,1),COLORWHITE;
STICKLINE(主动买盘V/2,0,V,2,0),COLORYELLOW;
STICKLINE(主动买盘=V/2,0,V,2,0),COLORLIGRAY;
STICKLINE(主动买盘0,0,主动买盘,2,0),COLORRED;
STICKLINE(主动卖盘0,0,主动卖盘,2,0),COLOR00FF00;
STICKLINE(地量0,0,VOL,1,0),COLORMAGENTA;
STICKLINE(V2=1,V,0,1,0),COLORYELLOW;
时计算的。所以是没有办法提取出来的。文华财经 双向成交量 公式给你一个参考,源码下面网址里有效果图,看看符合要求不.VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));成交:=VOL,POINTDOT;主动买盘:IF(CLOSEOPEN,VAR1