OPEN-SOURCE SCRIPT

Pivot Trend

Actualizado
Hello Traders,

Another original idea is here with you. Actualy I can say that it's a breakout strategy that uses multiple Pivot Point's averages.

How it works?
- it finds the Pivot Points, you can set the length as you want
- it gets averages of Pivot Highs and Pivot Lows, you can set the number of Pivot Points to be included
- it compares the current closing price with averages of Pivot Highs and Pivot Lows
- if both are positive or negative then trend changes

You have two options:
- Pivot Point Period => is the length that is used to find Pivot Points. means it checks left/right bars if it's Pivot Point (4 by default)
- Number of PP to check => is the number of Pivot Points that the script finds and calculates the averages (3 by default)

An Example with the settings Pivot Point Period = 5 and Number of PP to check = 2
imagen


Play with settings as you wish. Comments are welcome, together we can improve it ;)


Enjoy!


Notas de prensa
Added Alerts.
Notas de prensa
Algorithm improved
Simple moving average added for the mid point
Notas de prensa
added Color option
Centered OscillatorsDaily PivotsFibonacci RetracementMoving AveragesPivot PointspivotresistancepivotsupportSupply Zonetrendfollowingtrendreversaltrendtrading

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad