Hi everyone!
This has been asked many times and I've read so much on it, but I'm still not accomplishing what I want (which should be very simple).
I have an Indicator, and all I want is to grab the value of a variable which could be a 0 or a 1. That's it.
DISCLOSURE: I'm new to MetaTrader and coding in it.
This is the Indicador code:
And this is what I'm typing within my Expert Advisor file to get that value (I'm using MetaTrader 5):
Any help would be greatly appreciated.
Thank you all!
Dear Metaeditor user,
I also new but what I know is that the return value of the iCustom function is an Int, not an double and can not
be a double.
the result is a handle, that you can use to work with the personal written indicator.
You will
need additional code, lot of additional code to get the values from the indicator using a handle.
Succes
Ask your broker.
Broker's use a variety of naming patterns: EURUSD, EURUSDc, EURUSDct, EURUSDecn, EURUSDi, EURUSDm, EURUSDpro, EURUSDt, "EUR.USD", "EUR/USD", "EURUSD!", "EURUSD#", "EURUSD.", "EURUSD..", "EURUSD.c", "EURUSD.cfx", "EURUSD.G", "EURUSD.SBe", "EURUSD.stp", "EURUSD+", "EURUSD-5", "EURUSD-m", "EURUSD-sb", etc.
If the pattern your broker uses doesn't match the pattern of your signal provider's broker, you can't copy the signal.
Ask your broker.
Broker's use a variety of naming patterns: EURUSD, EURUSDc, EURUSDct, EURUSDecn, EURUSDi, EURUSDm, EURUSDpro, EURUSDt, "EUR.USD", "EUR/USD", "EURUSD!", "EURUSD#", "EURUSD.", "EURUSD..", "EURUSD.c", "EURUSD.cfx", "EURUSD.G", "EURUSD.SBe", "EURUSD.stp", "EURUSD+", "EURUSD-5", "EURUSD-m", "EURUSD-sb", etc.
If the pattern your broker uses doesn't match the pattern of your signal provider's broker, you can't copy the signal.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi everyone!
This has been asked many times and I've read so much on it, but I'm still not accomplishing what I want (which should be very simple).
I have an Indicator, and all I want is to grab the value of a variable which could be a 0 or a 1. That's it.
DISCLOSURE: I'm new to MetaTrader and coding in it.
This is the Indicador code:
And this is what I'm typing within my Expert Advisor file to get that value (I'm using MetaTrader 5):
Any help would be greatly appreciated.
Thank you all!