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 CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
475 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
315 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
253 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
340 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
305 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment