通达信【资金动向】副图指标 顺势而为 做到与主力站在统一阵营 源码

RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

K1:=SMA(RSV,10,1);
D1:=SMA(K1,5,1);
KK:=INTPART(K1);
DD:=INTPART(D1);
资金:=KK+DD;
TGLD:=MOD(资金,10);
动向:=(资金-REF(资金,1))*10;
TYCFX:=资金+动向;
主力:动向>0 COLORRED NODRAW;
散户:动向<0 COLORGREEN NODRAW;

ZLCM:=EMA(WINNER(CLOSE)*70,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZSHTL:=SHCM/(ZLCM+SHCM)*100;
资金动向:=MA(ZLCM+SHCM,13);
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;
DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0);
ZZLJJ:=EMA(ZZLKP,89);
ACB:=CONST( 资金动向>REF(资金动向,1) AND DKB=1);
T2:=CONST( 资金动向>REF(资金动向,1) AND DKB=0);
T3:=CONST( 资金动向=REF(资金动向,1));
T4:=CONST( 资金动向<REF(资金动向,1) AND DKB=1);
T5:=CONST( 资金动向<REF(资金动向,1) AND DKB=0);
T6:=CONST(资金<=50 );
T7:=CONST(资金>=160 );

T8:=CONST(资金>50 AND 资金<160 AND 资金>=REF(资金,1) AND 资金<=100 );
T9:=CONST( 资金>50 AND 资金<160 AND 资金>=REF(资金,1) AND 资金>100);
ACB0:=CONST(资金>50 AND 资金<160 AND 资金<REF(资金,1) AND 资金>100 );
ACB1:=CONST(资金>50 AND 资金<160 AND 资金<REF(资金,1) AND 资金<=100 );
ACB2:=CONST( ZSHTL>90 );
ACB3:=CONST( ZZLKP>75 );
ACB4:=CONST(CROSS(资金动向,ZZLJJ) AND ZZLKP>ZZLJJ AND ZZLKP>10 AND ZZLJJ>REF(ZZLJJ,1) AND 资金动向>REF(资金动向,1) );
ACB5:=CONST(CROSS(资金动向,ZZLKP) AND ZZLKP>ZZLJJ AND ZZLKP<ZSHTL AND ZZLKP>10 AND ZZLJJ>REF(ZZLJJ,1) AND 资金动向>REF(资金动向,1) );
ACB6:=CONST( CROSS(资金动向,ZSHTL) AND ZSHTL>ZZLKP AND 资金动向>REF(资金动向,1));
ACB7:=CONST( CROSS(资金动向,100) AND 资金动向>REF(资金动向,1));
ACB8:=CONST(REF(ZSHTL,1)>90 AND ZSHTL<90 );
ABC1:=IF(ACB=1,0+0.03,0);
ABC2:=IF(T2=1,ABC1+0.03,ABC1);
ABC3:=IF(T3=1,ABC2+0.03,ABC2);
ABC4:=IF(T4=1,ABC3+0.03,ABC3);
ABC5:=IF(T5=1,ABC4+0.03,ABC4);
ABC6:=IF(T6=1,0+0.73,0);
ABC7:=IF(T7=1,ABC6+0.03,ABC6);
ABC8:=IF(T8=1,ABC7+0.03,ABC7);
ABC9:=IF(T9=1,ABC8+0.03,ABC8);
ABC10:=IF(ACB0=1,ABC9+0.03,ABC9);
ABC11:=IF(ACB1=1,ABC10+0.03,ABC10);
ABC12:=IF(ACB2,0+0.03,0);

ABC13:=IF(ACB3=1,ABC12+0.03,ABC12);
ABC14:=IF(ACB4=1,ABC13+0.03,ABC13);
ABC15:=IF(ACB5=1,ABC14+0.03,ABC14);
ABC16:=IF(ACB6=1,ABC15+0.03,ABC15);
ABC17:=IF(ACB7=1,ABC16+0.03,ABC16);
ABC18:=IF(T8=1,ABC17+0.03,ABC17);
A1:=EMA(C,12)-EMA(C,25),NODRAW;
A2:=EMA(A1,6),NODRAW;

STICKLINE(A2>=0,100,100+动向,3.2,0),COLORAAAAAA;
STICKLINE(A2<0,100,100+动向,3.2,0),COLORFF5500;
STICKLINE(A2<0,100,100+动向,2.9,0),COLORYELLOW;
STICKLINE(A2<0,100,100+动向,2.4,0),COLORYELLOW;
STICKLINE(A2<0,100,100+动向,1.8,0),COLORYELLOW;
STICKLINE(A2<0,100,100+动向,1.1,0),COLORYELLOW;
STICKLINE(A2<0,100,100+动向,0.3,0),COLORYELLOW;
STICKLINE(A1<0,100,100+动向,3.2,0),COLORCC0066;
STICKLINE(A1<0,100,100+动向,2.9,0),COLOREE0066;
STICKLINE(A1<0,100,100+动向,1.8,0),COLORFF2266;
STICKLINE(A1<0,100,100+动向,1.1,0),COLORFF4466;
STICKLINE(A1<0,100,100+动向,0.3,0),COLORFF6666;
STICKLINE(A1>=0,100,100+动向,3.2,0),COLOR000055;
STICKLINE(A1>=0,100,100+动向,2.9,0),COLOR000077;
STICKLINE(A1>=0,100,100+动向,2.4,0),COLOR000099;
STICKLINE(A1>=0,100,100+动向,1.8,0),COLOR0000BB;
STICKLINE(A1>=0,100,100+动向,1.1,0),COLOR0000DD;
STICKLINE(A1>=0,100,100+动向,0.3,0),COLOR0000FF;

HH:=BARSLASTCOUNT(动向>0)=1;
STICKLINE(动向>0,100,100+动向,1,0),COLOR0000EE;
STICKLINE(动向>0,100,100+动向,1,0),COLOR0000FF;
STICKLINE(动向<0,100,100+动向,1,0),COLOR00FF00;
STICKLINE(动向=0 AND REF(动向,1)>=0,100,100+动向,8,0),COLORRED;
STICKLINE(动向=0 AND REF(动向,1)<0,100,100+动向,8,0),COLORGREEN;
DRAWICON(HH,100,9);



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

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

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