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

DrawTextFixed in Panel 1 & 2

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

    DrawTextFixed in Panel 1 & 2

    Is possible to insert (2) DrawTextFixed one in panel 1 and the other in panel 2?.

    #2
    Hello,

    Someone will repsond to your post on Monday. Sorry for the delay.
    DenNinjaTrader Customer Service

    Comment


      #3
      With your indicator applied to panel2 and "DrawOnPricePanel = false", the text will draw on panel2. When you want to draw on panel1, set "DrawOnPricePanel = true" and draw the text. Set it back to "false" again before you redraw text to panel2.

      Comment


        #4
        Thanks MJT, correct...
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Originally posted by MJT View Post
          With your indicator applied to panel2 and "DrawOnPricePanel = false", the text will draw on panel2. When you want to draw on panel1, set "DrawOnPricePanel = true" and draw the text. Set it back to "false" again before you redraw text to panel2.
          Thanks for taking the time and respond, but I want both at the same time panel-1 and panel 2. Any ideas?

          Regards

          Comment


            #6
            Hi PrTester, you should be able to draw to both from one indicator if you use a unique tag and set the DrawOnPricePanel to true / false in your drawing conditions.
            BertrandNinjaTrader Customer Service

            Comment


              #7
              Originally posted by NinjaTrader_Bertrand View Post
              Hi PrTester, you should be able to draw to both from one indicator if you use a unique tag and set the DrawOnPricePanel to true / false in your drawing conditions.

              Sorry for the misunderstanding but my post should read:

              I want to write on both panel at the same time; panel-1 and panel 2. Any ideas?

              Comment


                #8
                I believe they are saying, change the "DrawOnPricePanel = " at the beginning of each draw routine and you will be drawing on both panels at once. Since a computer is so fast, you can't see that it is drawing on one panel and then the other.
                eDanny
                NinjaTrader Ecosystem Vendor - Integrity Traders

                Comment


                  #9
                  Hi PrTester, yes you can try manipulating DrawOnPricePanel to True / False before you call your draw object in question, just make sure you use a unique tag id for each draw object.
                  BertrandNinjaTrader Customer Service

                  Comment


                    #10
                    Originally posted by NinjaTrader_Bertrand View Post
                    Hi PrTester, yes you can try manipulating DrawOnPricePanel to True / False before you call your draw object in question, just make sure you use a unique tag id for each draw object.
                    let's say i manipulate it but the result will be 1 text on and 1 off, i want both text on at the same time, is that possible?

                    Regards,

                    Comment


                      #11
                      PrTester,

                      See attached.
                      Attached Files
                      Josh P.NinjaTrader Customer Service

                      Comment


                        #12
                        Originally posted by NinjaTrader_Josh View Post
                        PrTester,

                        See attached.
                        Hats off, You're the man!, Thanks

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by TheWhiteDragon, 01-21-2019, 12:44 PM
                        4 responses
                        542 views
                        0 likes
                        Last Post PaulMohn  
                        Started by GLFX005, Today, 03:23 AM
                        0 responses
                        3 views
                        0 likes
                        Last Post GLFX005
                        by GLFX005
                         
                        Started by XXtrader, Yesterday, 11:30 PM
                        2 responses
                        11 views
                        0 likes
                        Last Post XXtrader  
                        Started by Waxavi, Today, 02:10 AM
                        0 responses
                        7 views
                        0 likes
                        Last Post Waxavi
                        by Waxavi
                         
                        Started by TradeForge, Today, 02:09 AM
                        0 responses
                        14 views
                        0 likes
                        Last Post TradeForge  
                        Working...
                        X