I need help modifying MT5 built-in Experts: ExpertMACD.mq5 to open a position in the opposite direction
- Changing EA To Open Opposite Positions Than What It Currently Does
- Swap buy orders with sell orders.
- change logic in ea
xingfuman: I have no experience with MQL scripting
You have only four choices:
-
Search for it (CodeBase or Market). Do you expect us to do your research for you?
- Try asking at:
- Coding help - MQL4 programming forum
- Requests & Ideas - MQL4 programming forum
- Make It No Repaint Please! - MQL4 programming forum
- MT4 to MT5 code converter - MQL5 programming forum
- Please fix this indicator or EA - General - MQL5 programming forum
- Requests & Ideas (MQL5 only!) - Expert Advisors and Automated Trading - MQL5 programming forum
- Indicator to EA Free Service - General - MQL5 programming forum
- I will write an advisor free of charge - Expert Advisors and Automated Trading - MQL5 programming forum
- I will write you an advisor for free - Trading Systems - MQL5 programming forum
- I will write the indicator for free - MQL4 programming forum
-
MT4: Learn to code it.
MT5: Begin learning 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 your code.
I need HEEEELP, please, it's URGENT...really ! - General - MQL5 programming forum (2017) -
Or pay (Freelance) someone to code it. Top of every page is the link Freelance.
Hiring to write script - General - MQL5 programming forum (2019)
We're not going to code it for you (although it could happen if you are lucky or the problem is interesting.) We are willing to help you when you post your attempt (using CODE button) and state the nature of your problem.
No free help (2017)-
- xingfuman: if the current signal is to buy, then open a sell order, if the signal is to sell, then open a buy order
Not worth the time. Always buying is a loosing strategy, so is always selling. Either way you pay the spread.
cExpert is set in stone, you can't really modify it like that
You need to code it from scratch using the Trade.mqh library. Your best chance is to reverse engineer codes in the codebase, and ignore these built-in experts which can't be modified.
Another option is to make your own signal script which the EA wizard can import, and call it "Signals of the macd", but this is much more tedious and there aren't clear guides on going about this![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use