![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
Hello,
I'm a newbie here, and know just a little bit about mql4 programming.
Therefore, I would like to ask, if is it posibble to make one indicator with two different deviation ?
I've got two indicator, and I've check the coding for both of them, they have the same coding, only for one difference.
Indicator A :
extern int Deviation=1;
Indicator B :
extern int Deviation=2;
So, is it posibble to make just one indicator, but with 2 different deviation ?
If it is possible, please help me with the syntax or function..
Thanks