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 NullPointStrategies, Today, 05:17 AM
      0 responses
      50 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      127 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      69 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      42 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      46 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X