Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Price Volume Trend

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

    Price Volume Trend

    Hi, is Price Volume Trend (PVT) indicator available for Ninja? It seems quite interesting and shows quite a bit improvement over other similar indicators. Take a look at this: http://chartfilter.com/reports/c36.htm

    If not, I will appreciate if anyone in the community can build and share in spare time. thanks in advance.

    #2
    Most of the community available indicators are located in the File Sharing section. If you haven't already, please try giving that a shot.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Josh, no did not find it in forum, hence the request.

      Comment


        #4
        Originally posted by warrior View Post
        Hi, is Price Volume Trend (PVT) indicator available for Ninja?
        This is very similar to OBV (On Balance Volume) as shown the chart below and the attached indicator. Instead of accumulating the up or down volume in OBV, the PVT is multiplying the volume by the Price rate of change.

        Alternatively do the following:
        Open the Ninjascript editor for OBV and replace what's in the OnBarUpdate section of the code for OBV with the following and you should have it (save the indicator as something else before compiling:
        Code:
        			if (CurrentBar == 0)
        				Value.Set(0);
        			else
        			{
        				if (Close[1] != 0) 
        					Value.Set(Value[1]+ (  (Close[0] - Close[1]) / Close[1]  * Volume[0])  );
        				else Value.Set ( 0 );
        				
        			/*	if (Close[0] > Close[1])
        					Value.Set(Value[1]+ Volume[0]);
        				else if (Close[0]  < Close[1])
        					Value.Set(Value[1] - Volume[0]);
        				else
        					Value.Set(Value[1]);       */
        			}
        Attached Files

        Comment


          #5
          Thanks for sharing this code thrunner!
          BertrandNinjaTrader Customer Service

          Comment


            #6
            thanks thrunner!

            Comment


              #7
              Hey Warrior,

              I got your private message...but when I tried to respond to it, apparently your private message folder is full and you cannot accept more messages.

              To answer your question about the Multi-Timeframe moving averages:

              Yes...visit the website wikipage below, and look under the Multi-Timeframe moving averages page
              http://sbgtrading.wiki.zoho.com

              There's short screencast video link on the page, it covers the operation of the moving averages in some detail. These moving averages accomplish exactly what you're looking for.

              Let me know if you have any questions! Email me at [email protected]

              Thanks,
              Ben

              Comment


                #8
                Hey Ben.

                Are your MTF indicators back testable, or do they only work in real time?

                Thanks.
                mrlogik
                NinjaTrader Ecosystem Vendor - Purelogik Trading

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by AbigailAvery, Today, 09:14 PM
                0 responses
                1 view
                0 likes
                Last Post AbigailAvery  
                Started by ybhx0315, Today, 09:06 PM
                0 responses
                1 view
                0 likes
                Last Post ybhx0315  
                Started by parkinsonbr, Today, 08:23 PM
                0 responses
                3 views
                0 likes
                Last Post parkinsonbr  
                Started by jc.am, Today, 07:59 PM
                0 responses
                3 views
                0 likes
                Last Post jc.am
                by jc.am
                 
                Started by i2w8am9ii2, Today, 04:36 PM
                2 responses
                13 views
                0 likes
                Last Post i2w8am9ii2  
                Working...
                X