Hello,

The following should work for changing decimals.

Regards,

David K.

+"\n"+EncodeColor(colorRed) +" Pip To Open :" +numtostr(PipToOpen,1.4)

OR if you want to change decimals for other symbols

dec = (Param("Decimals",2,0,7,1)/10)+1;
+"\n"+EncodeColor(colorRed) +" Pip To Open :" +numtostr(PipToOpen,dec)


--- In amibroker@yahoogroups.com, "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