通达信新推出[预测大趋势]适合做长线者看看过去就知道未来(有图和代码)

[复制链接]
查看56 | 回复0 | 2022-7-24 07:56:11 | 显示全部楼层 |阅读模式

预测大趋势

简要说明:
 本指标运用了抛物线和椭圆方程的原理,
 当A5上穿压力线时,为第一起涨点,
 当A5上穿所有均线时,就打下了大行情的基础;
 XX:=FROMOPEN+C;
YY:=MA(C,1);
A1:=POW(XX,2)/360-POW(YY,2)/260;
A5:WMA(WMA(A1,20),5),LINETHICK2;
A6:=A5*0.9999,COLORSTICK;
A20:WMA(WMA(A5,20),5),LINETHICK2;
A60:WMA(WMA(A20,20),5),LINETHICK2;
前一日A5:IF(CURRBARSCOUNT<40,CONST(REF(A5,1)),A5),DOTLINE;
前一日A20:IF(CURRBARSCOUNT<40,CONST(REF(A20,1)),A5),DOTLINE;
前一日A60:IF(CURRBARSCOUNT<40,CONST(REF(A60,1)),A5),DOTLINE;
STICKLINE(1,HHV(A5,30),HHV(A5,30)*0.9998,0.01,0),COLORRED;
天数:=BARSSINCE(A5=HHV(A5,0));
YL:=REF(A5,1)+2.79-天数*0.01;
压力线:EMA(YL,5),COLORGREEN,LINETHICK2;

1747288057.jpg

1747288057.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则