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

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.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by George21, Today, 10:07 AM
    0 responses
    5 views
    0 likes
    Last Post George21  
    Started by Stanfillirenfro, Today, 07:23 AM
    9 responses
    23 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by DayTradingDEMON, Today, 09:28 AM
    2 responses
    16 views
    0 likes
    Last Post DayTradingDEMON  
    Started by navyguy06, Today, 09:28 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    8 responses
    32 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X