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

AddOn and Alert Event data

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

    AddOn and Alert Event data

    Hello,

    Is there a method or callback to get alert data from Addon when you create an alert from a graphic ?

    I would like to know if i can store every created alerts to Addon.

    Thanks.
    johnok
    NinjaTrader Ecosystem Vendor - Trade With Me

    #2
    Hello johnok,

    Thanks for your post.

    To clarify, are you wanting to access alerts that are created in the Alerts window (for example, right-click on chart > Alerts). See attached image.

    If so, the chart alerts are not accessible from Ninjascript. You cannot create chart alerts from Ninjascript.

    Something you could do is create an AddOn and code for an alert based on some action. You could use the Alert() method in a script to create an alert.

    See this help guide page for more information: https://ninjatrader.com/support/help...nt8/?alert.htm

    Let us know if we may assist further.
    Attached Files
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      Thank you for you answer,

      So i can not access to alert from Addon, Ok !

      And is it possible to access to alerts from an indicator, or even list all created alerts ?

      Thanks
      johnok
      NinjaTrader Ecosystem Vendor - Trade With Me

      Comment


        #4
        Hello johnok,

        Thanks for your note.

        There is no supported way to access Alerts made in the Alerts window.

        That said, you could potentially use the Alerts collection. See the example in the forum thread below.



        Let us know if we may further assist.
        Brandon H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by RubenCazorla, 08-30-2022, 06:36 AM
        3 responses
        77 views
        0 likes
        Last Post PaulMohn  
        Started by f.saeidi, Yesterday, 12:14 PM
        9 responses
        23 views
        0 likes
        Last Post f.saeidi  
        Started by Tim-c, Today, 03:54 AM
        0 responses
        3 views
        0 likes
        Last Post Tim-c
        by Tim-c
         
        Started by FrancisMorro, Today, 03:24 AM
        0 responses
        5 views
        0 likes
        Last Post FrancisMorro  
        Started by Segwin, 05-07-2018, 02:15 PM
        10 responses
        1,772 views
        0 likes
        Last Post Leafcutter  
        Working...
        X