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

Limitations when using DrawOnPricePanel = false;

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

    Limitations when using DrawOnPricePanel = false;

    Using DrawOnPricePanel = false; to allow for DrawRegion to be used on an indicator in panel 2 makes it not possible to plot markers (DrawSquare, etc) on the price chart when certain indicator conditions are met.(OB/OS). Is there a workaround for this?

    #2
    I think you can use DrawOnPricePanel = True; just before you draw on price panel needs then revert after back to DrawOnPricePanel = false;

    Comment


      #3
      Hello glennts,

      Thank you for your post.

      If DrawOnPricePanel is set to true, all draw objects are painted on the price panel which is the panel that displays the price bar data. If false, draw objects are painted on the actual indicator panel itself. There is no work around for this item.

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

      Comment


        #4
        Originally posted by glennts View Post
        Using DrawOnPricePanel = false; to allow for DrawRegion to be used on an indicator in panel 2 makes it not possible to plot markers (DrawSquare, etc) on the price chart when certain indicator conditions are met.(OB/OS). Is there a workaround for this?
        Glennts - I agree with Tasker-182's comments. I do this all the time. My only caveat would be to keep it simple. Invariably, everytime I have gotten elaborate with this, It messes up.

        ~J

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by love2code2trade, 04-17-2024, 01:45 PM
        4 responses
        37 views
        0 likes
        Last Post love2code2trade  
        Started by alifarahani, Today, 09:40 AM
        2 responses
        13 views
        0 likes
        Last Post alifarahani  
        Started by junkone, Today, 11:37 AM
        3 responses
        16 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by pickmyonlineclass, Today, 12:23 PM
        0 responses
        2 views
        0 likes
        Last Post pickmyonlineclass  
        Started by frankthearm, Yesterday, 09:08 AM
        12 responses
        44 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Working...
        X