Golgistain

Pivot Points H/L (no offset for alerts)

223 1 22
Add indicator to chart
In the upper right of the screen click the down arrow next to the indicators long title.

Click add alert...
Set the first condition to your ticker (symbol, stock w/e..)
crossing
second condition ( pivot point h/l)

then how long you want the alert to stay, how to be notified etc.
Remove from Favorite Scripts Add to Favorite Scripts
study(title="Pivot Points H/L", shorttitle="Pivot H/L", overlay=true)
len = input(14, minval=1, title="Length")
res = period

//Define a function for pivot point
p(x) => fixnan(dev((x=='l' ? lowest(len) : highest(len)), len) ? na : (x=='l' ? lowest(len) : highest(len)))
sh(x) => security(tickerid, res, p(x))

plot(sh('h'), color=black, style=circles, linewidth=2)
plot(sh('l'), color=black, style=circles, linewidth=2)
this is very helpful but I need to modify this to trigger alert when x price is hit. Any idea? how to
Reply
United States
United Kingdom
India
Deutschland
España
France
Việt Nam
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
Malaysia
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing Support Priority Support Report Issue Ideas Published Followers Following Private Messages Chat Sign Out