TradingView
KryptoNight
16 Nov 2019 pukul 07.22

How to consolidate multiple alerts into one 

Bitcoin / US Dollar Perpetual Inverse Swap ContractBitMEX

Deskripsi

How to consolidate multiple alerts into a single alertcondition().

The solution consists of two parts:
1 - consolidate the alert conditions
2 - consolidate the alert types used in the alert message

Part two is harder to accomplish because the message to display when the alert fires must be const string.
However, we can use numbers.

The structure:
▪ 1 and 0 are used in formatting the message
▪ 111 - Enter Long
▪ 222 - Exit Long
▪ 333 - Enter Short
▪ 444 - Exit Short
Alert Message Example:
- method 2 (1 0111 0222 0333 0444) is equivalent to (enterLong exitLong enterShort exitShort)
- method 3 (1111) (2222) (3333) (4444) is equivalent to (enterLong exitLong enterShort exitShort)

It can help save time managing alerts, and it can also save precious real estate on your UI.
Komentar
oktemataol
Could you give an example of how this one could be used?

For example, if I want the 1) RSI 14 for 5 sec >30 and 2) RSI 14 for 15 min >30 to start a trade, how exactly should I code it here?

Thanks in advance.

Best
Cornfedgenius
I'm actually working out a strategy that I have bactested. Is there a way to set combo custom start triggers like if Volume crosses up across a horizontal line, and price action is above say the Trading view widget line, buy... etc?
gajuiflos
by the way, why have they choose to make merging alerts so complicated, it would have been nicer if there was just a button on which to click to have it done. we are traders not computer engineers
Skeletor777
@gajuiflos, total right. It impossible to find some app or.. to make it real
gajuiflos
I'm lost.. seriously need help .........
JasMo
Good Job!
realspacecat2
zero explanation on how to use this
CharlNZ
Can one place many messages for deal start signal into one alert message box? For example, I want to create one alert on Tradingview but have several bots running on 3Commas. Would it be possible to place two or more 3Commas Message for deal start signal into tradingviews alert message box?
KryptoNight
@CharlNZ,
Yes, it is possible to combine multiple signals into a single alert, as explained in this indicator. But it depends on the end application to interpret the single message.
I'm not using that website, so not sure if it is capable of such things.
CharlNZ
@KryptoNight, thank you for the reply. How would one separate them inside the alert message box? By a , or ; or - or } { or space?
Lebih lanjut