趋势线---(副图 源码)

[复制链接]
查看30 | 回复0 | 2022-7-11 13:01:52 | 显示全部楼层 |阅读模式
趋势线---源码
含有“BACKSET”未来函数,仅供参考!!!
  DI:=EMA(CLOSE,12)-EMA(CLOSE,26);
DC:=EMA(DI,240);
D1:=EMA(DI,5);E1:=DI-DC;F1:=ABS(E1);
D2:=EMA(DI,10);E2:=D1-DC;F2:=ABS(E2);
D3:=EMA(DI,20);E3:=D2-DC;F3:=ABS(E3);
D4:=EMA(DI,30);E4:=D3-DC;F4:=ABS(E4);
D5:=EMA(DI,45);E5:=D4-DC;F5:=ABS(E5);
D6:=EMA(DI,60);E6:=D5-DC;F6:=ABS(E6);
D7:=EMA(DI,90);E7:=D6-DC;F7:=ABS(E7);
D8:=EMA(DI,100);E8:=D7-DC;F8:=ABS(E8);
D9:=EMA(DI,120);E9:=D8-DC;F9:=ABS(E9);
D0:=EMA(DI,150);E0:=D9-DC;F0:=ABS(E0);
DA:=EMA(DI,180);EA:=D0-DC;FA:=ABS(EA);
DB:=EMA(DI,200);EB:=DA-DC;FB:=ABS(EB);
                EC:=DB-DC;FC:=ABS(EC); FX:E1+E2+E3+E4+E5+E6+E7+E8+E9+E0+EA+EB+EC,COLORYELLOW,LINETHICK2;
JS:F1+F2+F3+F4+F5+F6+F7+F8+F9+F0+FA+FB+FC,COLORMAGENTA,LINETHICK2;
IF(BACKSET(JS<REF(JS,1),1),JS,DRAWNULL),COLORGREEN,LINETHICK2;
IF(BACKSET(FX>=REF(FX,1),1),FX,DRAWNULL),COLORRED,LINETHICK2;
0;
1.5;
 

201061911219868.png

201061911219868.png

2010619112949219.rar

2.88 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

2010619112949219.rar

回复

使用道具 举报

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

本版积分规则