- MQL5: Market - Can you sell an expert advisor that uses custom indicator?
- convert indicator to expert
- New Development: MetaTrader 4 Smartphone
I've written a Custom Indicator that does everything I wont it to do. Discovered that you can't open and close trades through a Custom Indicator. Keep getting error 4055. Attempted to convert Custom Indicator to Expert Advisor, Advisor won't run. Does anyone know how I can conert a Custom Indicator to an Expert Advisor?
Give a name specify your Indicator,Construct an EA then u can call your Indicator with iCustom
To fully integrate indicator code into an Expert you will need care... the following link is to the concluding article of a series.
Transferring an Indicator Code into an Expert Advisor Code. Conclusion
Give a name specify your Indicator,Construct an EA then u can call your Indicator with iCustom
Could you give an example? The name of my indicator is, Custom Indicator F. All of the conditions for opening and closing trades are determined in the indicator. I added the functions for executing the trades, but found out that you can't execute them from an Custom Indicator.
Should I create an Expert adviser to handle the OrderOpen(), OrderSend functions?
How do I call the indicator, which makes the decisions as to buying and selling, into the EA, so that the EA can make the decisions and execute the trades?
Thanks!
Consider reading the The MQL Programming Book.....! The actions you have already done show that this book and other related articles on this site - are very much needing reading by you. Got to put the work in to get the answers, yes?
The answers are massively straight forwards. The book gives examples, the link I posted shows you 100% of the HOWTO's.
Go for it friend! Is all their waiting to be discovered.
Enjoy the trip
Consider reading the The MQL Programming Book.....! The actions you have already done show that this book and other related articles on this site - are very much needing reading by you. Got to put the work in to get the answers, yes?
The answers are massively straight forwards. The book gives examples, the link I posted shows you 100% of the HOWTO's.
Go for it friend! Is all their waiting to be discovered.
Enjoy the trip
Sorry! I didn't notice the link. My mind is going in circles!
Thanks!
I've written a Custom Indicator that does everything I wont it to do. Discovered that you can't open and close trades through a Custom Indicator. Keep getting error 4055. Attempted to convert Custom Indicator to Expert Advisor, Advisor won't run. Does anyone know how I can conert a Custom Indicator to an Expert Advisor?
Hi,
I can make the expert advisor as per your indicator's signal. But for that i will charge $500. If you are agree with $500 then contact me and i will make the EA for you with your indicator.
Hi,
I can make the expert advisor as per your indicator's signal. But for that i will charge $500. If you are agree with $500 then contact me and i will make the EA for you with your indicator.
You are almost 4 years too late . . .
Perhaps you missed this when you registered . . .
Look here: https://www.mql5.com/en/users/register
It says . . . "4. Posting of advertising messages is forbidden. "
Try it once more and you will be BANNED.
Dear sir,
I have an Indicator mq4.I want to convert EA.If anybody help me and convert it EA.
The EA has: a)When show Blue dot it open Buy order b) when show red dot its open sel order c) TP and SL (Customize)
d) Trailing stop (Customize) when order running profit its start Trailing stop as I set (Customize)
Thanks a lot.
Here I have attach the indicator.
Please send me: rezazyx@gmail.com
Reza Rahman: I have an Indicator mq4.I want to convert EA.
-
Don't try do that. There are no buffers, no IndicatorCounted() or
prev_calculated. No way to know if older bars have changed or been added
(history update.)
Just get the value of the indicator into the EA and do what you want with it. You should encapsulate your iCustom calls to make your code self-documenting. - You have only four choices:
- Search for it,
- learn to code it, (you couldn't be bothered to learn MQL4/5, therefor there is no common language for us to communicate,)
- Beg at Coding help - MQL4 and MetaTrader 4 - MQL4 programming forum or Need help with coding - General - MQL5 programming forum or Free MQL4 To MQL5 Converter - General - MQL5 programming forum or Requests & Ideas (MQL5 only!),
- or pay (Freelance) someone to code it.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use