OPEN-SOURCE SCRIPT

Pivot Trend

已更新
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
快照


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


Enjoy!


版本注释
Added Alerts.
版本注释
Algorithm improved
Simple moving average added for the mid point
版本注释
added Color option
Centered OscillatorsDaily PivotsFibonacci RetracementMoving AveragesPivot PointspivotresistancepivotsupportSupply Zonetrendfollowingtrendreversaltrendtrading

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明