万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 通达信公式 > 通达信主副图指标 正文

通达信操作风险提示指标公式源码[万物公式]

admin 2024-03-04 18:30:50 通达信主副图指标 557 ℃

H1:=EMA(C,5);

H2:=EMA(H1,8);

STICKLINE((H1 <= H2),250,0,8.5,0),COLOR2B5500;

STICKLINE((H1 >= H2),250,0,8.5 ,0 ),COLOR005555;

STICKLINE((H1 <= H2),-50,0,8.5,0),COLOR2B5500;

STICKLINE((H1 >= H2),-50,0,8.5 ,0 ),COLOR005555;

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);

TFXXS:=KK+DD;

TGLD:=MOD(TFXXS,10);

TGLXS:=(TFXXS-REF(TFXXS,1))*10;

TYCFX:=TFXXS+TGLXS;

乖离系数:TGLXS,LINETHICK0,COLORGREEN;

STICKLINE(TGLXS>0,100,100+TGLXS,3,0),COLOR000088;

STICKLINE(TGLXS>0,100,100+TGLXS,2.5,0),COLOR000099;

STICKLINE(TGLXS>0,100,100+TGLXS,2,0),COLOR0000AA;

STICKLINE(TGLXS>0,100,100+TGLXS,1.5,0),COLOR0000BB;

STICKLINE(TGLXS>0,100,100+TGLXS,1.0,0),COLOR0000DD;

STICKLINE(TGLXS>0,100,100+TGLXS,0.5,0),COLOR0000FF;

STICKLINE(TGLXS< 0,100,100+TGLXS,3,0),COLOR008800;

STICKLINE(TGLXS< 0,100,100+TGLXS,2.5,0),COLOR00AA00;

STICKLINE(TGLXS< 0,100,100+TGLXS,2,0),COLOR00BB00;

STICKLINE(TGLXS< 0,100,100+TGLXS,1.5,0),COLOR00DD00;

STICKLINE(TGLXS< 0,100,100+TGLXS,1,0),COLOR00FF00;

STICKLINE(TGLXS=0 AND REF(TGLXS,1)>=0,100,100+TGLXS,8,0),COLORRED;

STICKLINE(TGLXS=0 AND REF(TGLXS,1)< 0,100,100+TGLXS,8,0),COLORGREEN;

ZLCM:=EMA(WINNER(CLOSE)*70,3);

SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);

ZSHTL:=SHCM/(ZLCM+SHCM)*100;

ZCMZL:=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);

T1:=CONST( ZCMZL>REF(ZCMZL,1) AND DKB=1);

T2:=CONST( ZCMZL>REF(ZCMZL,1) AND DKB=0);

T3:=CONST( ZCMZL=REF(ZCMZL,1));

T4:=CONST( ZCMZL< REF(ZCMZL,1) AND DKB=1);

T5:=CONST( ZCMZL< REF(ZCMZL,1) AND DKB=0);

T6:=CONST(TFXXS<=50 );

T7:=CONST(TFXXS>=160 );

T8:=CONST(TFXXS>50 AND TFXXS< 160 AND TFXXS>=REF(TFXXS,1) AND TFXXS<=100 );

T9:=CONST( TFXXS>50 AND TFXXS< 160 AND TFXXS>=REF(TFXXS,1) AND TFXXS>100);

T10:=CONST(TFXXS>50 AND TFXXS< 160 AND TFXXS< REF(TFXXS,1) AND TFXXS>100 );

T11:=CONST(TFXXS>50 AND TFXXS< 160 AND TFXXS< REF(TFXXS,1) AND TFXXS<=100 );

T12:=CONST( ZSHTL>90 );

T13:=CONST( ZZLKP>75 );

T14:=CONST(crOSS(ZCMZL,ZZLJJ) AND ZZLKP>ZZLJJ AND ZZLKP>10 AND ZZLJJ>REF(ZZLJJ,1) AND ZCMZL>REF(ZCMZL,1) );

T15:=CONST(CROSS(ZCMZL,ZZLKP) AND ZZLKP>ZZLJJ AND ZZLKP< ZSHTL AND ZZLKP>10 AND ZZLJJ>REF(ZZLJJ,1) AND ZCMZL>REF(ZCMZL,1) );

T16:=CONST( CROSS(ZCMZL,ZSHTL) AND ZSHTL>ZZLKP AND ZCMZL>REF(ZCMZL,1));

T17:=CONST( CROSS(ZCMZL,100) AND ZCMZL>REF(ZCMZL,1));

T18:=CONST(REF(ZSHTL,1)>90 AND ZSHTL< 90 );

TS1:=IF(T1=1,0+0.03,0);

TS2:=IF(T2=1,TS1+0.03,TS1);

TS3:=IF(T3=1,TS2+0.03,TS2);

TS4:=IF(T4=1,TS3+0.03,TS3);

TS5:=IF(T5=1,TS4+0.03,TS4);

TS6:=IF(T6=1,0+0.73,0);

TS7:=IF(T7=1,TS6+0.03,TS6);

TS8:=IF(T8=1,TS7+0.03,TS7);

TS9:=IF(T9=1,TS8+0.03,TS8);

TS10:=IF(T10=1,TS9+0.03,TS9);

TS11:=IF(T11=1,TS10+0.03,TS10);

TS12:=IF(T12,0+0.03,0);

TS13:=IF(T13=1,TS12+0.03,TS12);

TS14:=IF(T14=1,TS13+0.03,TS13);

TS15:=IF(T15=1,TS14+0.03,TS14);

TS16:=IF(T16=1,TS15+0.03,TS15);

TS17:=IF(T17=1,TS16+0.03,TS16);

TS18:=IF(T8=1,TS17+0.03,TS17);

DRAWTEXT_FIX(T1,0.66,TS1,0,★主力动向监控:主力增仓),COLORRED;

DRAWTEXT_FIX(T2,0.66,TS2,0,★主力动向监控:主力减仓),COLORMAGENTA;

DRAWTEXT_FIX(T3,0.66,TS3,0,★主力动向监控:多空平衡),COLORGRAY;

DRAWTEXT_FIX(T4,0.66,TS4,0,★主力动向监控:主力回补),COLORFF9933;

DRAWTEXT_FIX(T5,0.66,TS5,0,★主力动向监控:主力出逃),COLORGREEN;

DRAWTEXT_FIX(T6,0.86,TS6,0,★操作风险提示:买入风险),COLORYELLOW;

DRAWTEXT_FIX(T7,0.86,TS7,0,★操作风险提示:卖出风险),COLORCYAN;

DRAWTEXT_FIX(T8,0.86,TS8,0,★操作风险提示:追涨博弈),COLORRED;

DRAWTEXT_FIX(T9,0.86,TS9,0,★操作风险提示:稳健持股),COLORMAGENTA;

DRAWTEXT_FIX(T10,0.86,TS10,0,★操作风险提示:盘跌减仓),COLORWHITE;

DRAWTEXT_FIX(T11,0.86,TS11,0,★操作风险提示:杀跌空仓),COLORGREEN;

DRAWTEXT_FIX(T12,0.36,TS12,0,☆特别信号提示:筑底散兵坑 ),COLOR66FFCC;

DRAWTEXT_FIX(T13,0.36,TS13,0,☆特别信号提示:铸顶风险区),COLORCYAN;

DRAWTEXT_FIX(T14,0.36,TS14,0,☆特别信号提示:穿越主力 ),COLORRED;

DRAWTEXT_FIX(T15,0.36,TS15,0,☆特别信号提示:穿越主力 ),COLORYELLOW;

DRAWTEXT_FIX(T16,0.36,TS16,0,☆特别信号提示:穿越小股民 ),COLORGREEN;

DRAWTEXT_FIX(T17,0.36,TS17,0,☆特别信号提示:全盘穿越 ),COLOR3399FF;

DRAWTEXT_FIX(T18,0.36,TS18,0,☆特别信号提示:神秘黑洞 ),COLOR9966FF;

更多精彩内容,请关注公众号:实盘操手

其他说明

1、在下载过程遇到问题,请您 联系客服:QQ:2180737354  或  微信:xxs008000(常用)     备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。


2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!


⇒⇒⇒点击加入通达信指标公式交流群QQ群