实时的从文华财经上抓取数据吗

2025-04-02 18:46:08
推荐回答(1个)
回答1:

  提取"文华财经"里面"双向成交量的"(DUALVOL)的数值,可以通过指标源代码实现:

  VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
  成交:=VOL,POINTDOT;
  主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE  主动卖盘:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN- LOW)),IF(CLOSE  地量:=VOL  V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
  STICKLINE(VOL>0,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;
-