Confirming indicators
To enhance the precision of your trading strategy, you can utilize several confirmation indicators to validate buying and selling criteria. This article outlines all available settings for confirmation indicators.
Orders will only be executed if both the main strategy settings and confirmation indicators align. If TrailMe is incorporated, it must complete trailing while satisfying other conditions as well. All these conditions must coincide within the same cycle.
When using TrailMe in conjunction with confirming indicators, it is advisable to avoid setting the indicators too strictly. This is because all order criteria must occur simultaneously for an order to be placed.
Gunbot calculates indicators using real-time data. To illustrate, let's take the example of a 14-period RSI calculation. This means that Gunbot uses the closing values of the past 13 completed candles in addition to the live data of the current open candle to calculate the indicator value.
Exchanges do not provide indicator data, so Gunbot has to calculate its own. Exchanges only provide raw data for calculating indicators. While Gunbot uses what we consider the best library for indicators, it's important to note that exchanges or TradingView may display slightly different indicator values due to differences in their calculation methods.
Confirming Indicators settings
ADX (Average Directional Index)
Label | Config Parameter | Default Value | Detailed Description |
---|---|---|---|
ADX enabled | ADX_ENABLED | false | Enables the ADX as a confirming indicator. This indicator helps to measure the strength of a trend. |
ADX level | ADX_LEVEL | 25 | Sets the minimum trend strength level required for making trades. The ADX level ranges from 1 to 99, with higher values indicating stronger trends. |
DI period | DI_PERIOD | 14 | Specifies the number of candles used to calculate the ADX, allowing you to adjust the sensitivity of the trend measurement. |
Stochastic Oscillator
Label | Config Parameter | Default Value | Detailed Description |
---|---|---|---|
Stoch enabled | STOCH_ENABLED | false | Enables the Stochastic Oscillator as a confirming indicator, which is useful for identifying overbought and oversold conditions. |
Stoch buy level | STOCH_BUY_LEVEL | 30 | Defines the maximum Stochastic value at which buy orders are allowed. It helps in identifying potential oversold conditions conducive to buying. Set -1001 to disable. |
Stoch sell level | STOCH_SELL_LEVEL | 70 | Sets the minimum Stochastic value at which sell orders are considered, aiming to capture overbought conditions that might precede a price drop. Set -1001 to disable. |
Stoch method | STOCH_METHOD | oscillator | Chooses the operational mode for the Stochastic indicator. Oscillator mode requires the Stoch value to be within the specified range, while Cross mode triggers when the Stoch crosses a set threshold. |
Stoch K | STOCH_K | 14 | Defines the number of candles used to calculate the %K line of the Stochastic Oscillator, influencing how quickly the indicator reacts to price changes. |
Slow stoch K | SLOW_STOCH_K | 3 | Determines the smoothing period for the %K line, affecting the sensitivity and smoothness of the indicator. |
Stoch D | STOCH_D | 3 | Sets the calculation period for the %D line, which is the moving average of the %K line, providing a signal line for identifying crossovers and divergences. |
RSI (Relative Strength Index)
Label | Config Parameter | Default Value | Detailed Description |
---|---|---|---|
RSI buy enabled | RSI_BUY_ENABLED | false | Enables RSI as a confirming indicator for buy orders. RSI measures the speed and change of price movements, helping identify potentially undervalued conditions. |
RSI buy level | RSI_BUY_LEVEL | 30 | Sets the maximum RSI value at which buy orders are allowed. A low RSI indicates potential oversold conditions and could be a good buying opportunity. |
RSI sell enabled | RSI_SELL_ENABLED | false | Enables RSI as a confirming indicator for sell orders. This setting helps to determine when an asset is potentially overvalued and might be poised for a price decline. |
RSI sell level | RSI_SELL_LEVEL | 70 | Sets the minimum RSI value at which sell orders are considered. A high RSI suggests overbought conditions and might indicate a selling point. |
RSI method | RSI_METHOD | oscillator | Defines the operational method for RSI: Oscillator requires RSI to be within a specified range, while Cross triggers when RSI crosses the set level. |
RSI length | RSI_LENGTH | 14 | Sets the number of candles used to calculate RSI, influencing its sensitivity to price movements. |
Stoch RSI (Stochastic Relative Strength Index)
Label | Config Parameter | Default Value | Detailed Description |
---|---|---|---|
Stoch RSI enabled | STOCHRSI_ENABLED | false | Activates the Stoch RSI as a confirming indicator, which is useful for identifying more volatile overbought or oversold conditions than traditional RSI. |
Stoch RSI buy level | STOCHRSI_BUY_LEVEL | 0.2 | Specifies the maximum Stoch RSI value for allowing buy orders, targeting oversold conditions to suggest buying opportunities. Set -1001 to disable. |
Stoch RSI sell level | STOCHRSI_SELL_LEVEL | 0.8 | Defines the minimum Stoch RSI value for permitting sell orders, aiming to pinpoint overbought conditions that may precede a downward price movement. Set -1001 to disable. |
Stoch RSI method | STOCHRSI_METHOD | oscillator | Chooses the operational mode for Stoch RSI: Oscillator requires the indicator to be within a specific range for trades, while Cross triggers trades when the Stoch RSI crosses a predetermined level. |
Stoch RSI length | STOCHRSI_LENGTH | 14 | Determines the number of candles used to calculate Stoch RSI, affecting how quickly the indicator responds to price changes. |
MFI (Money Flow Index)
Label | Config Parameter | Default Value | Detailed Description |
---|---|---|---|
MFI enabled | MFI_ENABLED | false | Enables the Money Flow Index (MFI) as a confirming indicator, which uses both price and volume to measure buying and selling pressure. |
MFI buy level | MFI_BUY_LEVEL | 30 | Sets the maximum MFI level at which buy orders are allowed. Lower levels indicate potential oversold conditions, suggesting a buying opportunity. Set -1001 to disable. |
MFI sell level | MFI_SELL_LEVEL | 70 | Defines the minimum MFI value at which sell orders are considered. Higher values may indicate overbought conditions, suggesting a potential sell opportunity. Set -1001 to disable. |
MFI length | MFI_LENGTH | 14 | Determines the number of candles used to calculate the MFI. A longer length provides a smoother but slower-to-react indicator. |
BTC PND Protection (Pump and Dump Protection for BTC)
Label | Config Parameter | Default Value | Detailed Description |
---|---|---|---|
BTC pnd protection | BTC_PND_PROTECTION | false | Activates protection to prevent buy orders during suspected pump and dump scenarios in the BTC/USD market, based on the Money Flow Index (MFI). |
BTC pnd period | BTC_PND_PERIOD | 14 | Sets the MFI calculation period for the BTC pump and dump protection. This value adjusts the sensitivity of the MFI to recent price and volume changes. |
BTC money flow | BTC_MONEY_FLOW | 25 | Sets the MFI threshold for BTC/USD. If the MFI drops below this value, it may indicate a pump and dump event, triggering protection mechanisms. |
EMA Spread
Label | Config Parameter | Default Value | Detailed Description |
---|---|---|---|
EMA spread | EMASPREAD | false | Uses the spread between the fast and medium Exponential Moving Averages (EMAs) as a confirming indicator for both buy and sell orders. |
EMAx | EMAx | 0.5 | Sets the minimum percentage difference required between the fast and medium EMAs to confirm trade signals. This parameter helps in identifying significant trend strengths. |
Other indicator settings
Label | Config Parameter | Default Value | Detailed Description |
---|---|---|---|
Standard deviation | STDV | 2 | Sets the multiplier for calculating the width of the Bollinger Bands, which are used to measure market volatility and potential price targets. |
SMA period | SMAPERIOD | 50 | Specifies the number of candles used to calculate the Simple Moving Average (SMA), influencing indicators like Bollinger Bands and trend analysis. |
Candles length | CANDLES_LENGTH | 400 | Determines the number of historical candles requested from the exchange, which is essential for calculating various technical indicators. |
EMA length | EMA_LENGTH | 100 | Sets the number of candles used to calculate the Exponential Moving Average (EMA), affecting the sensitivity and lag of the indicator. |
Overview of effects on different order types
Config Parameter | Affected Order Types | Not Affected Order Types |
---|---|---|
ADX Enabled | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
ADX Level | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
DI Period | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
BTC PND Protection | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
BTC Money Flow | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
BTC PND Period | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
EMA Spread | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
EMAx | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
MFI Enabled | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
MFI Buy Level | Strategy buy | Strategy sell, RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
MFI Sell Level | Strategy sell | Strategy buy, RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
MFI Length | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
RSI Buy Enabled | Strategy buy | Strategy sell, RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
RSI Sell Enabled | Strategy sell | Strategy buy, RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
RSI Method | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
RSI Buy Level | Strategy buy | Strategy sell, RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
RSI Sell Level | Strategy sell | Strategy buy, RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
RSI Length | Strategy sell, Strategy buy, DCA buy (when using RSI) | RT buy, RT buyback, RT sell, Close, Stop limit |
Stoch Enabled | Strategy buy, Strategy sell | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
Stoch Method | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
Stoch Buy Level | Strategy buy | Strategy sell, RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
Stoch Sell Level | Strategy sell | Strategy buy, RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
Stoch K | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
Slow Stoch K | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
Stoch D | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
Stoch RSI Enabled | Strategy buy, Strategy sell | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
Stoch RSI Method | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
Stoch RSI Buy Level | Strategy buy | Strategy sell, RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
Stoch RSI Sell Level | Strategy sell | Strategy buy, RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
Stoch RSI Length | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
EMA Length | Strategy sell, Strategy buy | RT buy, RT buyback, RT sell, Close, Stop limit, DCA buy |
Candles Length | Strategy sell, Strategy buy, DCA buy (when using an indicator as trigger) | RT buy, RT buyback, RT sell, Close, Stop limit |
SMA Period | Strategy sell, Strategy buy, DCA buy (when using HIGHBB option for DCA) | RT buy, RT buyback, RT sell, Close, Stop limit |
Standard Deviation | Strategy sell, Strategy buy, DCA buy (when using HIGHBB option for DCA) | RT buy, RT buyback, RT sell, Close, Stop limit |