Hi, I am trying to code some variables which define the decimalisation of different forex pairs, so that some criteria I am adding, for example the range of a setup, can be determined in pips correctly for different symbols.
What I am trying to describe is this: (where vDecimal is the variable to be used in the study) -
if(getSymbol()= " GBP@TDFX A0-FX ") then vDecimal = 0.1;
but clearly this is not correct as it stands - feedback would be much apppreciated. I have looked up the efs library but still not clear on what to do. Thanks.
What I am trying to describe is this: (where vDecimal is the variable to be used in the study) -
if(getSymbol()= " GBP@TDFX A0-FX ") then vDecimal = 0.1;
but clearly this is not correct as it stands - feedback would be much apppreciated. I have looked up the efs library but still not clear on what to do. Thanks.