Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Texts created by indicator are deleted

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Texts created by indicator are deleted

    Hello, I have an indicator that marks Text in the Chart, with OnMarketData, but when I change any meter of any indicator or it deletes everything, you know how I can save them.

    #2
    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.

    Comment


      #3
      but could you even export the text data from the chart for analysis? Because they are erased and I cannot recover them.

      Comment


        #4
        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


          #5
          Thank you very much, now I am saving it to text files.

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