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

RSI condition alert

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

    RSI condition alert

    Hi,

    How may I be able to add sound alert to the existing RSI indicator with the following conditions:

    i) RSI vs Average RSI crossing each other

    ii) RSI value over 70 or Below 30

    Thanks


    #2
    Hello cyberjames2019,

    Thanks for your post.

    To add a sound alert to the RSI indicator, you would have to create a copy of the indicator and modify the Ninjascript code directly to create the conditions for the alert and when true you could either use the Alert() method which will also timestamp the alert in the alerts log and play a sound or you can just call the PlaySound() method.
    References:



    However, an easier solution would be to use Chart Alerts where you do not have to modify the indicator but can create the conditions and actions needed without programming.


    I've attached an example of an RSI chart alert when the RSI is Greater than or equal to 70 and when the RSI crosses below the RSI avg line, play a sound.

    Click image for larger version

Name:	RSIalertExample.PNG
Views:	899
Size:	67.8 KB
ID:	1101664
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by funk10101, Today, 12:02 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by GLFX005, Today, 03:23 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by nandhumca, Yesterday, 03:41 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by The_Sec, Yesterday, 03:37 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by vecnopus, Today, 06:15 AM
    0 responses
    1 view
    0 likes
    Last Post vecnopus  
    Working...
    X