Crypto-Signal icon indicating copy to clipboard operation
Crypto-Signal copied to clipboard

Feature request: Trigger notifications when multiple indicators are hot

Open decharel opened this issue 6 years ago • 7 comments

Feature request:

Trigger notifications only when multiple indicators/informants are hot

decharel avatar May 15 '18 11:05 decharel

This is something I would like to add

ghost avatar May 15 '18 12:05 ghost

to be a little clearer.

there are new hot indicators (which have become hot in the last time unit) and existing hot indicators. (which were already hot before)

for example: sma and ema are already hot. momentum becomes hot several time units later.

What do we want:

inform me if more than one indicator gets hot in a time unit or do you want to be informed when one gets hot and several are already hot?

I think it makes a difference.

I would then suggest something like that as a parameter.

alert_min_hot: 1 alert_min_new_hot: 1 alert_min_cold: 1 alert_min_new_cold: 1

when all is set to 1 it is the default behavior.

I would set it this way for me

alert_min_hot: 3 alert_min_new_hot: 1 alert_min_cold: 3 alert_min_new_cold: 1

december-soul avatar May 16 '18 12:05 december-soul

I think the goal here would be the ability to specify two indicators and be able to notify on that, similar to crossovers. Alerting on 'how many indicators are hot' is not a good idea.

The reason it's not a good idea is because certain indicators work in some market conditions and give false positives in others. Just because they all express that they are in a good state doesn't actually mean that it's a good time to buy, singular (or many related) metrics appropriately tuned to market conditions will always give you a better result.

The goal here is to be able to create new indicators that are based on a composition of others... Ichimoku is a good example of an indicator that is comprised of many others, having the ability to create composites would allow for a more tunable ichimoku.

ghost avatar May 16 '18 22:05 ghost

PARAMETER MFI, EMA always strong

PARAMETER MFI, BOLLINGERBANDS, EMA more strong

yohukm avatar May 17 '18 07:05 yohukm

maybe it would make sense to make a way like crossover with which you can link several signals.

combine will trigger only if all signals are hot

additional will trigger only if base_signal becomes hot and additional_signal are also hot

alert:
    std_combine:
        - enabled: true
          alert_enabled: true
          alert_frequency: once
          signals:
              - sma
              - momentum
    std_additional:
        - enabled: true
          alert_enabled: true
          alert_frequency: once
          base_signal:
              - sma
          additional_signals:
              - sma
              - momentum

december-soul avatar May 17 '18 08:05 december-soul

I made some changes in my fork. can you take a look? https://github.com/december-soul/crypto-signal/commit/3a66cccf1efe00593bae843dc2ffe70296188ec7 (ignore stdout notifiers) and https://github.com/december-soul/crypto-signal/commit/8c84740bad444bf258994f82dc168df49fc16c60

you have two new keywords for message templates template: "[hot:{{hot_count}} cold:{{cold_count}}] ..."

and a new section in the config file

notifiers:
    general:
        min_hot: 3
        min_cold: 4

default is 1 (old behaviour)

december-soul avatar May 24 '18 21:05 december-soul

Yes, this is exactly what I want. I want to know when RSI is in oversold/overbought area and when Stoch RSI fast line has crossed slow line in same oversold/overbought area.

keithfawcett avatar Jun 02 '18 22:06 keithfawcett