PPS Indicator for NinjaTrader - futures io
futures io futures trading



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 14,276 views
    2. thumb_up 20 thanks given
    3. group 16 followers
    1. forum 17 posts
    2. attach_file 4 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

PPS Indicator for NinjaTrader

(login for full post details)
  #1 (permalink)
omaha Nebraska
 
Experience: Intermediate
Platform: ninjatrader
Broker: Ninja
Trading: stocks, Futures ES, Options
 
Posts: 22 since Sep 2014
Thanks: 7 given, 12 received

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 futures io 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 futures io?
Can the Magnet Tool Affect Chart Orders In Overcharts Ha …
Platforms and Indicators
Indicators for pair trading MES and M2K
Platforms and Indicators
Automating strategies on multiple charts with same symbol
TradeStation
COTbase for quant trading?
Elite Algorithmic NinjaTrader Trading
Work with historical tcks data on MUltichart NET PowerLa …
MultiCharts
 
 
(login for full post details)
  #2 (permalink)
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,855 since Mar 2010
Thanks: 4,238 given, 26,728 received

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:
 
(login for full post details)
  #3 (permalink)
omaha Nebraska
 
Experience: Intermediate
Platform: ninjatrader
Broker: Ninja
Trading: stocks, Futures ES, Options
 
Posts: 22 since Sep 2014
Thanks: 7 given, 12 received


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 futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #4 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 6,029 since Jun 2009
Thanks: 845 given, 7,893 received


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 Points with John Person - YouTube

Reply With Quote
 
(login for full post details)
  #5 (permalink)
Market Wizard
Florida
 
Experience: Advanced
Platform: NinjaTrader 8
Trading: ES, NQ, CL
 
trendwaves's Avatar
 
Posts: 703 since Dec 2012
Thanks: 2,898 given, 2,515 received

PPS arrow is the 3 EMA by 5 EMA crossover

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


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
Register to download File Type: cs BDCEMACrossover.cs (9.2 KB, 187 views)
Register to download File Type: cs BDCGann.cs (9.6 KB, 130 views)
Visit my futures io Trade Journal Started this thread Reply With Quote
The following 3 users say Thank You to Diamond5 for this post:
 
(login for full post details)
  #7 (permalink)
Minneapolis, MN
 
 
Posts: 2 since May 2014
Thanks: 1 given, 1 received

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:	324
Size:	334.2 KB
ID:	163499  
Reply With Quote
 
(login for full post details)
  #8 (permalink)
Market Wizard
Florida
 
Experience: Advanced
Platform: NinjaTrader 8
Trading: ES, NQ, CL
 
trendwaves's Avatar
 
Posts: 703 since Dec 2012
Thanks: 2,898 given, 2,515 received


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 futures io Trade Journal Reply With Quote
The following user says Thank You to trendwaves for this post:
 
(login for full post details)
  #9 (permalink)
Market Wizard
Florida
 
Experience: Advanced
Platform: NinjaTrader 8
Trading: ES, NQ, CL
 
trendwaves's Avatar
 
Posts: 703 since Dec 2012
Thanks: 2,898 given, 2,515 received


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 futures io Trade Journal Reply With Quote
The following 3 users say Thank You to trendwaves for this post:
 
(login for full post details)
  #10 (permalink)
Minneapolis, MN
 
 
Posts: 2 since May 2014
Thanks: 1 given, 1 received



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:
 
(login for full post details)
  #11 (permalink)
ny, ny, usa
 
 
Posts: 1 since Mar 2012
Thanks: 0 given, 1 received

On thinkorswim, the SMA (4HLC) and SMA (7) match the lines perfectly.

Reply With Quote
The following 3 users say Thank You to Naps33 for this post:
 
(login for full post details)
  #12 (permalink)
Vacaville CA U.S.A.
 
Experience: Intermediate
Platform: Ninja Trader
Broker: Ninja Trader Brokerage
Trading: CL,NQ
 
Posts: 17 since Feb 2010
Thanks: 6 given, 12 received

What does HLC stand for?

Reply With Quote
 
(login for full post details)
  #13 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 6,029 since Jun 2009
Thanks: 845 given, 7,893 received


manny1 View Post
What does HLC stand for?

my best guess is High, Low, Close maybe.

Reply With Quote
The following 2 users say Thank You to cory for this post:
 
(login for full post details)
  #14 (permalink)
United States/Roaonke Rapids, NC
 
 
Posts: 1 since Feb 2015
Thanks: 0 given, 0 received

Manny you are correct with the lines to match the 4 in ninja you will have to select Typical in the input series. However the arrows aren't simply the cross of those lines when you look at tos there are times the lines cross and no arrow is produced or sometimes an arrow before the lines cross. Are there any other suggestions on how the arrows are created as I am looking to get this onto ninja as well

Reply With Quote
 
(login for full post details)
  #15 (permalink)
marlboro new jersey usa
 
 
Posts: 1 since Sep 2010
Thanks: 0 given, 0 received

The arrows are generated when bar CLOSES above (green arrow) or below (orange arrow) BOTH moving averages.

Reply With Quote
 
(login for full post details)
  #16 (permalink)
Ukraine, Kharkiv
 
Experience: Beginner
Platform: NinjaTrader
Broker: oanda.com
Trading: GBP/USD
 
fx.practic's Avatar
 
Posts: 17 since Aug 2009
Thanks: 9 given, 7 received

I picked overlaying MAs in ToS exactly:
Slow: SMA((H+L+C)/3, 4);
Fast: SMA(Close, 4);

But, still have problems with arrows.

Reply With Quote
 
(login for full post details)
  #17 (permalink)
GURGAON HARAYANA/INDIA
 
 
Posts: 1 since Feb 2019
Thanks: 0 given, 0 received

Hi, I can decrypt code as i am expert in reverse engineering. I can give you exact arrow in your preferred platform . Please contact me

Reply With Quote
 
(login for full post details)
  #18 (permalink)
Montgomery, AL
 
 
Posts: 2 since Dec 2013
Thanks: 0 given, 1 received

On TOS the moving averages used are plotted unless you turn them off. I played around with this awhile back and got a match using the 4ema and 7ema. That was matching what the PPS indicator seemed to be using. I'm sure there is more involved but that's what I found. BTW, It works amazingly well on TOS when combined with the Bolinger Bands.

Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > PPS Indicator for NinjaTrader


Last Updated on June 26, 2020


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts