If possible I would like to have an image where the setup bar is the last bar visible on the right. The size of the chart could simply be a fixed size - say 30 bars.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Screenshot chart on entry signal
Collapse
X
-
Screenshot chart on entry signal
Is there a way to send a screenshot to file for every instance where my script generates a signal in a backtest?
If possible I would like to have an image where the setup bar is the last bar visible on the right. The size of the chart could simply be a fixed size - say 30 bars.Tags: None
-
Hello,
Thank you for the question.
I am not certain this would be possible because while you run the actual backtest and orders are calculated, there is no chart. The chart is only an after the fact display unlike a normal chart where the script would run in realtime.
It is possible to take screenshots of windows in C#, but I believe due to the nature of how the backtest works this would only be possible in realtime where the trade is currently visible in the window.
The next best solution for a backtest would likely be to report the order information or any other variables you need in Text. You could write this file to the hard drive or output it and copy and paste it. you could compile a single file of all of the backtest executions as an example.
I look forward to being of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
596 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
343 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 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
556 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
554 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment