Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 ageeholdings, Today, 07:43 AM
        0 responses
        1 view
        0 likes
        Last Post ageeholdings  
        Started by pibrew, Today, 06:37 AM
        0 responses
        4 views
        0 likes
        Last Post pibrew
        by pibrew
         
        Started by rbeckmann05, Yesterday, 06:48 PM
        1 response
        14 views
        0 likes
        Last Post bltdavid  
        Started by llanqui, Today, 03:53 AM
        0 responses
        6 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        12 views
        0 likes
        Last Post burtoninlondon  
        Working...
        X