Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Surfacing available data values from an indicator

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

    Surfacing available data values from an indicator

    Hi there,

    In NT7, I used HeikenAshiSmoothed with great success in my strategies. With NT8, I'm struggling to figure out the values that the new NT8 indicator has available.

    This is the indicator I'm looking at: https://ninjatrader.com/support/foru...&pp=40&keyid=9

    Previously, I knew what values I could call from the HAS indicator, and what I could send to get the values I needed:

    Code:
    HA_Open = Math.Round(HeikenAshiSmoothed(.7,HAMA.SMA,HAMA.SMMA,1,2).HAOpen[1],2);
    					HA_Open_Prev = Math.Round(HeikenAshiSmoothed(.7,HAMA.SMA,HAMA.SMMA,1,2).HAOpen[2],2);
    					HA_Close = Math.Round(HeikenAshiSmoothed(.7,HAMA.SMA,HAMA.SMMA,1,2).HAClose[1],2);
    					HA_Close_Prev = Math.Round(HeikenAshiSmoothed(.7,HAMA.SMA,HAMA.SMMA,1,2).HAClose[2],2);
    Now I have no idea. When I start to type "HeikenAshiSmoothed" in my editor, I get all of the method options for brushes, price line color, etc., but nothing for HAClose, HAOpen, etc. I can set the smoothing period, but that's about it.

    Where should I be looking or doing to get the following values from the indicator?

    Code:
    AddPlot(Brushes.Transparent, "HAOpen");
    				AddPlot(Brushes.Transparent, "HAHigh");
    				AddPlot(Brushes.Transparent, "HALow");
    				AddPlot(Brushes.Transparent, "HAClose");
    Thanks in advance for any help!

    #2
    Hello Spiderbird,

    Thank you for your note.

    Below would be examples of how you could reference the HAClose and HAHigh Plots of the HeikenAshiSmoothed indicator.

    HeikenAshiSmoothed(Close, Brushes.Red, Brushes.LightGreen, Brushes.Transparent, 2, 4, false, true, 34, 2, NinjaTrader.Gui.DashStyleHelper.Solid, Brushes.Blue).HAClose[0]

    HeikenAshiSmoothed(Close, Brushes.Red, Brushes.LightGreen, Brushes.Transparent, 2, 4, false, true, 34, 2, NinjaTrader.Gui.DashStyleHelper.Solid, Brushes.Blue).HAHigh[0]

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Alan! That did the trick. Much appreciated.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      88 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      134 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      119 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      69 views
      0 likes
      Last Post PaulMohn  
      Working...
      X