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

Heiken Ashi in Strategy Builder

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

    Heiken Ashi in Strategy Builder

    Has anyone created a script for Heiken Ashi candle in the Strategy Builder?

    #2
    Hello Harmony,

    Thank you for your post.

    Only basic bar types may be added in the Strategy Builder, as mentioned in the Strategy Builder 301 video linked in this post:



    For other bar types, such as Heiken Ashi, this would require unlocking the script and using AddHeikenAshi() manually:


    Please let us know if we may be of further assistance.
    Emily C.NinjaTrader Customer Service

    Comment


      #3
      Just to cover all bases, you can apply your strategy builder strategy to any bar type and the strategy will use the chart bars as they are. You do not need to unlock the script unless you are looking to add a secondary series of bars that are not available in the strategy builder.

      You may not be understanding that the strategy adopts the chart bars as the default series, again it can be any bar type.




      Comment


        #4
        Thank you Tasker-182 . I like your answer. Just to clarify... If I have a chart in which I am running Heiken Ashi candle and selct the strategy in which I chose standard cancle, Will it will look at the heiken ashi bars on the chart for OHLC? Note in Heiken Ashi, the open is the mid-point of the Open+Close in the previous bar. Thanks again.

        Comment


          #5
          The strategy, when applied to a Heiken ashi bar chart will, historically use the Heikenashi ohlc values. As you observe these are not actual price so when you apply to live data the results will be different. This means you should not back test because a back test uses historical bars and you will get misleading results. Test with your sim account or market replay only,

          Note. If you want your strategy to use heiken ashi values And actual price values you would be better off using standard bars and then using the heiken ashi indicator as the input to the strategy builder. The indicator (free) is available in the NinjaTrader eco system, sorry I don’t have a link.

          Comment


            #6
            Hello Harmony and Tasker-182,

            Thank you for your notes.

            I appreciate the insight, Tasker-182. My interpretation of Harmony's question was a little closed off and I assumed we were discussing an added data series.

            Harmony, if you would like to try out what Tasker-182 suggested and add the Heiken Ashi indicator (it would be able to calculate on basic candle types as well), you would be able to import the indicator and use the indicator's values for conditions in the Strategy Builder.

            This indicator is publicly available on our NinjaTrader Ecosystem website:
            Here is a basic guideline of how to import NinjaScript add-ons in NinjaTrader 8:

            Note — To import NinjaScripts you will need the original .zip file.

            To Import:
            1. Download the NinjaScripts to your desktop, keep them in the compressed .zip file.
            2. From the Control Center window select the menu Tools > Import > NinjaScript Add-on...
            3. Select the downloaded .zip file
            4. NinjaTrader will then confirm if the import has been successful.

            Critical - Specifically for some NinjaScripts, it will prompt that you are running newer versions of @SMA, @EMA, etc. and ask if you want to replace, press 'No'

            Once installed, you may add the indicator to a chart by:
            • Right-click your chart > Indicators... > Select the Indicator from the 'Available' list on the left > Add > OK

            Here is a short video demonstration of the import process:
            Please let me know if I can be of further assistance.

            The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
            Emily C.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by OllieFeraher, 05-09-2024, 11:14 AM
            6 responses
            19 views
            0 likes
            Last Post OllieFeraher  
            Started by PaulMohn, 05-02-2024, 06:59 PM
            2 responses
            42 views
            0 likes
            Last Post PaulMohn  
            Started by ETFVoyageur, Today, 02:10 AM
            0 responses
            10 views
            0 likes
            Last Post ETFVoyageur  
            Started by rayyyu12, Today, 12:47 AM
            0 responses
            8 views
            0 likes
            Last Post rayyyu12  
            Started by ETFVoyageur, 05-07-2024, 07:05 PM
            17 responses
            137 views
            0 likes
            Last Post ETFVoyageur  
            Working...
            X