流入:SUM(IF(C REF(C,1),C*V,0),FROMOPEN),STICK,COLORRED;
资金流出:-SUM(IF(C REF(C,1),C*V,0),FROMOPEN),STICK,COLOR00FF00;
资金差:资金流入+资金流出,COLORYELLOW;
量:=SUM(V,FROMOPEN);
现:=100*(C-REF(C,1))/REF(C,1);
大买:=SUM(IF(现 0ANDV =500,V,0),FROMOPEN);
大卖:=SUM(IF(现 0ANDV =500,V,0),FROMOPEN);
B1:=大买/量*100;
B2:=大卖/量*100;
DRAwrECTREL(600,CONst(100-B1)*1000/100,620,1000,RGB(255,0,0))COLOR000000;
DRAWRECTREL(625,CONST(100-B2)*1000/100,645,1000,RGB(0,255,0))COLOR000000;
DRAWTEXT_FIX(PERIOD=0,0,8,0,STRCAT(STRCAT('【大买】',CON2STR(B1,2)),'%')),COLOR0000FF;
DRAWTEXT_FIX(PERIOD=0,0.2,8,0,STRCAT(STRCAT('【大卖】',CON2STR(B2,2)),'%')),COLOR00FF00;
小买:=SUM(IF(现 0ANDV 500,V,0),FROMOPEN);
小卖:=SUM(IF(现 0ANDV 500,V,0),FROMOPEN);
B3:=小买/量*100;
B4:=小卖/量*100;
DRAWRECTREL(650,CONST(100-B3)*1000/100,670,1000,90);
DRAWRECTREL(675,CONST(100-B4)*1000/100,695,1000,RGB(0,255,0));
DRAWTEXT_FIX(PERIOD=0,0.6,8,0,STRCAT(STRCAT('【小买】',CON2STR(B3,2)),'%')),COLOR0000FF;
DRAWTEXT_FIX(PERIOD=0,0.8,8,0,STRCAT(STRCAT('【小卖】',CON2STR(B4,2)),'%')),COLOR00FF00;
公式解读:
今天的分享就到这里啦,大家感觉怎么样呢?有什么意见建议的朋友欢迎在下方评论区写下你的看法,我们共同学习进步,还请大家多多关注支持哦!!敬请期待明天的分享!
九毛八公式指标,一个优质的公式指标平台!
九毛八公式指标 »
通达信分时高抛低吸指标公式
加入收藏