- UID
- 2
- 积分
- 2892887
- 威望
- 1396475 布
- 龙e币
- 1496412 刀
- 在线时间
- 13326 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-12-26
|
公式源码:(通信达把IFELSE改成IF就可以了)
- M1:=4;M2:=6;M3:=9;M4:=13;M5:=18;M6:=24;
- PBX1:=(EMA(CLOSE,M1)+MA(CLOSE,M1*2)+MA(CLOSE,M1*4))/3;
- PBX2:=(EMA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2*4))/3;
- PBX3:=(EMA(CLOSE,M3)+MA(CLOSE,M3*2)+MA(CLOSE,M3*4))/3;
- PBX4:=(EMA(CLOSE,M4)+MA(CLOSE,M4*2)+MA(CLOSE,M4*4))/3;
- PBX5:=(EMA(CLOSE,M5)+MA(CLOSE,M5*2)+MA(CLOSE,M5*4))/3;
- PBX6:=(EMA(CLOSE,M6)+MA(CLOSE,M6*2)+MA(CLOSE,M6*4))/3;
- AAA:=MAX(MAX(MAX(MAX(MAX(PBX1,PBX2),PBX3),PBX4),PBX5),PBX6);
- SY:IFELSE(CLOSE>AAA AND ISDOWN,85,100),RGB(0,240,0);//上远离收阴
- BBB:=MIN(MIN(MIN(MIN(MIN(PBX1,PBX2),PBX3),PBX4),PBX5),PBX6);
- SY1:IFELSE(CLOSE<BBB AND ISUP,25,0),COLORRED;//下远离收阳
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|