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.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        115 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        161 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        83 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        127 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        81 views
        0 likes
        Last Post PaulMohn  
        Working...
        X