Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
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 for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
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.
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:
Hey guys, I thought many of you would enjoy and benefit from this thread. My intention is to have each poster reply and describe in as much detail as possible an indicator they want created for NinjaTrader.
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.
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.
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.
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