1
Technical Support & Development / Re: GB won't sell USD-LINK with TradingView Add-On, works fine with BTC, ETH, XTZ
« on: June 13, 2020, 10:43:13 AM »
You're welcome!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Hi all,
would also be interested how it works - as I also have a license back from 2017.
Thanks,
Jay
I just want to tell a big THANK YOU to Cryptosticks and Exquitas who helped me by changing my Binance API key and getting my GunBOT working again. Thanks guys, keep up the good work !
After few hours, Trading View Addon stop alone with error message "Time out while authenticating with server...."
Anyone who had the same problem as me, that in the alert setup the second plot to choose (the one the first one shall cross) only has 2 and not 3 options:
In the script you can title the plotsCode: [Select]plot(macd, title="b", color=red)
plot(signal, title="c", color=yellow)
//@version=1
study("MACD")
fast = 5, slow = 10
fastMA = ema(close, fast)
slowMA = ema(close, slow)
macd = fastMA - slowMA
signal = sma(macd, 9)
hist = macd - signal
plot(hist, title="nope", color=hist>0 and hist[0]>hist[1]?#00ff00:hist<=0 and hist[0]<hist[1]?#f72e2e:hist>0 and hist[0]<hist[1]?#008000:hist<0 and hist[0]>hist[1]?#7f0000:white, style=histogram)
plot(macd, title="red line", color=red)
plot(signal, title="yellow line", color=yellow)
//@version=1
study("MACD")
fast = 5, slow = 10
fastMA = ema(close, fast)
slowMA = ema(close, slow)
macd = fastMA - slowMA
signal = sma(macd, 9)
hist = macd - signal
plot(hist, title="nope", color=hist>0 and hist[0]>hist[1]?#00ff00:hist<=0 and hist[0]<hist[1]?#f72e2e:hist>0 and hist[0]<hist[1]?#008000:hist<0 and hist[0]>hist[1]?#7f0000:white, style=histogram)
plot(macd, title="red line", color=red)
plot(signal, title="yellow line", color=yellow)
You can use this TV strat, to backtest basic EMA crossings (5, 10) of Exquitas' guide. Dont forget to set the EMA source to "closed", as this is used in the strat described in the tutorial.
Tradingview Basic EMA Crossing Backtest
https://www.tradingview.com/script/yNNhMRlp-Gunbot-Basic-EMA-Crossing/
EMA 1 Length = 5 ; Source = close
EMA 2 Length = 10 ; Source = close
BB Length = 26 ; Source = close ; mult = 2 (Why did I choose 26 as length? well with 20 it has sold to early and with 30 almost always to late)
EMA 3 Length = 1 ; Source = BB;Plot (Switch between the 3 BB Sources available until you have the top one. They all have the same name, to make it easier change the EMA 3 color to yellow for example
Condition --- EMA (5,close) - Crossing Up - EMA (10, close)The message has to be written according to the exchange you're using
Frequency --- Once per bar (on close)
Expiration Time --- Don't touch this
Alert Actions --- Send Email (only)
For TradingViews plugin please read tutorial here https://www.tradingview.com/wiki/Creating_and_Managing_Alerts and create alerts with the following syntax:
ORDERTYPE_EXCHANGE_PAIR
Examples:
BUY_POLONIEX_BTC_ETH
SELL_POLONIEX_USDT_BTC
BUY_KRAKEN_DASHEUR
SELL_KRAKEN_XLTCXXBT
BUY_BITTREX_BTC-ETC
SELL_CRYPTOPIA_ETH_BTC
BUY_CRYPTOPIA_LTC_BTC
Condition --- ETHBTC - Crossing Down - EMA (1, BB:Plot)
Frequency --- Once per bar (on close)
Expiration Time --- Don't touch this
Alert Actions --- Send Email (only)
Message --- SELL_BITTREX_BTC-ETH
Spamfilter Alert!
@USERNAME
First warn. Using banned word not allowed
"bbstepgain": {
"BTC_TRADING_LIMIT": 0.002,
"PERIOD": 15,
"HIGH_BB": 45,
"LOW_BB": 45,
"SELLLVL1": 0.1,
"SELLLVL2": 0.1,
"SELLLVL3": 70,
"SELLLVL": 3,
"LASTPOINTS": 5,
"AVGPOINTS": 250,
"AVGMINIMUM": 0.00000001,
"EMA1": 2000,
"EMA2": 1000,
"PANIC_SELL": false,
"DOUBLE_UP": false,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
problem im having is that its showing sell price about 4 times higher than market price(last price)
is this normal? after switching to bbstepgain, i have not seem sell only buys
please help!!!
If it is the expected behavior to buy at the top that is ridiculous. Clearly the bb forumula is wrong.
Why on earth would you want to buy at the top of the bb? Yes we are comparing it to other charts because clearly they are more accurate.
I ran version 4 for several days then switched back to 3. Doing much better on version 3 without this ridiculous behavior.
Hello all,
I've been trying different options but my Gunbot 3.3.2 keeps crashing. It basically runs for a while (a few hours), then it freezes.
I've tried to start the Gunbot with all my coins (around 10-12), I always wait for the "this operation can take a while... retry/cancel" dialog and I don't rush it. I even tried starting up my coins manually with a decent wait in between.
Could you please let me know how I can possibly troubleshoot this?
Thanks,
Got this error:
Error on strategy BB_STEPGAIN for BTC-LTC on bittrex while getting ema2 -\ Error: undefined is not a function