Currently I have an EA that will take a position with a fixed 40 pip take profit and 20 pip stop loss. All I would like to do is if the take profit is reached reduce the position to half and use a trailing stop of 15 pips.
I’ve been looking around for some simple money management code that I can use (I’m a MQL4 noob) with out a million options. But to code it myself I’m not exactly sure how to monitor the position to switch it to a trailing stop… I suppose you continually check the Ask price if there is an open order.
Thank you for any help.
I’ve been looking around for some simple money management code that I can use (I’m a MQL4 noob) with out a million options. But to code it myself I’m not exactly sure how to monitor the position to switch it to a trailing stop… I suppose you continually check the Ask price if there is an open order.
Thank you for any help.