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

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

通达信趋势量化线指标公式[万物公式]

admin 2024-05-14 20:44:12 通达信主副图指标 664 ℃

SHORT_L1:=5;

SHORT_L2:=20;

SHORT_L3:=15;

LONG_L1:=20;

LONG_L2:=10;

A1_T3:=1;

A:=EMA(CLOSE, SHORT_L1) - EMA(CLOSE, SHORT_L2);

LC:=REF(A,1);

rsi4:=SMA(MAX(A-LC,0),SHORT_L3,1)/SMA(Abs(A-LC),SHORT_L3,1)*100;

B:=EMA(CLOSE, LONG_L1);

LCB:=REF(B,1);

RSI2:=SMA(MAX(B-LCB,0),LONG_L2,1)/SMA(ABS(B-LCB),LONG_L2,1)*100;

SHORT_TERM:=RSI4 - 50;

LONG_TERM:=RSI2 - 50;

STICKLINE(LONG_TERM > 0 AND LONG_TERM > REF(LONG_TERM,1), 0, LONG_TERM, 0, -1), COLORLIRED;

STICKLINE(LONG_TERM > 0 AND LONG_TERM < REF(LONG_TERM,1), 0, LONG_TERM, 0, -1), COLORBLUE;

STICKLINE(LONG_TERM <= 0 AND LONG_TERM > REF(LONG_TERM,1), 0, LONG_TERM, 0, -1), COLORRED;

STICKLINE(LONG_TERM <= 0 AND LONG_TERM < REF(LONG_TERM,1), 0, LONG_TERM, 0, -1), COLORWHITE;

STICKLINE(SHORT_TERM > 0, SHORT_TERM, 0, 1, 0),COLOR000099 ;

STICKLINE(SHORT_TERM <= 0, SHORT_TERM, 0, 1, 0),COLOR005E00;

STICKLINE(SHORT_TERM > 0 AND SHORT_TERM>REF(SHORT_TERM,1), SHORT_TERM, 0, 1, 0),COLORRED ;

STICKLINE(SHORT_TERM <= 0 AND SHORT_TERM>REF(SHORT_TERM,1), SHORT_TERM, 0, 1, 0), COLOR00B000;

MA_SHORT:-A1_T3*A1_T3*A1_T3*EMA(EMA(EMA(EMA(EMA(EMA(SHORT_TERM,5),5),5),5),5),5)+(3*A1_T3*A1_T3+3*A1_T3*A1_T3*A1_T3)*EMA(EMA(EMA(EMA(EMA(SHORT_TERM,5),5),5),5),5)+(-6*A1_T3*A1_T3-3*A1_T3-3*A1_T3*A1_T3*A1_T3)*EMA(EMA(EMA(EMA(SHORT_TERM,5),5),5),5)+(1+3*A1_T3+A1_T3*A1_T3*A1_T3+3*A1_T3*A1_T3)*EMA(EMA(EMA(SHORT_TERM,5),5),5),LINETHICK3,COLORRED;

IF(MA_SHORT<=REF(MA_SHORT,1),MA_SHORT,DRAWNULL),LINETHICK3,COLORBLUE;

李津1:=MA_SHORT>REF(MA_SHORT,1) AND REF(MA_SHORT,1)>REF(MA_SHORT,2);

李津2:=MA_SHORT

李津3:=TFILTER(李津1,李津2,1);

李津4:=TFILTER(李津3,李津2,2);

DRAWICON(李津3, MA_SHORT, 34);

DRAWICON(李津4, MA_SHORT, 35);

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

其他说明

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


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


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