Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

PVT Indicator

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

    PVT Indicator

    As I am not a programmer, could anyone code the following PVT(Price Volume Trend) indicator in NinjarTrader?

    PVT (i) = ((CLOSE (i) - CLOSE (i - 1)) / CLOSE (i - 1)) * VOLUME (i) + PVT (i - 1)

    Where:
    CLOSE (i) — the closing price of the current bar;
    CLOSE (i - n) — the closing price n bars ago;
    VOLUME (i) — the volume of the current bar;
    PVT (i) — the current value of PVT indicator;
    PVT (i - 1) — the value of PVT indicator on the previous bar

    Thanks!

    #2
    cdbarryu, if no one is willing to share code for this, you can contact one of our 3rd party NinjaScript consultants.
    AustinNinjaTrader Customer Service

    Comment


      #3
      Sample Code

      Here is some sample code to do what you requested in the post. Script was built for NinjaTrader 7.

      Let me know if this helps...

      SharkCub AKA Casey Klimasauskas
      Klimasauskas at GMail.com
      Attached Files

      Comment


        #4
        Price Volume Trend Indicator

        This one is right
        (For NT7)
        It has an aditional Average of the PVT that can be used as Signal-Line.
        Attached Files

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        161 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        311 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        245 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        350 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        179 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X