Hi,
I red a lot about difference backtesting vs live trading. Most threads talk about bad backtesting software in metatrader. After good backtesting I try now to get my expert to work live, but it seems to get different input than shown in the chart. Results live and later same period backtested are absolutely different.
P.e., my expert should open a trade after a gap, code looks like this:
if ((Open[1]>High [2])&& (Close [1]>High [2])&& (Low [1]>= High [2]))
{
res=OrderSend(Symbol(),OP_BUY ...
We had a gap in EURUSD H1 2009 1.14. 01:00 in the chart, but the expert didn't order - later it did & I don't know why ...
Do the Highs, Lows etc. which the expert 'sees' include slippage, spread or so?
Thanxx for answer
Heiko
I red a lot about difference backtesting vs live trading. Most threads talk about bad backtesting software in metatrader. After good backtesting I try now to get my expert to work live, but it seems to get different input than shown in the chart. Results live and later same period backtested are absolutely different.
P.e., my expert should open a trade after a gap, code looks like this:
if ((Open[1]>High [2])&& (Close [1]>High [2])&& (Low [1]>= High [2]))
{
res=OrderSend(Symbol(),OP_BUY ...
We had a gap in EURUSD H1 2009 1.14. 01:00 in the chart, but the expert didn't order - later it did & I don't know why ...
Do the Highs, Lows etc. which the expert 'sees' include slippage, spread or so?
Thanxx for answer
Heiko