Forums › ProRealTime English forum › ProOrder support › Candlestick Scalper 1s discussion › Reply To: Candlestick Scalper 1s discussion
04/14/2020 at 3:36 PM
#126110
to get in in sync backtest & demo, perhaps focus on trading times outside market hours with low(est) spread on dji.
I use this & spread 6
1 2 3 4 |
defparam cumulateorders = false defparam preloadbars = 10000 defparam flatbefore = 080000 defparam flatafter = 153000 |
then perhaps another code from inside market hours, this has about the same spread but market behaves different.
Most important, dont take any trade in the time range with highest spread. Stoploss & trailing stop will likely be out of sync compared to backtest.