Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AddHeikenAshi() To Use Selected Period Type And Value

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

    AddHeikenAshi() To Use Selected Period Type And Value

    I am using
    Code:
    if (State == State.Configure) { AddHeikenAshi(debugInstrument, BarsPeriodType.Minute, 30, MarketDataType.Last); }
    in my strategy. But I don't like that the period type and values have to be hard coded. I tried using
    Code:
    AddHeikenAshi(this.Instrument.FullName, this.BarsPeriod.BarsPeriodType, this.BarsPeriod.BaseBarsPeriodValue, MarketDataType.Last);
    , but at the time this runs, the BarsPeriod is set to Tick 1, probably meaning it hasn't been created yet. And when I optimize with this, the Instrument is null.

    Is there any way I can get the HeikenAshi indicator to use the user selected period and instrument?

    referenced https://ninjatrader.com/support/help...heikenashi.htm

    #2
    Hello saulback,

    Thank you for your note.

    This would not be supported however I will submit a feature request for this syntax to be added.

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

    Comment


      #3
      Is there a public facing issue tracker? How will I know if/when it gets implemented?

      Comment


        #4
        Hello saulback,

        The feature will be assigned an SFT number which you can check back on from time to time as well as follow the release notes of future releases to see if the feature was added, see


        I will follow up to this thread when a ID has been assigned.
        Alan P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        90 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        137 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
        120 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