I'm looking for a couple of clarifications on a strategy I have developed:
1. My original strategy works fine in backtesting and on historical data, but struggles in a live environment (sim or real trades). The strategy was run on bar close. As I am using Gomi's volume ladder, I have assumed it is something to do with the data not registering in time for when the strategy fires on bar close. Therefore I have adjusted the whole strategy to fire on the start of the next bar (i.e. everything now looks back a bar, and calculate on bar close is set to false). I don't expect you to have in-depth knowledge of the third party indicator, but I wondered if you could comment on my approach from a general perspective? Is there a better way to tell the strategy to fire after all data is "known"?
2. The strategy also uses MacD values, therefore I have loaded 8 days worth of historical data into the chart to ensure minimal divergences caused by using indicators calculating averages. Will the strategy take these values into account when running live or will it only calculate from the beginning of that day?
(Running on the sim account seemed to work correct, but the day I changed to the live account, it seemed to run with errors. After spending some time narrowing them down, they appear to be related to which data is used to calculate the MacD. Live appears to have only taken that day's data into account instead of the previous historical data that was loaded into the chart. Is there a setting or something I am missing somewhere?)
Many thanks in advance
Comment