Alarm Trigger = Only Once/Every Time
Opened this issue · 9 comments
@hschickdevs Thanks for this fantastic bot
Alarm is trigger once, It will be deleted after notification
Please add an option to make an alarm always used. (every time)
For example, when the price of Bitcoin reach 37500 to warn every time Until the alarm is removed.
(of course, to prevent spam, you can set a minute limit, if the price is still 37500 every x minutes)
can set an expiration date like TradingView for Alarms.
Hi @abtahizadeh! Thank you so much for the contribution and suggestion. I will definitely take this into account.
I love this idea. Would you rather this be an optional parameter when creating each alert, or a global parameter that you can set in the config which applies to all alerts?
Hello @hschickdevs
I think both options are effective.
For example the command line be added after which any added alarm will be permanent
Of course, your opinion is more important for the command text
/alarms expire 0 (never)
/alarms expire 2d (2days)
/alarms expire 1w (1week)
or
/newalert BTC/USDT PRICE ABOVE 35700 NoExpire
This is great advice @abtahizadeh !
I will update the issue once this is implemented. Stay tuned!
Thank you @hschickdevs
I think this issue should be taken into consideration
for example, when the price is in that range
Alert every 5 , 15 minutes or 1 hour (Warning that the price is still 37500)
Because the robot may give a repeated warning whenever that price is reached
@abtahizadeh yea, we can do it this way! There are many ways to handle this issue
Hello @hschickdevs
Not specified when you can add this feature?
Hello again @abtahizadeh, I apologize as I've been very busy with my full-time work. I will try to add this feature this coming weekend (July 5-7). Thank you for your patience.
Hello again @hschickdevs,Thank you
I hope you find an opportunity to add this feature.
Writing this here for notes, this issue has been raised by another user of the bot. Here are their ideas:
for indicator alerts:
- use the provided interval to validate the alert trigger on every new candle (corresponding interval)
- for example: RSI alert for 4h interval if above 70 -> alert is fired every 4h as as long as the RSI stays over 70
for simple price checks (percentage):
- if set in percentage change (24h), validate alert trigger every 24h for percentage change in relation to the initial set price (first trigger) / last trigger price (further alert trigger)
for simple price checks (absolut):
-i guess only one shot alert makes sense here
you could also define a new parameter on alert creation like "trigger" to be able to set to:
- single (oneshot)
- minute (every minute)
- candle / interval (every defined interval length)