LonesomeTheBlue

Pivot High Low Points

by using this script you can find Pivot High-Low Points. This script works like Tradingview pivothigh & pivotlow functions.




If you find my works useful, please consider a donation
BTC: 16XRqyS3Vgh1knAU1tCcruqhUrVm4QWWmR


by LonesomeTheBlue
Favori Komutlardan Çıkart Favori Komutlara Ekle
If you find my works useful, please consider a donation
BTC: 19qDW9AShZhBZsGuXcgRzam5Fbpc3EU8EV
ETH: 0x39c8552371b9b7f4e324197af460ba8bc8e18ef9

Yorumlar

Great indicator. Love the simplicity.
How would you set an alert to buy or sell based on the plot parameters due to the offset?
Thanks
+6 Cevap Gönder
@aaahopper, if you add following 4 lines then you can set alarms

sellcondition = iff(not na(high), iff(highestbars(mb) == -lb, true, false), false)
buycondition = iff(not na(low), iff(lowestbars(mb) == -lb, true, false), false)

alertcondition(buycondition, title='Pivot HL Signal', message='Pivot HL Buy Signal')
alertcondition(sellcondition, title='Pivot HL Sell Signal', message='Pivot HL Sell Signal')
+4 Cevap Gönder
LonesomeTheBlue LonesomeTheBlue
I don't recommend to add alarm, it may not be usefull because of delay up to lb (leftbars).
Cevap Gönder
aaahopper LonesomeTheBlue
@LonesomeTheBlue, Thank you very much
Cevap Gönder
aaahopper aaahopper
@aaahopper, So When a buy an alert is triggered it will be"-lb" from the signal?
Cevap Gönder
@aaahopper, yes that's true. better to use this for analysis purposes (not for buy/sell signals)
Cevap Gönder
UnknownUnicorn10592196 LonesomeTheBlue
@LonesomeTheBlue, Hi, if is not much trouble for you, can you tell me how can i make it trigger an alarm 2 minutes before the candle close?.
Cevap Gönder
no repaint after bar is closed?
+3 Cevap Gönder
mrgr888n mrgr888n
oh, I see.. it lags for an hour.
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ış