Gunbot Shop › Gunbot Forum › General Discussion › Gunbot v25.x Beta changelogs › Reply To: Gunbot v25.x Beta changelogs
Gunbot v25.3.8_beta
– Implementing WST: Webhooks Smart Trading
No need to know how to code pinescript anymore, if you dont want to: add a bunch of indicators to your tradingview chart, send an alert to Gunbot for each indicator and Gunbot will wait for all of them to trigger before firing a long/short/closelong/closeshort/fliplong/flipshort
Example:
– add SMA indicator and add a long alert based on it
– add MACD indicator and add a long alert based on it
– add RSI indicator and add a long alert based on it
– add whatever number of indicators you wish to your chart and add a long alert based on them
When all indicators confirmed the long signal Gunbot would execute
Instructions:
in your pair overrides set any (or all) of these:
“WH_INDICATORS_LONG” : [false, false, false, false],
“WH_INDICATORS_SHORT” : [false, false, false, false],
“WH_INDICATORS_CLOSELONG” :[false, false, false, false],
“WH_INDICATORS_CLOSESHORT” : [false, false, false, false],
“WH_INDICATORS_FLIPLONG” : [false, false, false, false],
“WH_INDICATORS_FLIPSHORT” : [false, false, false, false]
The number of “false” here must be equal to the number of indicators you are using
if you want to only use long and short commands set this:
“WH_INDICATORS_LONG” : [false, false, false, false],
“WH_INDICATORS_SHORT” : [false, false, false, false],
if you want to only use flips, set this:
“WH_INDICATORS_FLIPLONG” : [false, false, false, false],
“WH_INDICATORS_FLIPSHORT” : [false, false, false, false]
and so on: just use the settings for the commands you will use, the others will be ignored if missing
set your alerts as usual buy instead of the commands long/short/closelong/closeshort/fliplong/flipshort use these:
customlong/customshort/customcloseshort/customcloselong/customfliplong/customflipshort
Example:
MYPASSWORD dydx customshort USD-ETH 4 0
the above command would fire a short of 4 ETH at market (as the price is 0)
you are already familiar with these commands
the missing part:
add the number of indicator position as last parameter in the alert command
for example
“WH_INDICATORS_LONG” : [false, false, false, false],
the above setting in config indicates you are going to use 4 confirming indicators before to fire a long
the first false would be indicator 1
the second “false” would be indicator 2
the third “false would be indicator 3
and so on: you can add as many indicators you want but you need to add a progressive number in the tv alerts commands (not in gunbot)
Example:
– If i want to use 9 indicators to confirm a long i would set one alert for each indicator (so a total of 9 alerts) and set the alerts messages like this:
MYPASSWORD dydx customshort USD-ETH 4 0 1
MYPASSWORD dydx customshort USD-ETH 4 0 2
MYPASSWORD dydx customshort USD-ETH 4 0 3
MYPASSWORD dydx customshort USD-ETH 4 0 4
MYPASSWORD dydx customshort USD-ETH 4 0 5
MYPASSWORD dydx customshort USD-ETH 4 0 6
MYPASSWORD dydx customshort USD-ETH 4 0 7
MYPASSWORD dydx customshort USD-ETH 4 0 8
MYPASSWORD dydx customshort USD-ETH 4 0 9
see the last number being a progressive number up to the number of indicators you want to use
doesnt matter the order
doesnt matter which is one
doesnt matter config settings order or whatever
as long as you put a unique number in each indicator alert
That’s it, if you dont capish, shoot me in beta room and thank you
– Try to improve consistent placement of chart marks and order arrows when changing pairs
– Trading settings: make ‘custom strategy editor templates’ work with new category option
– Trading settings: fix crash when selecting ‘scalping’ category on bybit
so if you are using 9 indicators to confirm a long entry, it would look like this:
“WH_INDICATORS_LONG” : [false, false, false, false, false, false, false, false, false],
Gunbot Shop - https://gunbot.shop