炒股指标

显示 收起

大智慧丰赢资金流向指标公式

大智慧丰赢资金流向指标公式:含有未来函数

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;
 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;

大智慧丰赢资金流向指标公式实例图解:

大智慧丰赢资金流向指标公式