QuantNomad

Traditional Pivot Points Alerts

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.
Release Notes: Cleaning the code
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
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

Comments

Getting error while implementing on 5 mins chart.
Reply
Hi, Can you add Hourly also.
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...
Reply
Hi,
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"
Reply
QuantNomad UnknownUnicorn11435715
@UnknownUnicorn11435715, Add something like max_bars_back = 5000 to your study call.
Reply
Sir,

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)
Reply
is it possible to change the colours and the letters that are beside the lines?
Reply
QuantNomad rvannest2002
@rvannest2002, yep, but you have to adjust the code for that
Reply
Hi,

i tried your script but i got an error meaning '"too many drawings, cannot clean oldest". Do you have the same error? thanks
Reply
@Tetef, Hi PM me screenshot with params, symbol and timeframe used, I will take a look.
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out