Adaptive moving average whose length is determined by each bar in the dominantCycleSeries data loaded length.
The Instantaneous Trendline was created by John Ehlers (Rocket Science For Traders pgs 109-110) and this indicator is perfect for determining the medium to long term trend. Buy when the indicator line is green and sell when it is red. I will be introducing a different version of this indicator which is perfect for short term trends so these will pair great together.
| Syntax: | 
|---|
| InstantaneousTrendLine(series, dominantCycleSeries) | 
| Parameter: | Description: | 
|---|---|
| series | The input series to be averaged | 
| dominantCycleSeries | Previous calculated series corresponding to the result of the dominant cycle basic indicator. 
 See basic indicator - Dominant Cycle documentation for more information. | 
| Returns: | 
|---|
| Adaptive moving average of the input series. | 
| Example: | 
|---|
| 
 | 
| Links: | 
|---|
| 
 | 
| See Also: | 
|---|
| 
 | 
| Edit Time: 3/21/2022 1:56:22 PM | Topic ID#: 385 |