What is the easiest way to code the attached at the point when LH and LL change over to become HH and HL … marked by the tip of the red arrow?
Is it possible to achieve above without restrictions on a fixed number of bars lookback?
Thank You
c1 = (high[2] > high[1] and low[2] > low[1]) and (high[1] < high and low[1] < low)
Not sure that I fully understand what it is that you are asking for though!
Thank you Vonasi.
Attached is the price action I was describing … classic short term change of trend pattern, repeats over and over (as you know). Better confirmation with a rounded bottom or a double bottom etc, but not essential.
2nd image is what happened after the entry point.
@Grahal
What is the signification of the abreviation LL / HH / HL / LH ?
is it LowLow / High High… ?
What is the difference for example between HL end LH ?
What is the difference for example between HL end LH ?
Higher Low and Lower High
An uptrend, which is a series of higher swing highs and higher lows, reverses into a downtrend by changing to a series of lower highs and lower lows. A downtrend, which is a series of lower highs and lower lows, reverses into an uptrend by changing to a series of higher highs and higher lows.
https://www.investopedia.com/terms/r/reversal.asp