通达信主导资金动向指标公式

VAR1:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,NODRAW;
主卖:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,NODRAW;
ddx:(主买+主卖)*10000/FINANCE(7),NODRAW;
资金动向:(SUM(ABS(DDX)*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1),3)),COLORGREEN,LINETHICK0;
资金动向1:=(SUM(ABS(DDX)*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1),3)),LINETHICK0;
STICKLINE(资金动向1>0,0,资金动向,2,0),COLORFF00FF;
STICKLINE(资金动向1<0,0,资金动向,2,0),COLORCYAN;
0,COLORWHITE;
0.5,COLORLIBLUE;
趋势线:EMA(EMA(C,5)-EMA(C,13),1),LINETHICK2,COLORGREEN;
IF(趋势线>REF(趋势线,1),趋势线,DRAWNULL),LINETHICK3,COLORLIRED;
M5Q:MA(趋势线,4),COLORWHITE,LINETHICK2;
M20Q:MA(趋势线,20),COLORLIGRAY,LINETHICK2;
DRAWBAND(趋势线,RGB(255,128,255),M20Q,RGB(100,0,0));
DRAWBAND(趋势线,RGB(200,10,10),M5Q,RGB(0,200,0));
RSVQ:=(((CLOSE-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5)))*100);
KQ:=SMA(RSVQ,3,1)COLORWHITE;
DQ:=SMA(KQ,3,1)COLORYELLOW;
JQ:=((3 * KQ) - (2 * DQ)),COLORFF00FF,LINETHICK4;
{}
V1:="cci";
V2:="kdj.K";
V3:="macd.DIF";
V4:="mtm";
V5:="rsi";
V6:="bias.BIAS2";
V7:="ACCER";
V8:="CYF";
V9:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/
(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
V10:="wr";
线:=IF(V1>SMA(V1,5,3),1,0)+IF(V2>SMA(V2,5,3),1,0)+IF(V3>SMA(V3,5,3),1,0)+IF(V4>SMA(V4,5,3),1,0)
+IF(V5>SMA(V5,5,3),1,0)+IF(V6>SMA(V6,5,3),1,0)+IF(V7>SMA(V7,5,3),1,0)+IF(V8>SMA(V8,5,3),1,0)+
IF(V9>SMA(V9,5,3),1,0)+IF(V10<SMA(V10,5,3),1,0);
红:=线-(10-线),COLOR0000FF,NODRAW;
{主导动能}
TTV:=(2*C+O+H+L);
动能:=TTV/EMA(TTV,4)-1;
FF:=动能*100;
能增:=(FF-REF(FF,1))*10,COLORFFFFFF,NODRAW;
红升:=红-REF(红,1),COLOR0088FF,NODRAW;
转强:=能增>=30 AND 红升>=10 AND 红>=0,COLOR00FFFF,NODRAW;
操盘线:=EMA(线,60)*10-50,COLORWHITE,LINETHICK2;
DRAWICON(crOSS(趋势线,M5Q) AND (JQ<25 OR REF(JQ<30,1) OR REF(JQ<30,2) OR REF(JQ<30,2)OR (红>=0 AND 红>操盘线))AND NOT(M5Q<REF(M5Q,5)AND M5Q>0),趋势线,1),COLORLIBLUE;



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

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

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