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 argusthome, 03-08-2026, 10:06 AM
        0 responses
        85 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        47 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        29 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        32 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        67 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X