Forums › ProRealTime English forum › ProOrder support › Lowest low in 'x' previous bars › Reply To: Lowest low in 'x' previous bars
12/23/2017 at 12:53 PM
#56424
lowest[4](low) would take the lowest of current candle and previous 3 candles, if what you want is lowest low of previous 4 candles not including current one, as per your first post bullish = (Close > Low[1]) OR (Close > Low[2]) OR (Close > Low[3]) OR (Close > Low[4]), then the faster equivalent way to code this is by taking previous candle’s lowest of 4:
1 |
bullish = close>lowest[4](low)[1] |