If my indicator is based on a 5 minute chart, and trade on a 30 seconds chart I see this:
Situation: NT7 RC1: I added a 5 minute chart (barsArray=1) and a 30 seconds chart (barsArray=2)
entry is triggered based on indicator (based on the 5 minute (barsArray=1))
entry is executed on the 30 second chart (barsArray=2)
EnterLong(2,1,"Lname");
EnterShort(2,1,"Sname");
Every entry LIVE and REPLAY is 5 minutes later than in backtest.
In live trading, it makes no difference what the main chartTimePeriode is, in backtest it makes a difference (it should not)!.
(I checked entry price and they are really different)
This explains the huge difference in results between backtest and live,
and makes backtesting useless until this is fixed.
In another thread I showed another problem related to this, I copy that message here too:
QUOTE
Unfortunately, I work this way. But I can prove it to you something is wrong.
As you can see in the image,
I add 2 bartypes;
I enter long/short on barsarray == 1 (based on values of barsarray ==2)
So, the tradelogic does NOT have anything to do with the main chart.
In optimize, I ONLY optimize on dataserie, in this case from 1 to 5 minutes,
and you see the differences.... (period = 6 weeks)
from 700 to 10.000 profit
In my view all must be the same.
None of these results equal by far the replay results.
END QUOTE

Comment