Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Market Analyzer Alerts with Custom Indicator

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

    Market Analyzer Alerts with Custom Indicator

    Hi NT,

    Just curious, if there is an example of a basic custom indicator that can be used in the Market Analyzer to display alerts.

    I am looking to display an alert in the Market Analyzer in NT8, as opposed to the charts.

    I did it way back in NT7 but have forgotten the snippet of code.

    Thanks Irv

    #2
    Hello ij001,

    Any indicator with a Plot can be used with the market analyzer, you could see the SMA or EMA for simple plotting indicator examples.

    Alerts can be configured in the market analyzer alerts menu or in the indicators code, if you hard code the alert you can use the Alert command: https://ninjatrader.com/support/help...lightsub=alert

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

    Comment


      #3
      Originally posted by NinjaTrader_Jesse View Post
      Hello ij001,

      Any indicator with a Plot can be used with the market analyzer, you could see the SMA or EMA for simple plotting indicator examples.

      Alerts can be configured in the market analyzer alerts menu or in the indicators code, if you hard code the alert you can use the Alert command: https://ninjatrader.com/support/help...lightsub=alert

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

      Thanks for your reply.

      I want to confirm my understanding:

      - I have hardcoded an alert with the Alert command. I have a Chart tab open and the Alert window open to display the alert. That works.

      - I found that this method will only trigger in real-time, if the chart tab for that alert is open.
      If I have another instrument in a new tab, it may not trigger the alert in real time. I usually get the alert late or refresh the chart and then get the alert.

      - The solution to this is to use the Market Analyzer and plot my indicator and use the MA alerts menu.

      Would you say my approach is correct or?

      Comment


        #4
        Hello ij001,

        From the description it sounds like you may just need to modify the indicator to use IsSuspendedWhileInactive = false;



        Your understanding is otherwise correct, the MA window will run the scripts while that window is open. If you switch workspaces or do any actions where the indicators would be suspended then you would still want to revert back to using IsSuspendedWhileInactive = false

        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
        629 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        364 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        564 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        568 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X