Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

How to change ChartExecutionStyle in backtest?

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

    How to change ChartExecutionStyle in backtest?

    When I want to change plotting trades in backtest chart,
    I call this code in Initialize() method:

    Code:
    if (ChartControl != null)  
    ChartControl.BarsArray[0].BarsData.PlotExecutions = ChartExecutionStyle.DoNotPlot;
    But it simply does not work = the trade markers and execution prices are still ploted in chart.
    I tried many combanations and methods, but nothing stops the execution plotting.

    How should be written working code, that removes the plotted executions from backtest chart?
    Last edited by misova; 09-28-2015, 07:16 AM.

    #2
    Hello,

    Thank you for the question.

    While we do not have documentation for this method, I’ll be happy to consult with a member of development to see what we can dig up.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thank you,
      I really accept - if it is not documented - then it is not officially supported.
      Just some tip or "idea to explore" from would be really appreciated
      Thank you for your help.

      Best regards
      Misova
      Last edited by misova; 09-28-2015, 12:48 PM.

      Comment


        #4
        Hi, I am curious
        if you had some time to find any idea or help in development team
        about how to disable plotting executions on backtest chart...

        We are reviewing many backtests each day and it is sometimes
        frustrating to see at chart, when there are too many executions plotted.
        If we could get rid of them, it could make our daily work a lot easier.

        Thanx

        Comment


          #5
          Hello,

          Thank you for the reply.

          I am currently working with development on this item, unfortunately I have no ETA on this as development would need to review the request to see if this is possible or would be something that can not be done in that specific chart.

          I do have this request in though and will reply back once I have further information.

          I look forward to being of further assistance.
          JesseNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by fx.practic, 10-15-2013, 12:53 AM
          5 responses
          5,404 views
          0 likes
          Last Post Bidder
          by Bidder
           
          Started by Shai Samuel, 07-02-2022, 02:46 PM
          4 responses
          95 views
          0 likes
          Last Post Bidder
          by Bidder
           
          Started by DJ888, Yesterday, 10:57 PM
          0 responses
          8 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by MacDad, 02-25-2024, 11:48 PM
          7 responses
          159 views
          0 likes
          Last Post loganjarosz123  
          Started by Belfortbucks, Yesterday, 09:29 PM
          0 responses
          8 views
          0 likes
          Last Post Belfortbucks  
          Working...
          X