Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

vwap + Ystdy's MDP pivot

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

    vwap + Ystdy's MDP pivot

    Hi,

    Is there a possibility to have the "vwap + Ystdy's MDP" horizontal line (like a pivot) on intraday chart.
    Thanks in advance.
    Last edited by primoto; 08-31-2008, 01:26 AM.

    #2
    Yes it is possible, but it will require custom programming via NinjaScript. If you do not wish to program yourself you can try one of the NinjaScript Consultants here: http://www.ninjatrader.com/webnew/pa...injaScript.htm
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Vwap

      Hi Josh, I see you are the VWAP expert. I'm trying to work out the VWAP slope and was hoping for some help. I have prepared the following which works ok on moving averages, when I converted it to VWAP it compiles ok but the arrows don't show up. Any ideas on this one? Thanks. DJ

      private int _vwapslope ;

      protected override void OnBarUpdate()

      _vwapslope = (int)(180/Math.PI*(Math.Atan((VWAP(Close).VWAPLine[0]-(VWAP(Close).VWAPLine[1]+(VWAP(Close).VWAPLine[2])/2)/1.5/TickSize))));
      if (_vwapslope > 1
      && Rising(hVWAP().VWAPLine))

      {
      DrawArrowUp("My down arrow" + CurrentBar, false, 0, Low[0] -2 * TickSize, Color.White);
      DrawTextFixed("VWAP Falling", "VWAP Falling", TextPosition.TopRight);
      }

      Comment


        #4
        Do you see the DrawText then? If both don't show it means the condition is not evaluating to true, you would then need to debug it to see where it's working not as expected.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Segwin, 05-07-2018, 02:15 PM
        14 responses
        1,789 views
        0 likes
        Last Post aligator  
        Started by Jimmyk, 01-26-2018, 05:19 AM
        6 responses
        837 views
        0 likes
        Last Post emuns
        by emuns
         
        Started by jxs_xrj, 01-12-2020, 09:49 AM
        6 responses
        3,293 views
        1 like
        Last Post jgualdronc  
        Started by Touch-Ups, Today, 10:36 AM
        0 responses
        13 views
        0 likes
        Last Post Touch-Ups  
        Started by geddyisodin, 04-25-2024, 05:20 AM
        11 responses
        63 views
        0 likes
        Last Post halgo_boulder  
        Working...
        X