通达信资金动向副图指标 监控大单动向 源码附图

N:=3;
M:=6;

均价:SUM(AMOUNT,1)/SUM(V,1)/100,NODRAW;
大于均价:=(C-均价)/均价*100;
SMA5:=EMA(SMA(大于均价,3,2),N);
SMA8:=EMA(SMA(大于均价,3,2),M);
SM:=SMA((SMA(SMA5,3,1)+SMA8)/2,5,4);

{DRAWBAND(CONST(HHV(HHV(SMA5,100),90)),RGB(90,20,20),0,RGB(90,20,20));
DRAWBAND(0,RGB(20,20,90),CONST(LLV(LLV(SMA5,100),90)),RGB(20,20,90));}

{STICKLINE(1,CONST(HHV(HHV(SMA5,60)*2/3,90)),CONST(HHV(HHV(SMA5,60)*2/3,90)),1,1);
STICKLINE(1,CONST(LLV(LLV(SMA5,60)*2/3,90)),CONST(LLV(LLV(SMA5,60)*2/3,90)),1,1);}
STICKLINE(SMA5>SMA8,SMA5,SMA8,1,0),COLOR33FFDD;
STICKLINE(SMA5<SMA8,SMA5,SMA8,1,0),COLORDDDD33;
STICKLINE(SMA5>SMA8 AND 大于均价>0,SMA5,SMA8,1,0),COLORAA33DD;
STICKLINE(SMA5<SMA8 AND 大于均价<0,SMA5,SMA8,1,0),COLORFFDD33;
STICKLINE(SMA5<SMA8 AND 大于均价<0,SMA5,SMA8,1,0),COLORFFDD33;
STICKLINE(SMA5>CONST(HHV(HHV(SMA5,60)*2/3,90)),SMA5,CONST(HHV(HHV(SMA5,60)*2/3,90)),1,0),COLOR5033FF;
STICKLINE(SMA5<CONST(LLV(LLV(SMA5,60)*2/3,90)),SMA5,CONST(LLV(LLV(SMA5,60)*2/3,90)),1,0),COLOR50FF50;
SM,COLOR99FF00,LINETHICK1;
{IF(SM>=0,SM,DRAWNULL),COLORFFFFFF,LINETHICK2;}
IF(SM>=REF(SM,1),SM,DRAWNULL),COLOR2222FF,LINETHICK1;
IF(SM>=0 AND SM>0,SM,DRAWNULL),COLOR2222FF,LINETHICK1;
海5:EMA(SM,2);

AJA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量J:=IF(CLOSE>OPEN,AJA*(HIGH-LOW),IF(CLOSE<OPEN,AJA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0;
卖量J:=IF(CLOSE>OPEN,0-AJA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AJA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORCYAN;
大单动向:(买量J+卖量J)*10000/FINANCE(7),COLOR00FFFF,NODRAW;
{STICKLINE(大单动向<0,0,大单动向,2,0),COLORCYAN;
STICKLINE(大单动向<0,0,大单动向,2,0),COLORCYAN;
STICKLINE(大单动向<0,0,大单动向,2,0),COLORCYAN;
STICKLINE(大单动向<0,0,大单动向,0.5,0),COLORCYAN;
STICKLINE(大单动向>0,0,大单动向,2,0),COLORRED;
STICKLINE(大单动向>0,0,大单动向,1,0),COLORRED;
STICKLINE(大单动向>0,0,大单动向,1.5,0),COLORRED;
STICKLINE(大单动向>0,0,大单动向,0.5,0),COLORRED;};


未来函数检测结果如下:
该公式包含未来函数:FINANCE
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图