Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can you code audible alerts on a MACD Indicator?

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

    Can you code audible alerts on a MACD Indicator?

    Does anyone know if it is possible to input an audible alarm feature for the MACD indicator and how I would go about coding the ninja script for an audible alarm that would go off if the MACD hit a specific MACD target number above the zero line or a specific MACD indicator number below the zero line. This would work just like a price alert on price action but instead, using the MACD numbers for audible target alerts. Thanks.

    #2
    Hello es500,

    Thank you for your post.

    Using the strategy wizard is good for this. You can create the strategy in a point and click interface and then view the code that's used. The following help guide article helps with setting up the condition builder for indicator to value comparisons:


    You can select a specific plot that you'd like to be alerted for by expanding the Plot section in the condtion builder.

    Then it's a matter of setting the actions and alerts are one of the prebuilt actions selectable from the strategy wizard.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    157 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    91 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    143 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    131 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    107 views
    0 likes
    Last Post CarlTrading  
    Working...
    X