• 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

  • sandman
    started a topic HMA as a ray

    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

  • skillrive
    replied
    uiu

    thx real nice bro

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    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.

    Leave a comment:


  • sandman
    replied
    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

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    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.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by futurenick, Today, 06:26 AM
1 response
11 views
0 likes
Last Post nkhoi
by nkhoi
 
Started by NinjaCustomer, Today, 12:29 PM
1 response
7 views
0 likes
Last Post NinjaTrader_ShawnB  
Started by Steve L, Today, 11:32 AM
0 responses
5 views
0 likes
Last Post Steve L
by Steve L
 
Started by prabbala, Today, 10:41 AM
0 responses
3 views
0 likes
Last Post prabbala  
Started by bebbus, Today, 10:36 AM
0 responses
4 views
0 likes
Last Post bebbus
by bebbus
 
Working...
X