feuler

highest high lowest low

70 1 5
as the name implies...
Remove from Favorite Scripts Add to Favorite Scripts
study("highest high lowest low", overlay = true)
x = input(title="period", type=integer, defval=50)
//i = input(title="Offset", type=integer, defval=7, minval=-10, maxval=10)
hh = highest(high,x)
ll = lowest(low,x)
plot(hh)
plot(ll)
Your idea is good, but this man had the same idea in the last century:

https://en.wikipedia.org/wiki/Richard_Donchian
https://en.wikipedia.org/wiki/Donchian_channel

You re-invented the Donchian channel
snapshot
Reply
United States
United Kingdom
India
Deutschland
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
Malaysia
日本
한국
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
Profile Profile Settings Account and Billing Priority Support Ideas Published Followers Following Private Messages Chat Sign Out