Good day Apprentice and Happy New Year,
Thank you for your last feedback. I was off for the last few days hence my late reply.
There are 3 problems to fix - see the attachments :
- the EA should use the current bar's opening (not the previous bar's) of the current timeframe.
- for long positions the EA wrongly places limit orders while it rightly places stop orders for short positions. Can you instead have both the long and short positions opened with stop orders (placed by the EA) please ?
- when sell stop order turns into sell order (=opening of short position) then the buy stop order should be cancelled. When buy stop order turns into buy order (=opening of long position) then the sell stop order should be cancelled.
Cheers