6043 views
Created a script for alerts on Traditional Pivot Points .
You will be able to create separate alerts for every level or create one for price crossing any level.
Because of some TradingView limitations, alerts won't be fired for the first bar of the session. Will try to solve that in the new versions.
In the script used new v4 plotting features, so will be able to plot levels and labels nicely. Unfortunately, there is a limit on the number of consecutive lines you can plot on the plot (around 50), so lines in the past will disappear.
You can enable/disable in params displaying level itself on the chart.
And remember:
Past performance does not guarantee future results.
You will be able to create separate alerts for every level or create one for price crossing any level.
Because of some TradingView limitations, alerts won't be fired for the first bar of the session. Will try to solve that in the new versions.
In the script used new v4 plotting features, so will be able to plot levels and labels nicely. Unfortunately, there is a limit on the number of consecutive lines you can plot on the plot (around 50), so lines in the past will disappear.
You can enable/disable in params displaying level itself on the chart.
And remember:
Past performance does not guarantee future results.
Release Notes:
Cleaning the code
Courses:
PineScript Programming: https://qntly.com/pinepro
TradingView Essential: https://qntly.com/tve
Access to Pro Indic.: https://qntly.com/proind
YouTube: https://qntly.com/youtube
Discord: https://qntly.com/discord
Telegram: https://qntly.com/tel
PineScript Programming: https://qntly.com/pinepro
TradingView Essential: https://qntly.com/tve
Access to Pro Indic.: https://qntly.com/proind
YouTube: https://qntly.com/youtube
Discord: https://qntly.com/discord
Telegram: https://qntly.com/tel
Comments
If possible add average Line of previous 'n' days or weeks or months or years
i.e Average Pivot of last 5 days, or 10 days or .... etc...
How can I change max_bars_back? Because I get an error all periot and non visible all pivot line.
"Pine cannot determine the referencing length of a series. Try using max_bars_back in the study or strategy function"
Could you please write a script that 15 minutes candle breakout 2 resistance or support with the body...
Example: Candle Open Below R1 and Closed Above R2 (15 minutes time frame)
Example: Candle Open Above S1 and Closed Below S2 (15 minutes time frame)
i tried your script but i got an error meaning '"too many drawings, cannot clean oldest". Do you have the same error? thanks