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

script assist

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

    script assist

    Would you be able to take a look or add it to my indicator and tell me how I would add Heiken Ashi as a bar type? I think it would be like a 30 second fix.

    #2
    Hello pthomas,

    Thanks for your question.

    I've included documentation links for Multi Series NinjaScripts and AddHeikenAshi(). The documentation will walk you though a Multi Series NinjaScript and will provide example code to add a Heiken Ashi Bar Type.

    Multi Series NinjaScripts (Important read) - https://ninjatrader.com/support/help...nstruments.htm

    AddHeikenAshi() - https://ninjatrader.com/support/help...heikenashi.htm

    Please let us know if you have any questions on the material.
    JimNinjaTrader Customer Service

    Comment


      #3
      So how would I add AddHeikenAshi as a style instead of a type? Because how this thing is setup is. Chart Style Candlestick, OHLC, HL. List the Type range, tick, renko, minute, etc.. What I want to do is add HA and use it with the tick, what would I need to do?

      Originally posted by NinjaTrader_Jim View Post
      Hello pthomas,

      Thanks for your question.

      I've included documentation links for Multi Series NinjaScripts and AddHeikenAshi(). The documentation will walk you though a Multi Series NinjaScript and will provide example code to add a Heiken Ashi Bar Type.

      Multi Series NinjaScripts (Important read) - https://ninjatrader.com/support/help...nstruments.htm

      AddHeikenAshi() - https://ninjatrader.com/support/help...heikenashi.htm

      Please let us know if you have any questions on the material.

      Comment


        #4
        Hello pthomas,

        AddHeikenAshi() will let you add a data series that is based on the Heiken Ashi Bar Type to your NinjaScript. There is not a Heiken Ashi Chart Style.

        Are you trying to add an indicator that operates off of a tick series to a Heiken Ashi Chart? This could be done by creating a chart with two data series, and then having the indicator use the tick series as input. Alternately, you can add a tick series to your indicator so it operates off of that data series instead of BarsInProgress 0.

        You may reference the Working with Price Data and the Working with Indicators documents for adding multiple data series to a chart and and to change an indictaor's Input series.

        Working with Price Data - https://ninjatrader.com/support/help...price_data.htm

        Working with Indicators - https://ninjatrader.com/support/help...indicators.htm

        You may reference the Multi Series NinjaScript documentation in my previous post for a complete guide to add additional data series to a NinjaScript.

        If this information does not resolve your inquiry, could you further describe what you are trying to do exactly?
        JimNinjaTrader Customer Service

        Comment


          #5
          Can I send you the indicator so you know what I am talking about?



          Originally posted by NinjaTrader_Jim View Post
          Hello pthomas,

          AddHeikenAshi() will let you add a data series that is based on the Heiken Ashi Bar Type to your NinjaScript. There is not a Heiken Ashi Chart Style.

          Are you trying to add an indicator that operates off of a tick series to a Heiken Ashi Chart? This could be done by creating a chart with two data series, and then having the indicator use the tick series as input. Alternately, you can add a tick series to your indicator so it operates off of that data series instead of BarsInProgress 0.

          You may reference the Working with Price Data and the Working with Indicators documents for adding multiple data series to a chart and and to change an indictaor's Input series.

          Working with Price Data - https://ninjatrader.com/support/help...price_data.htm

          Working with Indicators - https://ninjatrader.com/support/help...indicators.htm

          You may reference the Multi Series NinjaScript documentation in my previous post for a complete guide to add additional data series to a NinjaScript.

          If this information does not resolve your inquiry, could you further describe what you are trying to do exactly?

          Comment


            #6
            Hello pthomas,

            I do not think the indicator alone will make it clear to me what you are trying to accomplish, but if you think including the indicator will compliment additional detail on what you are trying to do, please feel free to attach it to your post.

            You can also send it to me at platformsupport [at] ninjatrader [dot] com. If you wish to send it in via email, please include a link to this thread and the text "Attn Jim."

            Please follow the instructions at the link provided for properly exporting NinjaScripts: https://ninjatrader.com/support/help...tAsSourceFiles

            If you want to provide an illustration of what you have in mind that may be another way we can move forward.

            Also, I have requested that this thread moves to the Indicators forum as the subject is related to indicators rather than AddOns.

            I look forward to being of further assistance.
            Last edited by NinjaTrader_Jim; 01-25-2018, 02:12 PM.
            JimNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by bortz, 11-06-2023, 08:04 AM
            47 responses
            1,609 views
            0 likes
            Last Post aligator  
            Started by jaybedreamin, Today, 05:56 PM
            0 responses
            9 views
            0 likes
            Last Post jaybedreamin  
            Started by DJ888, 04-16-2024, 06:09 PM
            6 responses
            19 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by Jon17, Today, 04:33 PM
            0 responses
            6 views
            0 likes
            Last Post Jon17
            by Jon17
             
            Started by Javierw.ok, Today, 04:12 PM
            0 responses
            16 views
            0 likes
            Last Post Javierw.ok  
            Working...
            X