Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Displaying Data in Data Box from Indicators?

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

    Displaying Data in Data Box from Indicators?

    Hi there,

    I recently imported a set of indicator ninjascripts done by someone else. The original download post is here:



    The indicator works great, but nothing from that indicator shows up in the Databox for me to reference (or to place in my strategy to set variables against these values).

    There are lines to add plots corresponding to different values, but what can I check in the script to make sure that it's posting correct data to the Data Box, or even has accessible values to use in strategy Ninjascripts?

    Let me know if the question above is unclear or if code samples are needed.

    Yours,
    Spider

    #2
    Hello Spider,

    Thank you for your post.

    I am not familiar with this indicator but when applied to my chart it is providing the HAClose, HAOpen, HALow, and HAHigh in the Data Box.

    What values are you looking for? Can you locate these value sin the code?

    Comment


      #3
      Disregard! I read in a related post that changing the plot color to match the background color brings the indicator values into view (which it did.) All set here!

      Comment


        #4
        I have a very similar question--I'm trying to incorporate values from my databox for certain indicators into my strategy. My databox values come in fine, I just don't know the syntax for pulling these values into a strategy (I'm not so new to C# but new to Ninja). So let's say my databox looks like this (crude I know):

        | @ BBD Levels |
        __________________
        |1 off | 1.26|
        |1 on | 1.44|

        What's the syntax for incorporating these values into my strategy for the current bar and previous bars? Are there any good examples or previous posts I missed?

        Comment


          #5
          Hello GuySmiley,

          Thank you for your post and welcome to the NinjaTrader Support Forum!

          You will need to access the values from your indicators in your strategy please visit the following link: http://www.ninjatrader.com/support/f...ead.php?t=4991

          You may also wish to review the indicator methods in NinjaScript to understand how to access plots from your indicators: http://www.ninjatrader.com/support/h...indicators.htm

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by tsantospinto, 04-12-2024, 07:04 PM
          6 responses
          98 views
          0 likes
          Last Post tsantospinto  
          Started by rocketman7, Today, 02:12 AM
          5 responses
          25 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by ZenCortexReal, Today, 08:54 AM
          0 responses
          1 view
          0 likes
          Last Post ZenCortexReal  
          Started by ZenCortexReal, Today, 08:52 AM
          0 responses
          0 views
          0 likes
          Last Post ZenCortexReal  
          Started by trilliantrader, 04-18-2024, 08:16 AM
          7 responses
          28 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Working...
          X