- UID
- 2
- 积分
- 2893067
- 威望
- 1396565 布
- 龙e币
- 1496502 刀
- 在线时间
- 13326 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-12-26
|
【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;
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|