• 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

HMA as a ray

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

    HMA as a ray

    Attached is a simple indicator that draws an HMA as a ray instead of a line - from the last completed bar through the current bar. I am quite happy with it, meaning I did not experience any technical problems using it.

    I would appreciate if someone from NT could look it over and/or test it to ensure there's nothing improper in the code. If fine, I'll put it up in the FileSharing Section.

    sandman
    Attached Files

    #2
    Hello,

    Thank you for the post.

    I reviewed the script but I don't see anything that sticks out as wrong.

    Generally, I would suggest for testing that you just test the item on each of the various bar types to ensure it plots without error, also testing at various intervals of those types too.

    Outside of that, there wouldn't be much testing you could do aside from potentially calling the indicator from a strategy or using it in a strategy from the strategy analyzer.

    Please let me know if I may be of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Jesse. Thank you. I have not used it as part of a strategy but using it in various bar types and intervals worked just fine.

      Allow me two more questions concerning the Indicator menu - see attached image.
      1. Is there a way to make the "Price marker(s)" line disappear? If so, how?
      2. How can I change the labeling code concerning the line style? Currently this private bool shows "True/False". I'd like it to show "Solid/Dash".

      sandman
      Attached Files

      Comment


        #4
        Hello,

        Thank you for the post.

        As far as Removing existing properties, I would not be sure of a way to do this specifically.

        Regarding the LineStyle, you could change this to use an Enum rather than a Boolean value which would show Words instead of True or False. We have a sample of this concept here: http://ninjatrader.com/support/forum...ead.php?t=3420

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment


          #5
          uiu

          thx real nice bro

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by afoschini, Today, 09:21 AM
          1 response
          5 views
          0 likes
          Last Post NinjaTrader_ChrisL  
          Started by Leope, Today, 09:37 AM
          1 response
          2 views
          0 likes
          Last Post NinjaTrader_RyanS  
          Started by svadukia, Today, 04:38 AM
          1 response
          3 views
          0 likes
          Last Post NinjaTrader_PatrickH  
          Started by dmackay41, Today, 12:50 AM
          3 responses
          23 views
          0 likes
          Last Post NinjaTrader_Kate  
          Started by ahrt|, Today, 08:37 AM
          2 responses
          10 views
          0 likes
          Last Post ahrt|
          by ahrt|
           
          Working...
          X