Thanks for the help.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy Deployment
Collapse
X
-
Strategy Deployment
Hi, i have a strategy that I notice behaves differently on the chart compared to the control panel. I detected it because the connection dropped and I wanted that when reactivating the strategy it would take into account the past of the data that was lost due to the connection drop. In the graph it behaves correctly taking into account the past but not from the control panel. Is there a setting to tell strategyto take the past in the control panel that I don't know about?
Thanks for the help.Tags: None
-
Hi, thanks for posting. I moved your post from the old one because that was 2 years old:
Hi, My question is if there is any disadvantage / advantage of running automated strategies from charts vs control center considering their performance/reliability etc.. Which method would you recommend? Thanks; B
If you are noticing a difference in the historical performance between the chart and the control center the data loaded is likely different. Confirm you are using the exact same data series and also loading the exact same amount of data when you load the strategy.
Kind regards,
-ChrisL
-
Thanks for your response Chris. I can confirm that it is the same data since I put the strategy in the control panel and in the graph in replay and one activates the trade and the other does not.
Comment
-
Something that I did not clarify is that they were active at the same time and the logic to activate the trade is on the same day.
Comment
-
Hello PabloTrader,
A strategy can work in both the control center or a chart however when you apply it directly to the control center it may load data differently based on the data series settings you selected. Do you see the difference if you only use a chart and apply the strategy directly to a chart when working with playback vs realtime?
Comment
-
I noticed this behavior in realtime and was able to duplicate it in replay. I give an example. I wait for a MACD crossover and if another condition is met I enter the trade. But if that MACD crossover occurred and the strategy was activated later, it would seem that in the chart it takes the crossover into account but not in the control panel. I clarify this to know if perhaps I am loading the MACD incorrectly (I do it in DataLoaded).
Comment
-
Hello PabloTrader,
When you run the strategy it will process historical bars, if there is a difference in the amount of data selected when you apply it to the control center vs a chart you would see a different result. You would need to use a Print to see how the script is working in each use case to get a better idea of whats different.
Comment
-
I realized that in the control panel it only loaded for 5 days but I had a condition in the code that did not start if it did not have 6 days loaded. Excuse me and thanks for the help.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
53 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
130 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
70 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
44 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
49 views
0 likes
|
Last Post
|
Comment