if the next lower bar is 100,000 bars back, is there a faster way than this to get the bar number?
//--- starting with last closed bar, find next lower low
sorry, thanks for the reply, that was typo. i fixed it. could you please check again?
Brian, please do not modify the code in the first post. It makes WHRoeder's reply seem nonsense because we don't realise that you have edited the code.
If you change the code, put it in a new post.
Keith Watford: OK I will remember this from now on
whroeder1 Big thanks sir.