Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Texts created by indicator are deleted
Collapse
X
-
Hello iradielt,
Thank you for your inquiry.
By default, OnMarketData is not called on historical data (backtest), so if you're creating your text from OnMarketData, this would be expected when modifications are made and the indicator reloads, however it can be called historically by using TickReplay
If used with TickReplay, please keep in mind Tick Replay ONLY replays the Last market data event, and only stores the best inside bid/ask price at the time of the last trade event. You can think of this as the equivalent of the bid/ask price at the time a trade was reported. As such, historical bid/ask market data events (i..e, bid/ask volume) DO NOT work with Tick Replay. To obtain those values, you need to use a historical bid/ask series separately from TickReplay through OnBarUpdate(). More information can be found under Developing for Tick Replay in our help guide here:
Please let us know if we may be of further assistance to you.
-
Hello iradielt,
Thank you for your reply.
Once the text that's written previously is erased you wouldn't be able to retrieve it, short of using Tick Replay to attempt to redraw those prints to the chart.. However, you could consider modifying your script to write the same information to a file when it prints text to the chart so you'd have it in a file for later reference. You could use a StreamWriter to do so:
Please let us know if we may be of further assistance to you.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
46 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
67 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
35 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
95 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
59 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment