cristian.d

Pivot Range Pivot Boss

3774
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
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?
//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)