Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 jaybedreamin, Today, 05:56 PM
                0 responses
                7 views
                0 likes
                Last Post jaybedreamin  
                Started by DJ888, 04-16-2024, 06:09 PM
                6 responses
                18 views
                0 likes
                Last Post DJ888
                by DJ888
                 
                Started by Jon17, Today, 04:33 PM
                0 responses
                4 views
                0 likes
                Last Post Jon17
                by Jon17
                 
                Started by Javierw.ok, Today, 04:12 PM
                0 responses
                12 views
                0 likes
                Last Post Javierw.ok  
                Started by timmbbo, Today, 08:59 AM
                2 responses
                13 views
                0 likes
                Last Post bltdavid  
                Working...
                X