TradingView
LonesomeTheBlue
6 de Mai de 2020 08:43

Pivot Trend 

Bitcoin / DollarBitfinex

Descrição

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!


Notas de Lançamento

Added Alerts.

Notas de Lançamento

Algorithm improved
Simple moving average added for the mid point

Notas de Lançamento

added Color option
Comentários
Eng-Mazn
please does it repaints?
laxmi2105
hi,
u did good and hard work for all of us, big thank you :)
parvizKord14
@laxmi2105, soslsozlz
glorysyed
Jumbolemming
Hello, should the alert (trend changed) fire as soon as the trend changes? Because I used it on GBPCHF and the trend changed around 1:30AM but I didn't get an alert until 2:30AM saying that the trend has changed and by then it was too late. Can you advise if this is a bug or?
LonesomeTheBlue
@Jumbolemming, interesting, there is no lag in the script. maybe buy in TV, not sure
Jumbolemming
@LonesomeTheBlue, I have and it's still producing alerts later than it should. Can you please look into it? Am I right in thinking I need to use the alert mode 'Pivot Trend UP' & 'Pivot Trend DOWN' to signal buy/sell positions? Thanks
Nvidia4
@Jumbolemming, - He is correct. No lag.
Wilbur20
Love all of your scripts! Any way that you can add alerts to this?

many thanks
LonesomeTheBlue
@Wilbur20, sure when I have time I will ;)
Mais