Login Page - Create Account

Support Board


Date/Time: Sat, 17 May 2025 23:13:51 +0000



Post From: Indicator Dynamic Lookback Period

[2024-04-16 15:49:03]
ForgivingComputers.com - Posts: 1058
The Linear Regressive Slope study uses only the length and what it is based on (OHLC, etc). The length could be modified programmatically, however I am not sure how that applies to the previous swing high and swing low.

Are you saying the length is equal to the number of bars since the further of the latest swing high and the swing low?

For example:
1. Swing High at Bar 150
2. Swing Low at Bar 175
3. Current Bar is 200

Period for LR Slope = Max(200-150, 200-175) = 50