资金流向板块指标公式源码(资金强势流入流出指标公式源码)
本文目录一览:
跪求资金流向指标计算代码 股票
同花顺,资金流向代码ZLCM:=EMA(WINNER(CLOSE)*70,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;
ZZLJJ:=EMA(ZZLKP,89);
ZJLRQD:=ZZLKP-ZZLJJ;
AA:=EMA(ZJLRQD,3);
BB:=EMA(AA,5);
CC:=AA-BB;
STICKLINE(CCREF(CC,2),CC,0,1,1), COLOR00FF00;
STICKLINE(CCREF(CC,2),CC,0,1,1), colorred;
资金进场:IF(CROSS(AA,BB),3,0),STICK,LINETHICK3,COLORFF00FF;
资金出场:IF(CROSS(BB,AA),-3,0),STICK,LINETHICK3,COLOR00FF00;
DRAWICON(资金进场0,4,1);
DRAWICON(资金出场0,-4,2);
资金净流入的指标公式
资金净流出的计算公式:流入资金-流出资金,如果是正值表示资金净流入,负值则表示资金净流出。上涨时的成交额计为流入资金,下跌时的成交额计为流出资金。
资金净流入指标公式:
买:=IF(O=C AND (C-REF(C,1))/REF(C,1)*1009.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));
买%:买/AMOUNT*100,COLORRED,NODRAW;
流入亿元:AMOUNT*买%/100亿,COLORMAGENTA,NODRAW;
流出亿元:AMOUNT/100000000-流入亿元,COLORGREEN,NODRAW;
净流亿元:流入亿元-流出亿元,COLORCYAN,NODRAW;
净流亿元5:SUM(流入亿元-流出亿元,5),COLORCYAN,NODRAW;
STICKLINE(AMOUNT,0,AMOUNT,2,1),COLORGREEN;
STICKLINE(买,0,买,2,0),COLORRED;
A:MA(买,3)COLORYELLOW;
B:MA(买,5)COLORMAGENTA。
温馨提示:以上内容仅供参考。
应答时间:2021-07-09,最新业务变化请以平安银行官网公布为准。
[平安银行我知道]想要知道更多?快来看“平安银行我知道”吧~
求高手编个指标公式;源码好像是大智慧的,改成通达信的,满意另加财富值定重谢
一楼的回答很完美,只能改到这个地步。有好多是收费软件函数,改成免费的用不了。财务函数也没必要加入
DRAWTEXT_FIX(ISLASTBAR,0.10,0,1,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.13,0,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.19,0,0,GNBLOCK),COLORYELLOW;
EMA13:EMA(C,13),COLORRED,POINTDOT,LINETHICK4;
EMA17:EMA(C,17),COLORGRAY;
EMA34:EMA(C,34),COLOR5E5E5E;
EMA156:EMA(C,156),COLORBLUE,POINTDOT,LINETHICK4;
DRAWTEXT(C-O=0 AND O/L1.05 AND L=LLV(L,30),L,'★-绝底'),COLORMAGENTA;
一日资金流入:=AMOUNT*LARGEINTRDVOL*10000;
MA1:=MA(一日资金流入,60);
一日资金流出:=-AMOUNT*LARGEOUTTRDVOL*10000;
净额:=一日资金流入+一日资金流出;
流通盘:=CAPITAL;
流入增减:=一日资金流入/MA1;
买入:=流入增减3 AND 净额200;
DRAWTEXT(买入,L*0.9,'买入');
DRAWICON(买入,L*0.95,1);
BDGD:=C=HHV(C,13);
GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),2))+1;
高点:=REF(C,GDSJ),COLORFF00FF,POINTDOT;
突破:=CROSS(C,REF(高点,1)),COLOR00FFFF,POINTDOT,LINETHICK4;
STICKLINE(GDSJ=6,高点,高点,8,0),COLORFF00FF;
DRAWTEXT(突破,LOW,'↑'),COLOR00FFFF;
BDDD:=C=LLV(C,13);
DDSJ:=BARSLAST(FILTER(CROSS(0.8,BDDD),2))+1;
低点:=REF(C,DDSJ),COLOR00FF00,POINTDOT,LINETHICK4;
STICKLINE(DDSJ=6,低点,低点,8,0),COLOR00FF00;