Decimals in a custom backtest

prueba backtest R

Hello, I am doing a simple backtest of crossing a moving average, and I want to add custom metrics with the commands: (attached image)
trade.AddCustomMetric ("Value of 1R", Risk); trade.AddCustomMetric ("R-Multiple", RMultiple);

is there any way to be able to choose the number of decimal places in these two new added columns?

You need to verify your license: License Verified badge

The AddCustomMetric function has an optional parameter to specify the number of decimals:

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.