Pivot Range Pivot Boss

563 2 111
My first attempt to code something. It's Mark Fischer concept of Pivot Range from his book Logical Trader.
The strategy for using it is actually from Frank Ochoa's book Secrets of a Pivot Boss. Pivot Range is the "meat of the matket" and "the heart beat of the market" according to him.

Besides using the actual pivots the strategy is based on the relationships between 2 day pivot ranges.

Higher Value - Bulish
Overlapping Higher - Moderate Bulish
Lower Value- Bearish
Overlapping Lower - Moderate Bearish
Unchanged - Sideways/Breakout
Outside - Sideways
Inside - Breakout
Remove from Favorite Scripts Add to Favorite Scripts
//Created by CristianD
study(title="Pivot Range", shorttitle="CD_PivotR", overlay=true) 
sd = input(true, title="Show Daily Pivots?")

//Pivot Range Calculations - Mark Fisher
pivot = (high + low + close ) / 3.0 
bc = (high + low ) / 2.0 
tc = (pivot - bc) + pivot

//Daily Pivot Range 
dtime_pivot = security(tickerid, 'D', pivot[1]) 
dtime_bc = security(tickerid, 'D', bc[1]) 
dtime_tc = security(tickerid, 'D', tc[1]) 

offs_daily = 0 
plot(sd and dtime_pivot ? dtime_pivot : na, title="Daily Pivot",style=circles, color=fuchsia,linewidth=3) 
plot(sd and dtime_bc ? dtime_bc : na, title="Daily BC",style=circles, color=blue,linewidth=3)
plot(sd and dtime_tc ? dtime_tc : na, title="Daily TC",style=circles, color=blue,linewidth=3)
2 years ago
Strategy would've have worked today like a charm with SPY in the morning.....

1. For the first time in days, price open above Price Pivot Range
2. Since the Range was an inside one compared to previous, we would've expected a trending day, which was a bulish one because of - see point 1
3.Entry was at the bounce of the range

What really happened? I was too busy watching AAPL which also had an inside day and was expecting a trending day BUT AAPL was slower to take off and I got caught up in the crazy whipsaw after the opening ... and missed SPY ... oh well
cristian.d cristian.d
2 years ago
According to the above rules, tomorrow we will have a wide range so expect sideways moves, maybe a trading range... I think it gives you a little peace of mind at least know what will be the overall action the following day, and to have a trading plan accordingly without jumping in moves...
Ideas Scripts Chart
United States
United Kingdom
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out