Prices rounded to 2 decimals in backtesting / on the chart
Author: cucbkakpyt
Creation Date: 4/27/2018 12:29 PM
profile picture

cucbkakpyt

#1
Greetings everyone.

Since I tried to import ASCII data from Dukascopy and well did it, I met some bugs during the backtesting.

A prices somehow rouding to the second decimal number instead of the 5th. Please see Attached files.

Please assist

profile picture

cucbkakpyt

#2
The second screen

profile picture

Eugene

#3
Welcome aboard Ilya.

As you're a new user, please avoid labeling something that you might not be used with yet. Like "Bad Backtesting prices (ROUNDING)" in your renamed topic title or "met some bugs" (which are not). Let technicians decide what's a bug and what's not. Thanks.

Here you have two options:

1. To treat all symbols with 4 decimals (globally), change the default 2 decimals to 4 in Wealth-Lab's Preferences dialog (F12 key) > Advanced options > Decimal places (Pricing).

2. To make it more dynamic and depend on the symbol name (e.g. using Regex rules, leave stocks at 2 decimals but make Forex display up to the 4th decimal), use the Symbol Info Manager tool from Tools menu. You'll find explicit instructions in:

* Wealth-Lab User Guide > Reference > Symbol Info Manager
* Wiki > Working with Forex in Wealth-Lab
profile picture

cucbkakpyt

#4
Greetings Eugene,

Thanks for sharp and rapid answer.

You are very helpful.

Best regards,

Ilya
profile picture

Eugene

#5
Glad to help you Ilya.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).