using iCustom and displaying it's result in Object_Create label object but the result is always 1.00.
I'm trying to get the value of a buffer out of an indicator - EA work on Renko chart ?
- Label indicator like an object?
- Using ex4 indicator in Expert Advisor
At first iCustom function creates an indicator and returns a handle (int). It isn't the same as indicator value. You should use CopyBuffer function to get indicator values.
At second it isn't good idea to use iCustom in OnCalculate function.
I think the source of Alligator indicator might be helpful for you.
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