Added topic Odd issue getting an open position's Open price
I've had some code that has been working fine on a demo account ever since I wrote it 9 months ago. Using MT5. I recently moved to a funded account (live) and have run into issues. Here a snippet of my original code where I located the issue is
Registered at MQL5.community
Added topic slow Server execution and open price vs take profits - what happens?
Hi I've a bit of hypothetical situation that Id like put out there as I do not know the answer. The broker I am using for my MT4/EA activities is a tad slow at execution sometimes, and you end up with a order open price a few points out of what you
Added topic trailing stop loss calculation question - on bar close price or calc and set in real time?
Hi I'm coding up some trailing stop loss functionality for my EA. I was wondering what people's thoughts/opinions are with regards to using Moving averages as basis for stop loss, or something like ATR? But my main question is, assuming I use a
Added topic Checking whether a order/position has a stoploss set
Hi Is there a way to determine whether a current/open position has an S/L set? e.g. true, false, and then extract what value is set? I cant figure out a way to do it. thanks ian