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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
579 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
334 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment