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 and NT8

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

    Heiken Ashi and NT8

    Hello,

    I try to program an strategy in NT8 using Heiken Ashi , I know that now in NT8 is a new BarType , but I do not want to use as BarType (I use Renko ) . I want to introduce Heiken Ashi as condition in the strategy as I could do in NT7.

    in NT7 I could program instructions like this:

    (this.HeikenAshi().HAOpen[0] >= this.HeikenAshi().HAClose[0])

    is it available in NT8 , and what would be the translation?

    #2
    Hello ALBER,

    Thanks for your post.

    You are correct, the Heiken-Ashi in NinjaTrader 8 is a bar type but it does not cover Range or Renko bars.

    A forum member has posted his version of the HA indicator for NT8 which you can download here: http://ninjatrader.com/support/forum...32&postcount=3

    I believe the translation,using the above indicator, would be: CustomHeikenAshi().HAOpen[0] >= CustomHeikenAshi().HAClose[0]
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      script for HA bars for NT8

      where is the script for HA bars,NT 8 please?

      Comment


        #4
        Hello laredo787,

        Thanks for your post.

        In NT8 Heiken-Ashi is available as a bar type. You can access all bar types through the NinjaScript editor. Please note that NT8 questions should be posted in the NT8 forums, thank-you.
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          HA bar type

          i understood HA to be a bar type.However when a set the data series>> HA,and then go to select say a 60 min chart,it resets the chart to a minute bar not an HA bar??

          Comment


            #6
            Hello laredo787,

            Thanks for your post.

            If you want a 60 minute Heiken-Ashi chart you would need to go into the data series and ensure that Heiken-Ashi is selected and then select the type (minute) and then set the value.
            Paul H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by zstheorist, Today, 07:52 PM
            0 responses
            3 views
            0 likes
            Last Post zstheorist  
            Started by pmachiraju, 11-01-2023, 04:46 AM
            8 responses
            149 views
            0 likes
            Last Post rehmans
            by rehmans
             
            Started by mattbsea, Today, 05:44 PM
            0 responses
            5 views
            0 likes
            Last Post mattbsea  
            Started by RideMe, 04-07-2024, 04:54 PM
            6 responses
            33 views
            0 likes
            Last Post RideMe
            by RideMe
             
            Started by tkaboris, Today, 05:13 PM
            0 responses
            5 views
            0 likes
            Last Post tkaboris  
            Working...
            X