redart1021
New member
Hi I'm making an indicator that highlights very low volume candlesticks. However I'd prefer to not highlight the current unfinished candle. How do I exclude this candle in my calculation? Right now the main code looks like this:
Thanks
Code:
def LoVol = volume<volume[1] and volume<volume[2] and volume<volume[3] and volume<volume[4] and volume<volume[5] and volume<volume[6] and volume<volume[7] and volume<volume[8] and volume<volume[9] and volume<volume[10];
Thanks