I need to retrieve values in the past.
In OnBarUpdate() I get an index error. I can only recover at index 0. How can I work around this problem please? I specify that I really need to do this with a strategy because I have to check certain prices in the past to trigger a trade.
Thanks for your help
Comment