Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Forex
Collapse
X
-
Forex
Someone could help on Forex strategies. I have a problem with the days to load of it. When I set the days to load at 120 then the strategy works fine in Forex market but if set it to 30 days the moment I enable it the the strategy with took many trades even the bar is not yet close. I set the it to run at bar close and I'm confuse with it. I don't have any problem with my other strategies for futures. Only with Forex that the days must be set to 120 days to load for it to run smoothly. Someone could help me with the case?Tags: None
-
I am using MB Trading for Ninja Trader. I am using 60 minute time frame as the primary and 30 seconds the secondary and 15 minute. My signals are on BarsInProgress == 0 and BarInProgress == 1 and BarsInProgress == 2 are being return.
Comment
-
-
-
-
Okay I did it this way BarsRequired is 30 and days to load set 60 and it runs okay. Now, my question why does it requires to many days to load for example 60 and above?
Comment
-
Sorry, don't follow you - please check through what we already had discussed. BarsRequired is set from the UI and has to be fulfilled for all series, as it would be not be trading days you set yo would need to have a higher # of days loaded than the actual bars required setting. So there's enough data to startup your scripts.
Comment
-
Comment
-
-
Thanks. Then would at this point not have an explanation to point you to, would be best to simplify the code and debug to see where it would break and not behave as you would expect. For example if you're only running on the single, primary series - what behavior would you get? From where do you start it up, the strategy tab or chart?
Do you get a different behavior if you work only from a chart and load all series in manually and then attach the script to the primary series?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
663 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
376 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
110 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
575 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
580 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment