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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        155 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        90 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        137 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        130 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        107 views
        0 likes
        Last Post CarlTrading  
        Working...
        X