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 burtoninlondon, Today, 12:38 AM
        0 responses
        10 views
        0 likes
        Last Post burtoninlondon  
        Started by AaronKoRn, Yesterday, 09:49 PM
        0 responses
        14 views
        0 likes
        Last Post AaronKoRn  
        Started by carnitron, Yesterday, 08:42 PM
        0 responses
        11 views
        0 likes
        Last Post carnitron  
        Started by strategist007, Yesterday, 07:51 PM
        0 responses
        13 views
        0 likes
        Last Post strategist007  
        Started by StockTrader88, 03-06-2021, 08:58 AM
        44 responses
        3,983 views
        3 likes
        Last Post jhudas88  
        Working...
        X