alawadi

Pivot Range Pivot Boss Monthly by Abdulla

31
Pivot Range Pivot Boss Monthly by Abdulla
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?
//Created by Abdulla
study(title="Pivot Range", shorttitle="A_PivotR", overlay=true) 
sd = input(true, title="Show Monthly Pivots?")

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

//Monthly Pivot Range 
mtime_pivot = security(tickerid, 'M', pivot[1]) 
mtime_bc = security(tickerid, 'M', bc[1]) 
mtime_tc = security(tickerid, 'M', tc[1]) 

offs_monthly = 0 
plot(sd and mtime_pivot ? mtime_pivot : na, title="Monthly Pivot",style=circles, color=fuchsia,linewidth=3) 
plot(sd and mtime_bc ? mtime_bc : na, title="Monthly BC",style=circles, color=blue,linewidth=3)
plot(sd and mtime_tc ? mtime_tc : na, title="Monthly TC",style=circles, color=blue,linewidth=3)