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 SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        28 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        17 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        9 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        10 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        17 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X