RicardoSantos

Function Highest/Lowest

7187 görüntülenme
330
Function for highest() and lowest()
Sürüm Notları: updated code for V4, code in cooperation with @LucF.
theres 2:
1. version that supports high length values.
2. error's with high length values, but maps initial range(bar_index=0 to length).
Favori Komutlardan Çıkart Favori Komutlara Ekle

Yorumlar

500koin
Cevap Gönder
This is great.. as I've noticed in version 3.. highest() and lowest() do not like taking in variables for length.. often results in:

line 34: Cannot call `highest` with arguments (series, series); available overloads: highest(series, integer) => series; highest(integer) => series;
+9 Cevap Gönder
These two pieces of code are probably the most used functions in Pine outside the built-ins, so thanks for them, Ricardo.
+4 Cevap Gönder
@LucF, discovered it today.... but was looking for them all my life. True story
+1 Cevap Gönder
I am trying to find a piece of code that will return the high since another function was true.
I was using highest(high,barssince(xyz>0)) but that doesn’t work because it’s two series. Is there a way to use the above to do the same thing? I only need it for the last 100 bars. If xyz>0 more than 100 bars ago then I don’t care what the high was. I can’t use highest(high,100) because xyz>0 could occur 3 bars ago but the high in the last 100 was 90 bars ago. Anyway any help appreciated
Cevap Gönder
is that possible to have similar improve cci() and dev() functions because
Cannot call 'cci' with arguments (series, series); available overloads: cci(series, integer) => series

Cannot call 'dev' with arguments (series, series); available overloads: dev(series, integer) => series

thanks in advance!
Cevap Gönder
... thank you sir. I was pulling my hair out here. Not because I couldn't write it, but just because I knew it was already written
Cevap Gönder
thanks for sharing
Cevap Gönder
A lowest()/highest() function without the ability to input a series is like a 3-legged horse. Thank you, Ricardo, for supplying the fourth leg!
Cevap Gönder
Thanks @RicardoSantos and @LucF, you guys are unstoppable!
Cevap Gönder
Ana Sayfa Hisse Senedi Takipçisi Forex Takipçisi Kripto Takipçisi Ekonomik Takvim Nasıl Çalışır Grafik Özellikleri Ücretlendirme Tanıdık yönlendirme Kurallarımız Destek Merkezi Web Sitesi & Aracı Kurum Çözümleri Görsel Bileşenler(Widget) Grafik Çözümleri Hafif Grafik Kitaplığı Blog ve Haberler Twitter
Profil Profil Ayarları Hesap ve Ödemeler Tavsiye edilen arkadaşlar Koinler Destek Kayıtlarım Destek Merkezi Yayınlanmış Fikirler Takip Edenler Takip ediliyor Özel Mesajlar Sohbet Çıkış