Decimals in a custom backtest

You need to verify your license: License Verified badge

The AddCustomMetric function has an optional parameter to specify the number of decimals: https://www.amibroker.com/guide/a_custombacktest.html