I have been writing auto trade strategies and backtesting using TDA's Strategy Desk for several months. I recently began live saved orders, their form of paper trading with autotrade formulas. I could not get live saved orders to agree with my backtesting. The formula that I want to use was very simple:
MovingAverage[MA,Close,5,0,10] > MovingAverage[MA,Close,5,0,10,1]
5=MA bar length, 10=MA bar interval of 10 minutes per bar. When true "buy". The reverse for "sell". When backtested in 10 min intervals it is not very productive, when backtested in 1 min intervals it is very very effective. In real time trading the 10 minute interval restricts the formula to 6 entry/exits per hour, because TDA functions best on data at the close of the bar. It cannot deal effectively with tick data. This is not effective for active trading because if the 10 minute delay. I would like to be able to enter/exit at trend reversals.
I would like to know if this idea would be effective when set up properly in Ninja script or if this is just bogus backtest data. I am not looking for advice on how to fix TDA's quirks, I am planning on moving away from TDA to Ninja Trader or Trade Station and would like to know how difficult or easy it would be to effectively autotrade with a setup based on the above moving average possibly combined with other confirming signals.
Thank you,
John
Comment