Would someone be kind enough to add (take profit and trailing stop ) to this EA.
And how do you get it to place the stoploss from the trade price when you add trades? The price moves but the ea places the stoploss at the ask or bid of the market price not the open trade price.
Thank you,
Ramy
C:/Program Files / MetaTrader 5 / MQL5 /Experts /Examples.
compensated, but it doesn't work.
What did I do wrong?
compensated, but it doesn't work.
and compensated with what?
You're just like a little kid! A compensator, what else?!
Enough with the banter, the man has a problem.
And yes I saw a mistake in the word compiled, but this is not a spelling forum.
Installed in
C:\Program Files\MetaTrader 5 \MQL5\Experts\Examples
compensated, but it doesn't work.
What did I do wrong?
You have not given enough information to help you.
What can be the problem - the order opens, but does not close writes the following:
2012.03.05 21:15:23 Trades '1024727' : failed instant sell 0.10 EURUSD at 1.32200 sl: 1.32260(deviation: 1) [Invalid request]thanks
Too small deviation is set, at the moment of accepting the order to work, the price may already change and the order will be rejected.
still does not work
2012.03.05 22:13:46 Trades '1024727' : failed instant sell 0.10 EURUSD at 1.32254 sl: 1.32764 (deviation: 10) [Invalid request].
The button works once, i.e. after switching on the EA it opens/closes an order and then does not respond, it writes the messages above.
If you switch the period, the button works once again. For example, we press buy, but to sell, we need to switch to M5 for example.
still doesn't work
2012.03.05 22:13:46 Trades '1024727' : failed instant sell 0.10 EURUSD at 1.32254 sl: 1.32764 (deviation: 10) [Invalid request].
The button works once, i.e. after switching on the EA it opens/closes an order and then does not respond, it writes the messages above.
If you switch the period, the button works once again. For example, we press buy, but for sell to work, we need to switch to M5 for example.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Pipser:
This Expert Advisor allows to perform one click trading.
Just press the corresponding button to open position. To close position, press the opposite button, i.e. if Buy position is opened, press "Sell" to close it.Author: Fox Rex