1324007: i have no idea … can anyone help?
Help you with what?
You haven't stated a problem, you stated a want. You have only four choices:
- Search for it,
-
Beg at
- Coding help - MQL4 and MetaTrader 4 - MQL4 programming forum
- Requests & Ideas (MQL5 only!) - Trade FX - Expert Advisors and Automated Trading - MQL5 programming forum
- Free coding for your trading system.. - Easy Trading Strategy - General - MQL5 programming forum
- I will code & automate your strategy for free - Options Trading Strategies - General - MQL5 programming forum
- Make It No Repaint Please! - MetaTrader 5 - MQL4 and MetaTrader 4 - MQL4 programming forum
- learn to code it. If you don't learn MQL4/5, there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into yours.
- or pay (Freelance) someone to code it.
No free help
urgent help.
1324007:
hello, while reading around I have come across an very interesting idea of an EA (sadly an MT4 one). it basically open an buy stop and a sell stop pending orders at a distance from current price, when one order is triggered the other one is canceled and two new pending orders are created at same distance from new current price.
all credit goes for author Zaymin Htet
topic https://www.mql5.com/en/code/19057
however I am an MT5 user and i have no idea how to convert this free EA into MT5, can anyone help?
#define MT4_TICKET_TYPE // Обязываем OrderSend и OrderTicket возвращать значение такого же типа, как в MT4 - int. #include <KimIVToMT5.mqh> // https://c.mql5.com/3/263/KimIVToMT5.mqh #define Magic Magic2 #include "Open Two Pending Orders.mq4" // https://www.mql5.com/en/code/19057 void OnTick() { start(); }
thank you fxsaber, undoubtedly it will work perfect like all your pieces of code everywhere. will look into it tomorrow
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hello, while reading around I have come across an very interesting idea of an EA (sadly an MT4 one). it basically open an buy stop and a sell stop pending orders at a distance from current price, when one order is triggered the other one is canceled and two new pending orders are created at same distance from new current price.
all credit goes for author Zaymin Htet
topic https://www.mql5.com/en/code/19057
however I am an MT5 user and i have no idea how to convert this free EA into MT5, can anyone help?