Different outcome Indices VS forex
-
Dear forum members,
I made a simple EA to open and close orders
It works perfect for Indices but seems to fail sometimes when using it on forex
The open conditions are simple
Previous candle bull open B if bear open S
On indices it works but on forex sometimes not
What i noticed is that when a bear candle closed the S order a buy order is opened but also closed instantly (this proces repeats every second)Since it is working onindices what am i missing for forex?
-
Edit
I am using this EA in same MT4 instance and on 3 differen charts
Might this be the issue?
The symbol setting in the blocks i used are default (use symbol current chart) -
Just added a break even point block to the project
it is working for the 2 indices i am trading(us30 and FRA40) but for EURUSD not at all@FXDREEMA
Do you know if this is a bug?
I am using the same EA on 3 charts in the same MT4 instance
Is this even possible?Please let me know
-
I just got it to work.
There is only 1 butFor indices the specified pip offset (15 pips) is executed just fine
For the EURUSD it become 100 pips instead of the 15It seems there is something wrong between indices and forex
Can any of you confirm this? -
@dgrl I am also trading indices... My favorites, because spreads are small and there are no swap costs. And, yes, for me too, I have better results on indices. There seems to be not so much of a noise, like on EUR/USD. Technically speaking, the EA's work the same on both, but results are better because of characteristics of market.
-
@dgrl said in Different outcome Indices VS forex:
What i noticed is that when a bear candle closed the S order a buy order is opened but also closed instantly (this proces repeats every second)
So your EA's also has this issue?
" What i noticed is that when a bear candle closed the S order a buy order is opened but also closed instantly (this proces repeats every second) "Every second it opens and closes a trade?
I lost over 300 bugs coz if this error and not paying attention LOL
I guess i misconfigured some settings coz i really dont know why it behaves like this on forex only -
Could it be a FIFO issue with forex?
-
Nah i dont think its FIFO
Coz the previous trade is closed and a new one is opened
The newy opened one has the issue
FIFO is when 2 trades are open right? (S and B on same time?) -
Yes FIFO is trades both ways, but also applies if the EA is trying to open and close a new trade... all previous trades are closed out too.
"Once per bar" will solve the 300 open and close issue. Try putting that in before the buy condition.
-
Thanks for the tip
WIll implement and test it -
@dgrl No, my EA's do not behave differently... technically. I was just simpatico with the US30, and FRA40...

-
error messages?
-
My broker uses complete different point system for there charts depending on the currency of indices you choosed
Kinda confusing but in the end you can work it out
Only thing i hope is that it would be the same for a live account
Now testing on Demo