NexusFi: Find Your Edge


Home Menu

 





PPS Indicator for NinjaTrader


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one trendwaves with 3 posts (7 thanks)
    2. looks_two Diamond5 with 3 posts (5 thanks)
    3. looks_3 cory with 2 posts (2 thanks)
    4. looks_4 Denischep with 2 posts (1 thanks)
      Best Posters
    1. looks_one Naps33 with 3 thanks per post
    2. looks_two trendwaves with 2.3 thanks per post
    3. looks_3 Diamond5 with 1.7 thanks per post
    4. looks_4 cory with 1 thanks per post
    1. trending_up 18,519 views
    2. thumb_up 20 thanks given
    3. group 15 followers
    1. forum 17 posts
    2. attach_file 4 attachments




 
Search this Thread

PPS Indicator for NinjaTrader

  #1 (permalink)
 Diamond5 
omaha Nebraska
 
Experience: Intermediate
Platform: ninjatrader
Broker: Ninja
Trading: stocks, Futures ES, Options
Posts: 22 since Sep 2014
Thanks Given: 7
Thanks Received: 12

Anyone have (or know how I can get) the code for the Person's Pivot indicators (PPS) that are free with ThinkOrSwim so I can use them in Ninjatrader? This is the indicator that puts the buy/sell arrows on the price chart, not the one that draws the support and resistance lines. I went to Person's web page and they are no longer offered for Ninjatrader. Any help would be greatly appreciated! See screenshot.


Visit my NexusFi Trade Journal Started this thread Reply With Quote
The following 2 users say Thank You to Diamond5 for this post:

Can you help answer these questions
from other members on NexusFi?
Request for MACD with option to use different MAs for fa …
NinjaTrader
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
ZombieSqueeze
Platforms and Indicators
NexusFi Journal Challenge - April 2024
Feedback and Announcements
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
65 thanks
NexusFi site changelog and issues/problem reporting
48 thanks
Battlestations: Show us your trading desks!
36 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks

  #2 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102

This looks just like two pivot moving averages. A pivot moving average is nothing else than a SMA, which uses the typical price as input series. You can select the input series under indicator settings.

If you need the arrows you would have to code an indicator that has two SMAs and triggers a signal when the price closes first above or first below the moving averages.

Such an indicator is easy to code, maybe you can post your request here:


Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
  #3 (permalink)
 Diamond5 
omaha Nebraska
 
Experience: Intermediate
Platform: ninjatrader
Broker: Ninja
Trading: stocks, Futures ES, Options
Posts: 22 since Sep 2014
Thanks Given: 7
Thanks Received: 12


Thanks FT - I guess maybe I'm over thinking it. I'm not sure what formula is behind the arrows. Would that screenshot be enough for someone to work off of and reverse engineer the indicator? After looking at the description and the indicator options however, I think you are right. I wish I could figure out what the numbers behind it were. If I could, I could probably code it myself.

Here is the description:
Person's Pivot Study (PPS) is a bullish and bearish momentum indicator. In addition, it has two proprietary moving average settings that help visualize either a bullish or bearish market condition. When an arrow points up and prices as defined by the close and/or the open and close relationship of each respective time period is above both moving average values, traders can look to take trades from the long side. Inversely when an arrow is pointing down and the close and/or the open and close relationship of each respective time period is below both moving average values, traders can look to take trades from the short side. This aids in determining the trend as the moving averages in an uptrend will act as support and in a downtrend will act as resistance. When combined with Person's Pivots, the PPS study helps to confirm trades against the predetermined support and resistance target levels.

Maybe I'll just play with some different settings and see what I get.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #4 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


Diamond5 View Post
Thanks FT - I guess maybe I'm over thinking it. I'm not sure what formula is behind the arrows. Would that screenshot be enough for someone to work off of and reverse engineer the indicator? After looking at the description and the indicator options however, I think you are right. I wish I could figure out what the numbers behind it were. If I could, I could probably code it myself.

...

MA(3) for the gold line Pivot [AUTOLINK]Points[/AUTOLINK] with John Person - YouTube

Reply With Quote
  #5 (permalink)
 
trendwaves's Avatar
 trendwaves 
Florida
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader 8
Trading: ES, NQ, CL
Posts: 703 since Dec 2012
Thanks Given: 2,898
Thanks Received: 2,525

PPS arrow is the 3 EMA by 5 EMA crossover

Be Patient and Trade Smart
Visit my NexusFi Trade Journal Reply With Quote
The following 3 users say Thank You to trendwaves for this post:
  #6 (permalink)
 Diamond5 
omaha Nebraska
 
Experience: Intermediate
Platform: ninjatrader
Broker: Ninja
Trading: stocks, Futures ES, Options
Posts: 22 since Sep 2014
Thanks Given: 7
Thanks Received: 12


trendwaves View Post
PPS arrow is the 3 EMA by 5 EMA crossover

Amazing. And he charges how much a month for that? I should pay you Trendwaves! Thank you so much.

I spent the weekend coding it (because it takes me 2 days just to get "Hello World" to display in the output box). I compared it to ToS and it's almost spot on. It might be off by a bar or so - most times it fires early which is fine. Makes me think that it might be a 5 SMA. I've attached the code.

BDCEMACrossover.cs will draw a green or red arrow every time the 3 EMA crosses above (green) or below (red). It also plays "Alert2" when the arrow fires so you don't have to babysit it. It will also plot the lines, but the default color is transparent. Enable if you want.

If anyone wants to take a crack at the code to optimize it, I'm sure that there are more efficient ways of doing this.

I also included a Gann study BDCGann.cs that I use as well. These two indicators seem to work pretty good for my trading. My ganns I set for 12 SMA and 5 EMA.

Attached Files
Elite Membership required to download: BDCEMACrossover.cs
Elite Membership required to download: BDCGann.cs
Visit my NexusFi Trade Journal Started this thread Reply With Quote
The following 3 users say Thank You to Diamond5 for this post:
  #7 (permalink)
Denischep
Minneapolis, MN
 
Posts: 2 since May 2014
Thanks Given: 1
Thanks Received: 1

There is something else in PPS calculation besides EMA (3) and EMA (5).
If you look carefully you can see that simple cross over of EMAs give much more wrong signals than PPS.
I'm trying to implement PPS in TradeStation, so if somebody have any ideas?

Attached Thumbnails
Click image for larger version

Name:	2014-10-26_22-43-04.jpg
Views:	517
Size:	334.2 KB
ID:	163499  
Reply With Quote
  #8 (permalink)
 
trendwaves's Avatar
 trendwaves 
Florida
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader 8
Trading: ES, NQ, CL
Posts: 703 since Dec 2012
Thanks Given: 2,898
Thanks Received: 2,525


Denischep View Post
There is something else in PPS calculation besides EMA (3) and EMA (5).
If you look carefully you can see that simple cross over of EMAs give much more wrong signals than PPS.
I'm trying to implement PPS in TradeStation, so if somebody have any ideas?

Try WMA of Typical price in place of EMA.

Be Patient and Trade Smart
Visit my NexusFi Trade Journal Reply With Quote
The following user says Thank You to trendwaves for this post:
  #9 (permalink)
 
trendwaves's Avatar
 trendwaves 
Florida
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader 8
Trading: ES, NQ, CL
Posts: 703 since Dec 2012
Thanks Given: 2,898
Thanks Received: 2,525


Denischep View Post
There is something else in PPS calculation besides EMA (3) and EMA (5).
If you look carefully you can see that simple cross over of EMAs give much more wrong signals than PPS.
I'm trying to implement PPS in TradeStation, so if somebody have any ideas?

I just happened to be comparing my ninja indicator against the offical TOS indicator this afternoon and see your point. I was able to match almost every arrow exactly using EMA (5) and EMA (9). Using WMA(5) and WMA(9) improves the timelyness of the arrows in many cases (same signal but one or two candles sooner), but using WMA's does plot a couple extra arrows here and there. In using a faster WMA(3) and WMA(5) I am able to speed up the arrow signal by one more candle. This is a personal preference trade-off : get a faster signal (closer to the actual price turning point) using 3 and 5 but at the expense of having more arrows in a narrow range congested market, or go for the closer match of the official PPS with the slower EMA 5 and 9.

Be Patient and Trade Smart
Visit my NexusFi Trade Journal Reply With Quote
The following 3 users say Thank You to trendwaves for this post:
  #10 (permalink)
Denischep
Minneapolis, MN
 
Posts: 2 since May 2014
Thanks Given: 1
Thanks Received: 1



trendwaves View Post
I just happened to be comparing my ninja indicator against the offical TOS indicator this afternoon and see your point. I was able to match almost every arrow exactly using EMA (5) and EMA (9). Using WMA(5) and WMA(9) improves the timelyness of the arrows in many cases (same signal but one or two candles sooner), but using WMA's does plot a couple extra arrows here and there. In using a faster WMA(3) and WMA(5) I am able to speed up the arrow signal by one more candle. This is a personal preference trade-off : get a faster signal (closer to the actual price turning point) using 3 and 5 but at the expense of having more arrows in a narrow range congested market, or go for the closer match of the official PPS with the slower EMA 5 and 9.

Thanks,
I will try EMA 5 and 9 in my system.
PPS works really good on gold futures. Unfortunately TOS not the best trading platform for introday trading

Reply With Quote
The following user says Thank You to Denischep for this post:





Last Updated on June 26, 2020


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts