• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

displaying calculated variables

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

    displaying calculated variables

    I have some variables calculated in the initialize method part of the indicator.

    I want to display these somehow.

    1) I would prefer to display them in databox. How can I do this?

    2) I would also like to know how to display them in top left or bottom left corner of chart.

    thanks.

    #2
    1) Unfortunately this is beyond what we provide support for.
    2) NT6.5: please check out the new DrawTextFixed method
    DierkNinjaTrader Customer Service

    Comment


      #3
      1) can you outline the general steps involved? I am really lost how to approach this. And what methods or properties might be useful for me to achieve this one way or another?

      2) And how would I do this in 6? I don't use 6.5 beta anymore... it crashes way too often. 6 is far more stable.

      Comment


        #4
        1) Unfortunately this is beyond what we provide support for.
        2) Unfortunately this feature only is available in NT6.5
        DierkNinjaTrader Customer Service

        Comment


          #5
          1) ok, I will ask a different question then. Not what I wanted, but I guess this is an easy workaround.

          how do I modify the value of an existing indicator property from within the indicator's initialize section?

          Comment


            #6
            Not sure I follow. You can modify/access any property like:
            MyProperty = myValue;
            DierkNinjaTrader Customer Service

            Comment


              #7
              I think I tried that yesterday but after running the indicator, I went back into the indicator properties dialog and the old values were still displayed there. Is that normal behaviour?

              although I may have been modifying the underlying variable for the property. I can't remember.

              Comment


                #8
                Likely yes. I suggest trying that only in OnBarUpdate method or the new event handling methods but not in Initialize to avoid confusion.
                DierkNinjaTrader Customer Service

                Comment


                  #9
                  ok thanks .

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by treadstone144, Today, 09:54 AM
                  1 response
                  5 views
                  0 likes
                  Last Post NinjaTrader_ChristopherJ  
                  Started by morrnel, Today, 10:01 AM
                  1 response
                  6 views
                  0 likes
                  Last Post NinjaTrader_PaulH  
                  Started by PatrickM, Yesterday, 08:43 PM
                  1 response
                  19 views
                  0 likes
                  Last Post NinjaTrader_Jesse  
                  Started by NickyD, Today, 09:20 AM
                  2 responses
                  9 views
                  0 likes
                  Last Post NickyD
                  by NickyD
                   
                  Started by UncleRyan, Yesterday, 08:18 PM
                  2 responses
                  13 views
                  0 likes
                  Last Post UncleRyan  
                  Working...
                  X