Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

VWAP crossover

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

    VWAP crossover

    Looking for audio alerts each time the price crosses Vwap line (plotted in the Vwap indicator) at least

    If feasible, can also sound audio alerts for VWAP and the three standard deviation in the Vwap indicator.

    There may already be a way to do that and I am unaware or some body can help with this request.

    Thanks, Kat

    #2
    Hello Kat,

    Thank you for writing in.

    I would suggest taking a look at the CrossAbove() and CrossBelow() method calls to check if the price has crossed above or below the VWAP line:




    Once the condition occurs, you'll want to call Alert() to fire off an alert: https://ninjatrader.com/support/help...nt7/?alert.htm

    As an example, this will call an alert if the price crosses above the VWAP line.:
    Code:
    // place this below all other logic within the OnBarUpdate() method of the VWAP indicator
    if (CrossAbove(Close, PlotVWAP, 1))
         Alert(....);
    Please, let us know if we may be of further assistance.
    Last edited by NinjaTrader_ZacharyG; 07-07-2016, 01:49 PM.
    Zachary G.NinjaTrader Customer Service

    Comment


      #3
      Thanks for the suggestion.

      As a matter of fact, I have a ALERTLINES Indicator that some one from platform support emailed me (forget his name - I have been trying to remember his name but no luck) that does exactly the same for manually drawn lines when price crosses over from above/below.

      May be you can look into it as only thing that needs to change is do the same when crossover with the VWAP.

      May be you can remote login and get the indicator from my machine if you cannot find. Actually, Riley did a remote login just today for some other issue. He was great.

      So let me know - Thanks, Kat

      Comment


        #4
        Hello Kat,

        If you wish for the alert to occur from a different indicator, you will need to simply call the VWAP indicator from that indicator and check for a cross above or cross below.

        Code:
        if (CrossAbove(Close, VWAP(), 1))
             Alert(....);
        Zachary G.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        571 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        330 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        548 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        549 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X