Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy Analyzer - Optimization - Decimal steps?
Collapse
X
-
Strategy Analyzer - Optimization - Decimal steps?
Is it possible to set decimal steps for double parameters? When I set them NT change them for integers, but I would need to use decimals. For example: 0,1;0,6;0,2 Isn't it possible? -
Hello manugarc,
No, the Strategy Analyzer is only able to increment by 1 in an optimization.
You could instead use an integer as the input, divide this by 100 and store the value to a double.
Then as the integer input is incremented, this is calculated to a decimal.Chelsea B.NinjaTrader Customer Service
-
Originally posted by NinjaTrader_ChelseaB View PostHello manugarc,
No, the Strategy Analyzer is only able to increment by 1 in an optimization.
You could instead use an integer as the input, divide this by 100 and store the value to a double.
Then as the integer input is incremented, this is calculated to a decimal.
Comment
-
Hello ChelseaB, manugarc,
I am facing the same issue. Could you please explain your answer a bit further (an example would be extremely helpful, if at all possible)? I did not quite understand it. My Parameters for optimization are "double", and I would like to use Increment "double" value as well.
Thank you
David
Comment
-
Hello Paco0,
I believe what ChelseaB was suggesting was to divide the existing input you may have by 100, for example if you had an input named myInputProperty that was an int:
Code:double myDouble = myInputProperty / 100;
JesseNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by hdge4u, 04-29-2024, 12:23 PM
|
5 responses
28 views
0 likes
|
Last Post
by MisterTee
Today, 04:26 PM
|
||
Started by llanqui, 01-25-2024, 06:15 PM
|
9 responses
64 views
0 likes
|
Last Post
by MisterTee
Today, 04:24 PM
|
||
Started by tradingnasdaqprueba, 05-07-2024, 03:42 AM
|
16 responses
65 views
0 likes
|
Last Post Today, 04:10 PM | ||
Started by Vulgoth_t_Destroyer, 05-09-2022, 04:45 PM
|
55 responses
5,458 views
0 likes
|
Last Post
by BartMan
Today, 03:25 PM
|
||
Started by DawnTreader, 05-08-2024, 05:58 PM
|
16 responses
52 views
0 likes
|
Last Post
by DawnTreader
Today, 03:20 PM
|
Comment