• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

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

              https://www.bigmiketrading.com/downl...-download.html

              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 rontronimous, Today, 06:12 PM
                  1 response
                  3 views
                  0 likes
                  Last Post NinjaTrader_ShawnB  
                  Started by Vinhasa, Today, 03:15 PM
                  3 responses
                  13 views
                  0 likes
                  Last Post NinjaTrader_Manfred  
                  Started by 1001111, Today, 03:03 PM
                  1 response
                  9 views
                  0 likes
                  Last Post NinjaTrader_Tyler  
                  Started by Seedbird, Today, 03:06 PM
                  1 response
                  13 views
                  0 likes
                  Last Post NinjaTrader_BrendanC  
                  Started by mtamaku, Today, 02:46 PM
                  1 response
                  7 views
                  0 likes
                  Last Post NinjaTrader_Kate  
                  Working...
                  X