TradingView
LonesomeTheBlue
Apr 3, 2019 11:12 AM
Pivot High Low Points
BITFINEX:BTCUSD
240
Bitcoin / Dollar
Bitfinex
描述
⋅
Apr 3, 2019 11:12 AM
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
版本注释
⋅
Oct 3, 2021 2:08 PM
upgraded to v4
Trend Analysis
Volatility
Breadth Indicators
pivothigh
pivotlow
lonesometheblue
评论
aaahopper
⋅
Apr 3, 2019 8:52 PM
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
LonesomeTheBlue
⋅
Apr 4, 2019 6:12 AM
@aaahopper
, if you add following 4 lines then you can set alarms
sellcondition = iff(not na(high[mb]), iff(highestbars(mb) == -lb, true, false), false)
buycondition = iff(not na(low[mb]), 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')
LonesomeTheBlue
⋅
Apr 4, 2019 6:38 AM
I don't recommend to add alarm, it may not be usefull because of delay up to lb (leftbars).
aaahopper
⋅
Apr 8, 2019 6:35 AM
@LonesomeTheBlue
, Thank you very much
aaahopper
⋅
Apr 8, 2019 6:38 AM
@aaahopper
, So When a buy an alert is triggered it will be"-lb" from the signal?
LonesomeTheBlue
⋅
Apr 9, 2019 10:44 AM
@aaahopper
, yes that's true. better to use this for analysis purposes (not for buy/sell signals)
UnknownUnicorn10592196
⋅
Aug 10, 2020 6:02 PM
@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?.
prafat
⋅
Oct 4, 2022 10:22 AM
@LonesomeTheBlue
, I tried adding this code but it gives the following error : Add to chart operation failed reason line 25: undeclared identifier "mb"
prafat
⋅
Oct 4, 2022 10:23 AM
@prafat
, is there a way to create the indicator with alert .Its a gret indicator !
更多
How would you set an alert to buy or sell based on the plot parameters due to the offset?
Thanks