One Indicator With Different Deviation - Please help

 

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

Reason: