Golgistain

Pivot Points H/L (no offset for alerts)

194 1 17
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
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
日本
한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out