You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Thank you very much !!! its working just fine !
Sure.... no problem... good luck
But i just noticed. That it leaves out a lot of trades. For not obvious reason.
I just attach everything. im just lost. i have no idea what the reason could be.
https://ibb.co/gmQjhry
You need to work it out Julien....
It could be that that your ATR value was/is too low... so your "StopLoss" or "TakeProfit" values stopped your EA from Opening Orders... Your "Basic" Entry conditions are now correct... so you need to find out what the problem is...
Do basic "Error" checking... don't just say:
You need to "Print" Errors to your "Logs"... not successful code... for eg.
...I'm only interested in the ...
Jim Dandy hit the nail on the head in Roberto's thread... https://www.mql5.com/en/forum/300696
My recommendation would be to look to see if there are any errors in the expert log. If not then I would put some print lines in my code at various places.. is the breakeven function running when it should? put a print line to find out.. if it is running put some error checking code on the ordermodify result.
Are you sure you only want the breakeven opportunity to be checked once on each new candle or would you like it to run on each tick? It may move into an area that warrants moving to breakeven AFTER the candle has been building a while.. only to retreat by candle close and stopping you out. Just something to think about..
Pip Pip.. Jimdandy