Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 02:01:38 +0000



Post From: Indicator Dynamic Lookback Period

[2024-04-13 17:34:15]
PS - Posts: 40
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.