Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Access to values of some indicators

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

    Access to values of some indicators

    There are some indicators that I would like to have the values for so I can use them in creating strategies. A good example is Heiken Ashi. Is there any way to accomplish that? Can I store the values in some data series or array so I can use them later?
    Thanks!

    #2
    Try HeikenAshi().HAClose[0] for HeikenAshi. You can do other HAOpen etc for the other HeikenAshi values. Which other indicators are you looking for?
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      did that and it did not work. So, I added and exposed my own properties and now it does. For now, that is the only one I am interested in.
      Thanks!

      Comment


        #4
        My bad. I forgot that the HeikenAshi indicator had the limitation in the sense that it produces this message when you try to access it "The indicator ‘HeikenAshi’ is intended for visualization and can only be used on a chart."
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Is this message ("...intended for visualization and can only be used on a chart") the result of the following apparently undocumented setting?

          Code:
          ChartOnly = true;
          I didn't find it in the NinjaTrader help, nor did Google of "NinjaTrader ChartOnly" display anything I would consider a definition.

          Will this some day be added to the NinjaTrader help?

          Comment


            #6
            As Josh explained, the HeikenAshi is for display only. There is nothing you can do about. Thanks for your understanding.

            Comment


              #7
              Well, you can, if you expose the values that you want with properties. It did work for me. But yes, as it is pre-packaged, it is just for showing the plot.
              Last edited by lgarcia3; 04-15-2008, 09:56 AM.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by patrickmlee007, Today, 09:33 AM
              2 responses
              15 views
              0 likes
              Last Post patrickmlee007  
              Started by magnatauren, 08-15-2020, 02:12 PM
              5 responses
              206 views
              0 likes
              Last Post RaddiFX
              by RaddiFX
               
              Started by rene69851, 05-02-2024, 03:25 PM
              1 response
              21 views
              0 likes
              Last Post rene69851  
              Started by ETFVoyageur, Yesterday, 07:05 PM
              5 responses
              45 views
              0 likes
              Last Post ETFVoyageur  
              Started by jpeep, 08-16-2020, 08:31 AM
              13 responses
              487 views
              0 likes
              Last Post notenufftime  
              Working...
              X