Pivot Range Pivot Boss

1198 2 228
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)
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
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...
English (UK)
English (IN)
Bahasa Indonesia
Bahasa Melayu
Tiếng Việt
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out