Thanks in advance.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Collapse
X
-
Print
Is there a way to print / save a chart including the historical data when we move the mouse. I know that the print does print what's visible on the screen. The save as image does the same thing, I wanted to print / save as image a few days worth of charts.
Thanks in advance.Tags: None
-
Hello kashmiami,
Thanks for your post.
I am not certain that I understand what you are wanting to accomplish.
Printing values to the Output window each time a mouse is moved could cause a very large number of prints to appear in the Output window, making it difficult to distinguish certain prints.
OnMouseMove() would be the event-driven method is called any time the mouse pointer is over the chart control and a mouse is moving.
OnMouseMove(): https://ninjatrader.com/support/help...nmousemove.htm
Please expand on what exactly you want to accomplish so I may accurately assist you.
When a NinjaScript is enabled, it will first process historical data and prints for the historical data will appear in the Output window. Then the script will process realtime data when the State switches from State.Historical to State.Realtime. Realtime data prints would then appear in the Output window as the data is coming in.
If you want to print out a large amount of information, you could consider writing values to a text file by using a StreamWriter.
You could find an example of using a StreamWriter on this help guide page: https://ninjatrader.com/support/help...o_write_to.htm<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
69 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
42 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
24 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
27 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
54 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment