I played a bit with the "Closes" concept and it works well when I use it like you suggested, ie:
Closes[1][0]
With the MACD however, the expression MACD(12, 26, 9)[1][0] <0 produces the following error message:
Cannot apply indexing with [] to an expression of type 'method group'
I understand the error message, but I don't know why it appears in this case because I use the same MACD expression in my single-timeframe code a lot without any problems.
Any pointer as to what I'm missing would be greatly appreciated.
Thanks

Comment