| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
|
|
LinkBack | Thread Tools |
|
|
|||
|
|||
|
Ignor that last question, I tried it and it works, so the answer is yes. hmmm, now I wonder what about from my machine to someone elses in Japan...
|
|
|
|||
|
|||
|
How to copy the close order?
Thanks fxtrader625, i'm trying to figure out how to detect the close order from MT4 instance 1 and send it to to MT4 instance 2?
I have tried to close order from instance 1 but it doesn't copy to instance 2. Your advise is appreciated. Thanks regards, chai |
|
|
|||
|
|||
|
Hi Jeff,
First of all thank you for your great EA, it works wonderfull. I've tested SendCopiedTrades EA and it works as described, there is small delay in order execution on 2nd platform (about 10 - 30 seconds), which sometimes results in different entry price (difference about 2 - 3 pips). But that is O.K., because sometimes price moves in opposite direction from entry price and you will have extra 2 - 3 pips in profit .When I was testing SendReversedTrades EA I've noticed that on 2nd platform it executes mirrored trades as per reversed logic ( StopLoss becomes TakeProfit and Take Profit becomes StopLoss). Example: pair GBPUSD 1st platform sell at 1.7624, TakeProfit 1.7604, StopLoss 1.7644 2nd platform buy at 1.7628, TakeProfit 1.7644, StopLoss 1.7604 So far so good. Lets say price moved to 1.7604 (this is the price we see on charts), in this case we have StopLoss on 2nd platform minus 24 pips , but on the 1st platform order is still open and it triggers to open another buy order on the 2nd platform at 1.7608 with StopLoss at 1.7604 and TakeProfit at 1.7644. And right away we have another minus 4 pips .My question is : is it possible to add spreads into reversed trades to avoid this situation. In our example we would have:1st platform sell at 1.7624, TakeProfit 1.7604, StopLoss 1.7644 2nd platform buy at 1.7628, TakeProfit 1.7640, StopLoss 1.7600 Thank you. |
|
|
||||
|
||||
|
Quote:
Here is an updated EA with respect to your idea. As the market is closed at this moment, I would test it at a later moment. You can eventually test it and tell me if there are eventually bugs. SendReversedTradesSpread.mq4 in experts folder of MT4 instance 1. TradeCopierSpread.mq4 in experts/libraries folder of MT4 instance 1 Regards, Jeff |
|
|
|||
|
|||
|
Hi Jeff,
Thank you for your fast response. I've tested SendReversedTradesSpread EA, but unfortunately for some reason it doesn't copy any trades . I did placed SendReversedTradesSpread.mq4 in experts folder of MT4 instance 1, and TradeCopierSpread.mq4 in experts/libraries folder of MT4 instance 1, restarted MT4 platform. I guess there is some bug that prevents trades to go through.![]() By the way it works better(original version) when it is attached to GBPJPY pair(M5). Delay between trades is only a couple seconds. Thank you for your great work |
|
|
||||
|
||||
|
Quote:
Jeff |
| Bookmarks |
| Tags |
| TradeCopier, sendreversedtrades |
| Thread Tools | |
|
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Signal Alert | vidda | Suggestions for Trading Systems | 5 | 08-12-2007 06:05 AM |
| changes for ki signal | rizdwan74kl | Indicators - Metatrader 4 | 2 | 04-02-2007 10:50 PM |
| signal line | xxDavidxSxx | Expert Advisors - Metatrader 4 | 2 | 10-17-2006 05:31 AM |
| Trend Signal | CP6 | Indicators - Metatrader 4 | 16 | 08-15-2006 05:29 PM |