Erik Bakker:
Dear forum, I need some help,
I have a Custom Indicator 'Strength EUR' and I want to use this in my EA. It is a simple currency strength indicator solely for EUR.
I know i need to use iCustom and put in the relevant parameters as well. However I am still not able to manage to get the right output. (the result = 0 while it should be 18 or so).
Can someone help me what I do wrong. I am missing someting.
int Test = iCustom(NULL,PERIOD_CURRENT,"StrengthEUR",Periode,0,0);You should call it with correct Periode not P and you will get current bar value and exact indicator name
Nikolay Georgiev:
Any other suggestions?
topics concerning MT4 and MQL4 have their own section.
In future please post in the correct section.
I will move your topic to the MQL4 and Metatrader 4 section.
Keith Watford:
I will sorry
topics concerning MT4 and MQL4 have their own section.
In future please post in the correct section.
I will move your topic to the MQL4 and Metatrader 4 section.
Nikolay Georgiev:
Thanks, forgot the space between the 'strength and EUR'. Stupid of me... :-)
Erik Bakker:
Thanks, forgot the space between the 'strength and EUR'. Stupid of me... :-)
Thanks, forgot the space between the 'strength and EUR'. Stupid of me... :-)
all good :)

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
Dear forum, I need some help,
I have a Custom Indicator 'Strength EUR' and I want to use this in my EA. It is a simple currency strength indicator solely for EUR.
I know i need to use iCustom and put in the relevant parameters as well. However I am still not able to manage to get the right output. (the result = 0 while it should be 18 or so).
Can someone help me what I do wrong. I am missing someting.
What I want to do is compare BufferEUR[0] (current strength) with BufferEUR[1] (previous bar) and make an signal of it.
The code beneath give a result 0...
I have attached the indicator code aswell.