the five digits will allways goes with the Point (on the mql language)
so you should use a
global indicator namely
PHP Code:
//on the [u]special functions init[/u] :
ptt=Point;
if (FractionalPips)
ptt=ptt*10
and then replace all of your "Point" usage using the "ptt" variable