Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Showing historical executions on a chart

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

    Showing historical executions on a chart

    hi -

    I add a strategy to a chart.
    Can I have NT show historical (virtual) executions on that chart?

    Onn

    #2
    Originally posted by onnb1 View Post
    hi -

    I add a strategy to a chart.
    Can I have NT show historical (virtual) executions on that chart?

    Onn
    That is the default behavior, provided that you have not disabled Historical processing. To actually see the executions on the chart, you have to enable them using the DataSeries PropertyGrid for the chart.

    Comment


      #3
      thanks for the quick reply koganam

      I've been looking around for this
      I have some foggy memory of seeing this a long time ago - how do you enable/disable historical processing?

      Comment


        #4
        Originally posted by onnb1 View Post
        thanks for the quick reply koganam

        I've been looking around for this
        I have some foggy memory of seeing this a long time ago - how do you enable/disable historical processing?
        All bars have a Boolean property, called Historical. You act on it.

        So, for example the branch statement:
        Code:
        if (Historical) return;
        will cause any Historical bar that meets it to bypass execution.
        Last edited by koganam; 01-04-2015, 10:22 PM.

        Comment


          #5
          Hello onnb1,

          Thank you for your post and thank you to koganam for answering your posts here.

          The historical executions will show if the strategy is designed to run over historical data. This is where koganam's suggestion of the Historical bool comes in to play. If you check for Historical == false before processing the strategy code in the OnBarUpdate() method you can prevent historical executions. There is no other option to disable the plotting of the strategy's historical executions, the only way would be to prevent the executions as a whole.

          Information on Historical can be found at the following link: http://www.ninjatrader.com/support/h...historical.htm

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          647 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          369 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          108 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          572 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          573 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X