Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Horizontal trend line label with alert

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

    Horizontal trend line label with alert

    Dear All,
    I am looking for an indicator that prints the price above the horizontal line tool (f6) and once the price penetrates that line, it triggers an alert.
    I have the indicator in NT7 format, and would like to have it converted to NT8
    Any feedback is appreciate
    best
    Gus

    #2
    Hello GussJ,

    Thanks for opening the thread.

    We do not do conversion requests or write code for our clients in the Support Department at NinjaTrader, but I can give some direction if you are looking to program the indicator on your own.

    If you are looking for services to convert the indicator for you, I can have a member of our Business Development team provide additional information on NinjaScript consultants. If that is the case, please write in to platformsupport [at] ninjatrader [dot] com with the thread URL and the text Attention Jim and I will get you connected.

    To create this indicator, you will have to loop through all drawing objects on a chart to find your particular drawing object. Once found, you can use the price value from one of the anchors to be used in a CrossAbove() condition to trigger your alert.

    Alternately, you can create a simple alert in a chart that can perform most aspects of this task.

    Here are links to some documentation that can be used to assist in developing this indicator or creating an Alert in a chart. I will also include a link to the Code breaking section of the help guide that outlines all documented code changes between NinjaTrader 7 and NinjaTrader 8 NinjaScripts.

    DrawObjects collection (looping through draw objects) - https://ninjatrader.com/support/help...rawobjects.htm

    ChartAnchors - https://ninjatrader.com/support/help...tm#chartanchor

    Draw.Text() - https://ninjatrader.com/support/help.../draw_text.htm

    CrossAbove() - https://ninjatrader.com/support/help...crossabove.htm

    Alert() - https://ninjatrader.com/support/help...n-us/alert.htm

    Code Breaking Changes - https://ninjatrader.com/support/help...ng_changes.htm

    Alerts from a chart - https://ninjatrader.com/support/help...-us/alerts.htm

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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    581 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    338 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    554 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    552 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X