the Broker is 4 digits or 5 digits pricing

Here is a code which you can use in an Expert Advisors to automatically adjust variables depending on if the Broker is 4 digits or 5 digits pricing. 

following code should be inside the int Init() function

Code:
if(Digits==5 || Digits==3){ 
StopLoss= Stoploss * 10; // this adjusts Stoploss variable for 5digit broker
}