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

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 algospoke, Yesterday, 06:40 PM
    2 responses
    23 views
    0 likes
    Last Post algospoke  
    Started by ghoul, Today, 06:02 PM
    3 responses
    14 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by jeronymite, 04-12-2024, 04:26 PM
    3 responses
    45 views
    0 likes
    Last Post jeronymite  
    Started by Barry Milan, Yesterday, 10:35 PM
    7 responses
    22 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by AttiM, 02-14-2024, 05:20 PM
    10 responses
    181 views
    0 likes
    Last Post jeronymite  
    Working...
    X