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 - Alert Development Question

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

    #46
    Originally posted by hawks67 View Post
    Chelsea, were you able to come up with a solution to this issue? ...

    Thanks!

    Hi Hawks and also my apologies to Chelsea.

    Chelsea did offer to help with Remote Access but I was and still currently am not in a position to proceed.

    I would be very happy if Chelsea could pick this up with you as I hope to be back soon.

    Cheers

    Alan

    Comment


      #47
      Chelsea, I've been interested in modifying the standard NT HA indicator so that its values could be accessible by a strategy. Posts in other threads by several folks including NinjaTrader_Josh indicated that the indicator as-is cannot be used by a strategy because it's a visual thing and not a real data thing, and that it had to be modified using a class (see here for the link Josh posted: http://www.ninjatrader.com/support/f...ead.php?t=4991) in order for it to be used this way. Such development is far beyond my moderate coding skills, so I was replying to saintalan's post in the hopes that perhaps he and you had come up with something.

      Comment


        #48
        Hi hawks67,

        That is not entirely true (at least for the version in NinjaTrader 7).

        The HeikenAshi does have public dataseries that have the open, high, low, and close of the HeikenAshi bars.

        For example:

        Print(HeikenAshi(Input).HAHigh[0]);

        This would print the HeikenAshi high.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #49
          Chelsea, I'm sorry if I misspoke. I meant that the data components of the HA (HAClose, etc) are not accessible to strategies.

          Comment


            #50
            Hello hawks67,

            The HAClose, HAOpen, HALow, and HAHigh are all available to strategies.

            Can you demonstrate that they are not?
            Chelsea B.NinjaTrader Customer Service

            Comment


              #51
              Both the Heikin-Ashi indicator and the modified version which is available here

              The best futures trading community on the planet: futures trading, market news, trading charts, trading platforms, trading strategies


              have the values exposed via public properties and can be easily accessed by any strategy. This applies to both manually coded strategies and strategies built with the strategy wizard.

              Comment


                #52
                Hi hawks67,

                Attached is an example that prints this information to the output window for the HeikenAshi indicator that is included with NinjaTrader.

                This is to demonstrate this data is available.

                To view the output, open the output window before running the strategy. (Tools -> Output Window().

                Follow these steps to import the NinjaScript:
                1. Download the script to your desktop, keep it in the compressed .zip file.
                2. From the Control Center window select the menu File > Utilities > Import NinjaScript
                3. Select the downloaded .zip file
                4. NinjaTrader will then confirm if the import has been successful.

                Critical *Note that on any files that say "File already exists on your PC" that start with an "@" symbol are the ones that came preloaded inside of NinjaTrader so you would say "No" so that you do not override those files.
                Attached Files
                Chelsea B.NinjaTrader Customer Service

                Comment


                  #53
                  Thanks Chelsea and Harry.

                  The print works and I have used the wizard to create a simple Inside Bar identifier with the standard NT HA indi.

                  For info, it also works fine on HA over RENKO.

                  I am happy with that.

                  Cheers

                  Alan

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by RubenCazorla, Today, 09:07 AM
                  2 responses
                  13 views
                  0 likes
                  Last Post NinjaTrader_ChelseaB  
                  Started by i019945nj, 12-14-2023, 06:41 AM
                  7 responses
                  82 views
                  0 likes
                  Last Post NinjaTrader_ChelseaB  
                  Started by timmbbo, 07-05-2023, 10:21 PM
                  4 responses
                  158 views
                  0 likes
                  Last Post NinjaTrader_Gaby  
                  Started by tkaboris, Today, 08:01 AM
                  1 response
                  7 views
                  0 likes
                  Last Post NinjaTrader_Gaby  
                  Started by Lumbeezl, 01-11-2022, 06:50 PM
                  31 responses
                  820 views
                  1 like
                  Last Post NinjaTrader_Adrian  
                  Working...
                  X