Math.Round & BuyAtLimit
Author: wl64bit
Creation Date: 11/22/2011 6:55 PM
profile picture

wl64bit

#1
Why BuyAtLimit(bar+1,Math.Round(1.881,2)," ") gives limit order of 1.8799 but not 1.8800?
profile picture

Eugene

#2
Because you haven't checked "Turn off limit/stop order rounding entirely". This is a new option in 6.2.

More details in the User Guide:

* New and Noteworthy > What's Changed
* Preferences > Backtest Settings

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).