joshyattridge/smart-money-concepts

Previous Candle High/Low

joshyattridge opened this issue · 0 comments

Create a new function to get the previous candles High and low.
You will be able to pass the timeframe of the previous candle like 1m,1H,1D,1W
This function will then get the high and low of that previous candle like the previous days high and low.
The function will then return the following data:
High - the pip the high is at.
HighBreach - When the high was breached if it has.
Low - the pip the low is at.
LowBreach - When the low was breached if it has.