TradingView
LonesomeTheBlue
2019年4月3日上午11點12分
Pivot High Low Points
BITFINEX:BTCUSD
240
Bitcoin / Dollar
Bitfinex
描述
⋅
2019年4月3日上午11點12分
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
發布通知
⋅
2021年10月3日下午2點08分
upgraded to v4
Trend Analysis
Volatility
Breadth Indicators
pivothigh
pivotlow
lonesometheblue
評論
aaahopper
⋅
2019年4月3日晚上8點52分
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
⋅
2019年4月4日早上6點12分
@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
⋅
2019年4月4日早上6點38分
I don't recommend to add alarm, it may not be usefull because of delay up to lb (leftbars).
aaahopper
⋅
2019年4月8日早上6點35分
@LonesomeTheBlue
, Thank you very much
aaahopper
⋅
2019年4月8日早上6點38分
@aaahopper
, So When a buy an alert is triggered it will be"-lb" from the signal?
LonesomeTheBlue
⋅
2019年4月9日上午10點44分
@aaahopper
, yes that's true. better to use this for analysis purposes (not for buy/sell signals)
UnknownUnicorn10592196
⋅
2020年8月10日晚上6點02分
@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
⋅
2022年10月4日上午10點22分
@LonesomeTheBlue
, I tried adding this code but it gives the following error : Add to chart operation failed reason line 25: undeclared identifier "mb"
prafat
⋅
2022年10月4日上午10點23分
@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