• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Remove historical plot executions

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

    Remove historical plot executions

    Hello,

    How can I clear the chart from historical plotting trades and executions?

    I know that I can set the plot execution mode to "DoNotPlot",.
    Using this mode will not delete the historical executions and trades.
    but I would like to clear the chart to be like it was before executions.

    Sincerely,Kobi

    #2
    Hello levikNT,

    Thank you for your post.

    Are you speaking of the historical trades plotted from the strategy when added to the chart?

    Can you attach a screenshot of your chart to your response?

    I look forward to your response.
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_PatrickH View Post
      Hello levikNT,

      Thank you for your post.

      Are you speaking of the historical trades plotted from the strategy when added to the chart?

      Can you attach a screenshot of your chart to your response?

      I look forward to your response.
      Hello PatrickH.

      Thank you for you response.

      Yes, I am speaking of the historical trades plotted from the strategy when added to the chart.

      See attach.

      Sincerely,Kobi

      Comment


        #4
        Hello levikNT,

        Thank you for your response.

        Unfortunately, adding the strategy to the chart will do this. You could alter the code to not process on historical data using if(Historical)return; at the beginning of the OnBarUpdate() but this will make backtesting not possible unless removed. Or more simply you can just add the strategy via the Strategies tab of the Control Center.

        For information on running the strategy from the Strategies tab of the Control Center please visit the following link: http://www.ninjatrader.com/support/h...t_strateg2.htm

        Please let me know if I may be of further assistance.
        Patrick H.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_PatrickH View Post
          Hello levikNT,

          Thank you for your response.

          Unfortunately, adding the strategy to the chart will do this. You could alter the code to not process on historical data using if(Historical)return; at the beginning of the OnBarUpdate() but this will make backtesting not possible unless removed. Or more simply you can just add the strategy via the Strategies tab of the Control Center.

          For information on running the strategy from the Strategies tab of the Control Center please visit the following link: http://www.ninjatrader.com/support/h...t_strateg2.htm

          Please let me know if I may be of further assistance.
          Hello PatrickH,

          Thank you for your response.

          Is in NT 8 it will possible to delete historical traded from a chart that plotted from the strategy when added to the chart?

          Sincerely,Kobi

          Comment


            #6
            Hello levikNT,

            Thank you for your response.

            Setting the chart to DoNotPlot for PlotExecutions should disable the historical and real-time trades of the strategy. Can you attach a screenshot of your chart?
            Patrick H.NinjaTrader Customer Service

            Comment


              #7
              Hello PatrickH,

              Thank you for your response.
              Sorry, I should clarify myself I know that I can set the plot execution mode to "DoNotPlot",.
              Using this mode will not delete the historical executions and trades its only disable the Plot Executions.
              but I would like to clear the chart to be like it was before executions which means delete the historical executions and trades , as I wrote in the beginning of this thread.

              your response was :

              Unfortunately, adding the strategy to the chart will do this. You could alter the code to not process on historical data using if(Historical)return; at the beginning of the OnBarUpdate() but this will make backtesting not possible unless removed. Or more simply you can just add the strategy via the Strategies tab of the Control Center
              .

              My question Is in NT 8 is it will possible to delete historical traded from a chart?

              Sincerely,Kobi

              Comment


                #8
                Hello levikNT,

                Thanks for your reply.

                The only way to not have your NinjaScript strategy not plot historical trades that were not live in NinjaTrader 7 & 8 is to follow Patrick's step to not have the strategy run on historical data.
                BrandonNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Longhornmark, Today, 07:06 AM
                4 responses
                22 views
                0 likes
                Last Post bltdavid  
                Started by bomberone3, Today, 02:59 PM
                0 responses
                3 views
                0 likes
                Last Post bomberone3  
                Started by Krossaren96, Today, 02:36 PM
                1 response
                14 views
                0 likes
                Last Post NinjaTrader_JoshG  
                Started by Rafmed, 01-28-2019, 11:01 PM
                8 responses
                88 views
                0 likes
                Last Post aligator  
                Started by priceisking, Today, 01:15 PM
                1 response
                8 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Working...
                X