- UID
- 2
- 积分
- 2874604
- 威望
- 1387331 布
- 龙e币
- 1487273 刀
- 在线时间
- 13155 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-24
|
【ElliottTrend】
- [LegacyColorValue = TRUE];
- Inputs: Len(Numeric), Trigger(Numeric);
- Vars: Trend(0), Osc(0);
- Osc = ElliottWaveOsc;
- IF Osc = Highest(Osc, Len) AND Trend = 0 Then
- Trend = 1;
- IF Osc = Lowest(Osc, Len) AND Trend = 0 Then
- Trend = -1;
- IF Lowest(Osc, Len) < 0 AND Trend = -1 AND Osc > -1 * Trigger * Lowest(Osc, Len) Then
- Trend = 1;
- IF Highest(Osc, Len) > 0 AND Trend = 1 AND Osc < -1 * Trigger * Highest(Osc, Len) Then
- Trend = -1;
- ElliottTrend = Trend;
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|