in other words the system will calculate the correct quantity to buy by itself by exhaust the $1000 to the most. how can i code this strategy? i tried to put 1000/GetCurrentBid() into the strategy builder but it cannot recognize it. Please help me out! Thanks!!!!!!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
how to set a quantity to buy?
Collapse
X
-
how to set a quantity to buy?
Hi i am using the strategy builder and how can i set a quantity standard like this: i am having $1000 as my budget and i want to use up the 1000 dollars, round to the most shares i can buy?
in other words the system will calculate the correct quantity to buy by itself by exhaust the $1000 to the most. how can i code this strategy? i tried to put 1000/GetCurrentBid() into the strategy builder but it cannot recognize it. Please help me out! Thanks!!!!!!Tags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
570 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
330 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
548 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
548 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment