MindSabre
04-30-2007, 01:09 AM
When I enter a negative value (ex.-10) in a field of a Strategy for analyzing, it gets changed to 1. Can parameters not be negative int32 values? How to solve this?
NinjaTrader_Ray
04-30-2007, 01:28 AM
If you generated your strategy via the NinjaScript Editor, look under the Properties section and find the parameter you wish to have a negative value.
You will see something like Math.Min(1, value) --> Change the "1" to a negative number.
If you generated your strategy via the Wizard, in the "User Defined Inputs" screen, set the "Min." value to a negative number.
Ray