Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stochastic Alert

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

    Stochastic Alert

    Hi Everyone,

    I was wondering if there is a way to add an alert when the K line crosses the the 80 or 20 line?

    Thanks,
    Rob

    #2
    Hi robhuw, thanks for your note.

    You can use the strategy builder to generate code and effectively create alerts. To test it place the attached file within Documents\NinjaTrader 7\bin\Custom\Strategy then compile. You will see it in your strategies list.

    Please let me know if you have any questions.

    Attached Files

    Comment


      #3
      Hi Chris, thanks for helping me out.

      I've copied the file into the strategy file, what do I do then?

      Comment


        #4
        Hi robhuw, thanks for your reply.

        After your place the strategy into the strategies folder, compile your system code through the NinjaScript editor then check the Strategies menu of any chart, the "StochasticAlert" strategy will be in that list. Apply and enable it to your chart to make the alert work.

        Kind regards.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        128 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        74 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        116 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        110 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        89 views
        0 likes
        Last Post CarlTrading  
        Working...
        X