通达信当天资金流向指标公式

2024-04-04 09:00发布

现手买:=BUY*DYNAINFO(7)*100/10000;现手卖:=SELL*DYNAINFO(7)*100/10000;合:=A(现手买)+ABS(现手卖);差:=ABS(现手买)-ABS(现手卖);XM1:=ABS(现手买)/合*100;XM2:=ABS(现手卖)/合*100;DRAECTREL(520,900,970,550,RGB(255,255,255)); {图表底色-白}DRAWRECTREL(570,900,570+350*XM2/100,550,RGB(0,255,65)); {图表分隔-绿}DRAWRECTREL(570+350*XM2/100,900,920,550,RGB(255,0,0)); {图表分隔-红}DRAWTEXT_FIX(1,0.85,0.11,0,STRCAT(STRCAT('买 ',CON2STR(现手买,1)),'万')),COLORRED;DRAWTEXT_FIX(1,0.57,0.11,0,STRCAT(STRCAT('卖 ',CON2STR(现手卖,1)),'万')),COLORGREEN;DRAWTEXT_FIX(CURR
 解锁全文需 1  财富值,免费注册即送20财富值!