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 Mizzouman1, Today, 07:35 AM
        4 responses
        18 views
        0 likes
        Last Post Mizzouman1  
        Started by philmg, Today, 01:17 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Started by cre8able, Today, 01:01 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by manitshah915, Today, 12:59 PM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by ursavent, Today, 12:54 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X