use strformat or change decimal using preferences/misc/decimal places in chart 
titles

 --- In [email protected], "Mohammed" <softnews2...@...> wrote:
>
> 
> Hi friends,
> 
> I'm using this code in the Title to show how many pip prices go up or
> down from open price.
> 
> The problem with it, it show 9 decimal digits, I would like to show only
> 4 decimal digits.
> 
> Also if it passable for you guys to add another line for daily average
> that will be nice. Because I didn't know how to calculate that :)
> 
> 
> PipToOpen = O - C;
> 
> +"\n"+EncodeColor( colorRed ) +" Pip To Open :" + PipToOpen
> 
> Any one can help Please.
> 
> Regards,
>


Reply via email to