Hi All,
I am new to MQL, acn any one help me in getting my custom indicator output value in export advisor.
Currently I am getting 0.0 value in export advisor.
Code in custom indicator:-
Thanks a lot,
Rajesh KS.
![Discover new MetaTrader 5 opportunities with MQL5 community and services Discover new MetaTrader 5 opportunities with MQL5 community and services](https://c.mql5.com/36/37/discover-new-metatrader-5-opportunities__3.png)
Discover new MetaTrader 5 opportunities with MQL5 community and services
- www.mql5.com
Ask questions on technical analysis, discuss trading systems and improve your MQL5 programming skills to develop your own trading strategies. Communicate and share your experience with traders from anywhere in the world, answer questions and help beginners — MQL5.community is developing along with you. Arbitration has not responded Hello ! The...
Files:
output.PNG
16 kb
- Hi Can anyone help me in converting custom indicator code to export advisor
- How to get high and low value from an custom indicator in code?
- Export indicator values - MQL5
Perhaps you should read the manual, specifically iCustom, and
Detailed explanation of iCustom - MQL4 programming forum #33 2017.05.23
Your indicator has one input (ADXPeriod) and one buffer.
int i = iCustom (NULL, 0, "TestInd.ex4", 0, 6, 0);
- Why are you passing zero as the period?
- Why are you asking for the seventh buffer (6)?
- iCustom returns a double. You would know that if you had used strict. Always use strict. Fixing the warnings will save you hours of debugging, but you must understand the differences.
- It's called an Expert Advisor, not export.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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