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 use custom plots to replace DrawRectangle or DrawRegion

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

    How to use custom plots to replace DrawRectangle or DrawRegion

    Hey folks,

    I have a number of indicators I've developed that have background coloring between areas. A few of these are used simultaneously, and Ninjatrader's performance really starts to suffer.

    After seeing a comment from Harry on using custom plots rather than DrawRegion to improve performance, I was hoping someone could point me in the right direction on how to do so.

    Thanks in advance for any resources or assistance provided!

    #2
    Hello Newbie-NT-Scriptor,

    That was my mistake, this would not be available for NT7. You can see the pivots indicator in NT7 for an example of custom rendering however there is no documentation for NT7 rendering.

    public override void Plot
    JesseNinjaTrader Customer Service

    Comment


      #3
      Hey Jesse,

      Thanks for the clarification. I'll take a look at the zig zag then.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Shai Samuel, 07-02-2022, 02:46 PM
      4 responses
      92 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by DJ888, Yesterday, 10:57 PM
      0 responses
      6 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      158 views
      0 likes
      Last Post loganjarosz123  
      Started by Belfortbucks, Yesterday, 09:29 PM
      0 responses
      7 views
      0 likes
      Last Post Belfortbucks  
      Started by zstheorist, Yesterday, 07:52 PM
      0 responses
      7 views
      0 likes
      Last Post zstheorist  
      Working...
      X