DDX大单究竟有多大实战价值,始终会众说纷纭,买入力度(主动性买单合计-主动性卖单合计)又需要扩展数据,我将“丰赢数据”简化改编为丰赢资金,请股友看看有无参考价值。
衷心祝愿理想全体会员在新的一年里多多发财!!!
DZH新一代公式,需引用VOLⅡ,可用于分时和日线,免费用户也可用。
飞狐没有DYNAINFO(54)和DYNAINFO(55)函数,只能说勉强可用,我没有其他股软,不知是否可用。
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {丰赢资金}
- YD:="VOLⅡ.昨收#DAY";
- Mm:=if(c=DYNAINFO(54) and l=DYNAINFO(54),h-yd,h-ref(c,1));
- m:=if(mm>0,mm,0.0);
- Ss:=if(c=DYNAINFO(55) and h=DYNAINFO(55),yd-h,ref(c,1)-L);
- s:=if(ss>0,ss,0.0);
- hj:=m+s;
- 流入额:=m/hj*AMOUNT;
- 流出额:=s/hj*AMOUNT;
- 净额:(流入额-流出额),COLORBLACK;
- STICKLINE(净额>0,净额,0,7,0),COLORRED;
- STICKLINE(净额<0,净额,0,7,0),COLORFFFF00;
-
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {VOLⅡ}
- VOL,VOLSTICK;
- 成交:=ref(AMOUNT,3)/10000/10000;
- 前成交:=ref(AMOUNT,2)/10000/10000;
- 昨成交:=ref(AMOUNT,1)/10000/10000;
- 今成交:=AMOUNT/10000/10000;
- 昨收:ref(c,1),linethick0;
- DRAWTEXTABS(50,00 ,'今日:'+numtostrn(今成交,2)),color556677;
- DRAWTEXTABS(150 ,00 ,'昨日:'+numtostrn(昨成交,2)),color556677;
- DRAWTEXTABS(250 ,00 ,'前日:'+numtostrn(前成交,2)),color556677;
- DRAWTEXTABS(350 ,00 ,'3 日:'+numtostrn(成交,2)),color556677;
- STICKLINE(c<ref(c,1),0,v,7,0),colorCCCC00;
- STICKLINE(c>=ref(c,1),0,v,7,0),color0000CC;
- STICKLINE(v>ref(v,1)*2,ref(v,1),v,7 ,0 ),color00BBDD;
- STICKLINE(v*2<ref(v,1),0,v,7 ,0 ),color00AA00;