Page 1 of 1

Detecting Stock Hi/Low Cycle

Posted: Sat Jul 09, 2022 10:13 am
by jalexm
Howdy Everyone,

I am trying to catch the elusive white whale the lookback period. Has anyone had luck with a script to detect, dynamically, the change in lookback, or high/Low peak/Valley cycles of the market price action?

Looking for a good starting point, but the best I have found was the build-in ta.pivothigh() & ta.pivotlow() function.

Thanks!