allanster

Gunbot Tuners Companion

Release Notes: Revision 1

This is a companion indicator that can be used alongside Gunbot Tuners as a visual aid while optimizing your Gunbot settings. Adjust settings within it while visually observing optimal levels, once satisfied then transfer those settings into your Gunbot Tuner script for backtesting.

NOTICE: This script does not require access from me, simply open Indicators on chart and search for "Companion". By accessing this script you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script! 

---
MACD_SHORT - This equals Fast Length.

MACD_LONG - This equals Slow Length.

MACD_LENGTH - This equals Signal Smoothing.

STOCH_ENABLED - Turning this on shows areas in green (buy) and red (sell) that both K and D must be in before STOCH will trigger a trade.

STOCH_BUY_LEVEL - Sets the buy level that K and D must fall to before buying when Gunbot has STOCH_ENABLED on.

STOCH_SELL_LEVEL - Sets the sell level that K and D must rise to before selling when Gunbot has STOCH_ENABLED on.

STOCH_K - This equals K.

SLOW_STOCH_K - This equals Smooth.

STOCH_D - This equals D.

RSI_BUY_ENABLED - Turning this on shows area in green that RSI must fall to before buying.

RSI_SELL_ENABLED - Turning this on shows area in red that RSI must rise to before selling.

RSI_BUY_LEVEL - Sets the buy level that RSI must fall to before buying when Gunbot has RSI_BUY_ENABLED on.

RSI_SELL_LEVEL - Sets the sell level that RSI must rise to before selling when Gunbot has RSI_SELL_ENABLED on.

MFI_ENABLED - Turning this on shows areas in green (buy) and red (sell) that MFI must be in before MFI will trigger a trade.

MFI_BUY_LEVEL - Sets the buy level that MFI must fall to before buying when Gunbot has MFI_ENABLED on.

MFI_SELL_LEVEL - Sets the sell level that MFI must rise to before selling when Gunbot has MFI_ENABLED on.

OKKIES_MODE - When enabled the green area represents where Okkies Mode is not active and the yellow area represents where Okkies Mode would activate Buy Disabled in Gunbot.

BTC_MONEY_FLOW - This is the level at which Gunbot will disable buys once the "BTCUSDT" or "BTCUSD" Money Flow for that exchange goes below that level.

Okkies Source - Select the exchange your bot is using. Gunbot's Okkies Mode calculates the "BTCUSDT" or "BTCUSD" Money Flow from that exchange. If you don't see your exchange then this means TradingView does not currently support that exchange. Note: Coinbase = GDAX.
Release Notes: Revision 1

Added variable SMAPERIOD, Gunbot 9 now uses SMAPERIOD for RSI Length, updated script to match behavior, so RSI is now no longer hardcoded to 14.

If you do not see "Gunbot >=: Ver 9" at bottom of Format settings, then delete the indicator from all charts (including any saved charts, save each saved chart after removing). Refresh browser and then reload the indicator.
Release Notes: Revision 2

Changed variable name MACD_LENGTH to MACD_SIGNAL to match name in Gunbot config.

Changed short title from "GTC" to "GTCv9r2" which appears on indicator on screen for faster visual checking that you have the latest version.
Release Notes: Revision 3

Refined MFI and OKKIES_MODE to more closely match Gunbot.

Added ADX in preparation for Gunbot 10:

ADX_ENABLED - When enabled the gray area represents area below ADX_LEVEL.

DI_PERIOD - Sets the length for DI. DI- is Green and DI+ is Red.

ADX_LEVEL - Sets the level that ADX must be above before trading when Gunbot has ADX_ENABLED on. ADX is Yellow.
Release Notes: Revision 4

Added support for Kraken.

Thanks and credit goes to "tandyuk" for discovering this and bringing it to my attention!
Release Notes: Revision 5

Updated for Gunbot 10.

Added dedicated variable for RSI_LENGTH.

Improved MFI accuracy for BTC_PND Protection.
Release Notes: Revision 6

Updated for Gunbot 12.

Added BitMEX support for BTC_PND Protection.

Compatible with versions of Gunbot 10 or higher.
Release Notes: Revision 7

Added exchange HUOBI to BTC_PND_PROTECTION.

Allow -1001 to disable plotting of buy or sell condition for MFI/STOCH/STOCHRSI.

Corrected ADX error.

Updated Plot Colors/Styles.
Release Notes: Revision 8

Update for Gunbot 15.

Added visual ADX_LEVEL.

Changed BTC_PND Exchange to manual entry. To select your exchange's BTCUSD(T) pair first clear the field, then type BTCUSD or XBTUSD, you will then be presented with all of that pair's available exchanges to choose from.

Telegram: https://t.me/allanster • Gunbot Tuners: http://www.allanster.com

If you would like to buy me a refreshing beverage :)...

LTC (preferred): LTDaAe7nPzbpBhZVT9o5f9f8M3aZSPa46Y

BTC: 13LhkeXBYrRomVAqbXcoLXHuqMk6Mf7G6N
Protected script
This script is published closed-source and you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?