Hello, I was hoping someone might be able to help me with a simple trade manager EA. I regularly set manual limit orders with entry price, stop loss and take profit parameters and they often trigger while I am at work or asleep. Sometimes they trigger during news events or fast moving markets and I enter with a few points slippage. The orders are assigned a magic number at the time of entry. I'm looking for an EA that will adjust the TP based on a fixed value when the trade executes.
INPUTS:
1) Magic Number = the EA will only monitor and control orders with this magic number
2) Take Profit in Pips (BUY ORDERS)
3) Take Profit in Pips (SELL ORDERS)
I may have different TP values for a buy vs. sell order based on my trading style -- that's the reason for both a buy and sell "Take Profit in Pips" variable.
So for example, when a BUY trade executes, the EA will look at these inputs and adjust the TP accordingly. If the original buy entry was 108.00, the buy TP was 108.50 (50 pips) and the trade triggers at 108.05 (5 pips slippage), the EA would change the TP from 108.50 to 108.55 (50 pips). It would work the same way for SELL orders.
Thanks in advance!
- GFx
INPUTS:
1) Magic Number = the EA will only monitor and control orders with this magic number
2) Take Profit in Pips (BUY ORDERS)
3) Take Profit in Pips (SELL ORDERS)
I may have different TP values for a buy vs. sell order based on my trading style -- that's the reason for both a buy and sell "Take Profit in Pips" variable.
So for example, when a BUY trade executes, the EA will look at these inputs and adjust the TP accordingly. If the original buy entry was 108.00, the buy TP was 108.50 (50 pips) and the trade triggers at 108.05 (5 pips slippage), the EA would change the TP from 108.50 to 108.55 (50 pips). It would work the same way for SELL orders.
Thanks in advance!
- GFx