EA MT4 with CCI does not correctly buy and sell
Hi and good morning,
i will try to explain it to you: the value of CCI is calculated every tick (maybe a hundred times) in a period and
at the time your order was opend or closed the CCI was surly above 100 (you can use a Print() statement to
check this) But there are ticks after the open order that modify the CCI that you see in the indicator picture.
I hope, this helps you.
Best regards
Hi and good morning,
i will try to explain it to you: the value of CCI is calculated every tick (maybe a hundred times) in a period and
at the time your order was opend or closed the CCI was surly above 100 (you can use a Print() statement to
check this) But there are ticks after the open order that modify the CCI that you see in the indicator picture.
I hope, this helps you.
Best regards
Hi back too you. Thx for the reply!
I tought that was only for live trading or backtesting on every tick. So it can also change the cci when backtesting on "Open prices only"?
Why does my EA in MT4 sometimes does not
?
I used "Open prices only" to backtest.
In attachment, a picture of the backtest.