Let's say I want to check if the 15 minute MACD set a new high within the last 24 hours. How do I check this value or any other time frame value? Is it done with a loop over the previous 24 hours at each BarUpdate()? Any help is appreciated.
----Edit---
Figured I'd throw this in here too..if I want to leave a note at each trade during backtesting (such as, "entered based on X, exited based on Y") to interpret my chart results better, how would I do this? The chart displays "Sell/Buy at x price", so I'd like to write some text above or below that. I can't seem to find out how to do this.
Comment