同花顺分级买卖分时指标公式

[复制链接]
查看265 | 回复0 | 2021-8-20 23:23:33 | 显示全部楼层 |阅读模式

aa:=SUM(IF(((NEWVOL*NEW<50000OR NEWVOL<10000) AND NEW>NEW[1]),NEWVOL*NEW,0),0);
bb:=SUM(IF(((NEWVOL*NEW<50000OR NEWVOL<10000) AND NEW<NEW[1]),NEWVOL*NEW,0),0);
散户:=MA(aa-bb,10),colorffcc00;
cc:=SUM(IF(((NEWVOL*NEW>=50000 AND NEWVOL*NEW<300000OR NEWVOL>=10000AND NEWVOL<60000) AND NEW>NEW[1]),NEWVOL*NEW,0),0);
dd:=SUM(IF(((NEWVOL*NEW>=50000 AND NEWVOL*NEW<300000OR NEWVOL>=10000AND NEWVOL<60000) AND NEW<NEW[1]),NEWVOL*NEW,0),0);
中户:=MA(cc-dd,3),Color00eeff;
ee:=SUM(IF(((NEWVOL*NEW>=300000 AND NEWVOL*NEW<1000000OR NEWVOL>=60000AND NEWVOL<200000OR NEWVOL>SHGZG/1000) AND NEW>NEW[1]),NEWVOL*NEW,0),0);
ff:=SUM(IF(((NEWVOL*NEW>=300000 AND NEWVOL*NEW<1000000OR NEWVOL>=60000AND NEWVOL<200000OR NEWVOL>SHGZG/1000) AND NEW<NEW[1]),NEWVOL*NEW,0),0);
大户:MA(ee-ff,3),color0033ff;
gg:=SUM(IF((NEWVOL*NEW>=1000000OR NEWVOL>=200000 AND NEW>NEW[1]),NEWVOL*NEW,0),0);
hh:=SUM(IF((NEWVOL*NEW>=1000000OR NEWVOL>=200000 AND NEW<NEW[1]),NEWVOL*NEW,0),0);
机构:gg-hh,Color8800EE;
FILLRGN(0,机构,机构>0,color000066);
FILLRGN(0,机构,机构<0,color003300);
STICKLINE(NEWVOL*NEW>=1000000OR NEWVOL>=200000 AND NEW>NEW[1],NEWVOL*NEW,0,2,0),colorred;
STICKLINE(NEWVOL*NEW>=1000000OR NEWVOL>=200000 AND NEW<NEW[1],-NEWVOL*NEW,0,2,0),colorgreen;
ZZ:0,Colorffdddd;

202108202254.jpg

202108202254.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则