Thanks.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Difference
Collapse
X
-
Hello Trader17,
Thank you for the post.
This would not be enough information to answer your question but based on this image I can see that the number of trades were different so we should not expect a matching performance report here.
To know why it was different, that would come down to the specifics of the test and your logic.
To start, are you comparing historical results only from the chart and does the chart have identical settings as the backtest?
The setup between the two tests will be very important in getting similar results. This would include all settings and data, the data would need to match the backtest exactly so that your strategy can run over the same timeframe again in the same way.
Besides this, are you certain that all conditions to trade became true in the same way as the backtest? To know this, you may need to add debugging into the script such as using Prints to confirm it is working in an identical way. Once the logic is able to run in an identical way over historical data you should see similar results between historical tools. If the logic is not able tore-run in the exact same way, that could create completely different results depending on the logic being used.
I look forward to being of further assistance.
- Likes 1
-
Hello Trader17,
It would generally be your logic that determines when to enter another trade to open a position.
From the builder you could use:
to check if you are currently in a position or not as one way of doing this.Strategy -> CurrentMarketPosition
equals
Strategy -> Market Position -> Flat
I look forward to being of further assistance.
- Likes 1
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
23 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
120 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
63 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
41 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
45 views
0 likes
|
Last Post
|

Comment