Support Board
Date/Time: Sun, 14 Sep 2025 07:06:24 +0000
Post From: Indicator Dynamic Lookback Period
[2024-04-13 17:34:15] |
PS - Posts: 42 |
Hello, I'd like to have an existing indicators' lookback period change based on certain conditions. For example, I want to plot the linear regressive slope indicator, but have its period vary. I want to write a separate indicator that marks swing highs and swing lows. I then want the linear regressive slope indicators lookback to start from the most recent swing high / low and go til the current bar. How might I go about this? TIA for your gracious assistance. |