## INDICATORS Config

The indicators config is also the place to define custom indicators using the label settings.

See this pairs label setting for more information on labels.

### INDICATORS Settings

Click to view the explanation of each parameter.

#Always uses 5 minute candles. 288 = 24 hours

SOM_trigger_length = 288

BB_std = 2

BB_candle_period = 300

BB_length = 20

SMA_cross_candles = 2

SMA_candle_period = 300

SMA_fast_length = 12

SMA_slow_length = 24

EMA_cross_candles = 3

EMA_candle_period = 300

EMA_fast_length = 3

EMA_slow_length = 24

HMA_cross_candles = 3

HMA_candle_period = 300

HMA_fast_length = 3

HMA_slow_length = 24

DEMA_cross_candles = 3

DEMA_candle_period = 300

DEMA_fast_length = 3

DEMA_slow_length = 24

RSI_candle_period = 300

RSI_length = 14

STOCH_candle_period = 300

STOCH_length = 14

STOCH_K = 1

STOCH_D = 1

STOCHRSID_candle_period = 900

STOCHRSID_rsi_length = 14

STOCHRSID_stoch_length = 14

STOCHRSID_K = 3

STOCHRSID_D = 3

STOCHRSIK_candle_period = 900

STOCHRSIK_rsi_length = 14

STOCHRSIK_stoch_length = 14

STOCHRSIK_K = 3

STOCHRSICROSS_candle_period = 900

STOCHRSICROSS_rsi_length = 14

STOCHRSICROSS_stoch_length = 14

STOCHRSICROSS_K = 3

STOCHRSICROSS_D = 3

STOCHRSICROSS_cross_candles = 2

MACD_candle_period = 300

MACD_fast_length = 12

MACD_slow_length = 26

MACD_signal = 9

OBV_candle_period = 300

OBV_length = 5

OBV_signal = 1

PDHIGH_candle_period = 300

PDLOW_candle_period = 300

PDCLOSE_candle_period = 300

FIXEDPRICE_source = ASK

ATRPERCENTAGE_indicator = EMA

ATRPERCENTAGE_candle_period = 3600

ATRPERCENTAGE_length = 14

ATRPERCENTAGE_offset = 1

LOWATRBAND_candle_period = 3600

LOWATRBAND_length = 14

LOWATRBAND_multiplier = 3

LOWATRBAND_offset = 1

HIGHATRBAND_candle_period = 3600

HIGHATRBAND_length = 14

HIGHATRBAND_multiplier = 3

HIGHATRBAND_offset = 1

##### SOM_trigger_length

#Always uses 5 minute candles. 288 = 24 hours SOM_trigger_length = 288

Valid Values: integer values greater than 0. (max 500)

Set the number of 5 minute candles to count back and assess the historical price of the coin specified in price_trigger_market for the purpose of triggering Sell Only Mode based on the percentage of price change since that candle.

24 hours (a setting of 288) for this setting is the default used by the bot.

**Note:** If you change this to any other value it will not be displayed in the BOT GUI currently and may cause a visual confusion as the bot always displays the 24 hour change percentage.

**This is currently being changed. As soon as the changes are made the bot will show the display percentage for the time period chosen.**

### Bollinger Bands Strategy

##### BB_std

Define the standard deviation used by all BB calculation of ProfitTrailer.

BB_std = 2

##### BB_candle_period

Define the period (in seconds) used by all BB calculation of ProfitTrailer.

Check the Exchanges page for valid settings for each exchange

BB_candle_period = 300

##### BB_length

Define the SMA time frame (in candles) used by all BB calculation of ProfitTrailer. (Max 500)

BB_length = 20

→ Use **TradingView** to visualize LOWBB/HIGHBB with this indicator.

### Simple Moving Average Strategy

##### SMA_cross_candles

Define how many (1 or greater whole number) candles back to look and see if the SMA lines just crossed.

Used by SMACROSS strategy.

SMA_cross_candles = 2

##### SMA_candle_period

Define the period (in seconds) used to calculate the SMA lines.

Check the Exchanges page for valid settings for each exchange

SMA_candle_period = 300

##### SMA_fast_length

Define the SMA time frame (in candles) used to calculate the fast SMA line. (Max 500)

SMA_fast_length = 12

##### SMA_slow_length

Define the SMA time frame (in candles) used to calculate the slow SMA line. (Max 500)

SMA_slow_length = 24

### Exponential Moving Average Strategy

##### EMA_cross_candles

Define how many (1 or greater whole number) candles back to look and see if the EMA lines just crossed.

Used by EMACROSS strategy.

EMA_cross_candles = 3

##### EMA_candle_period

Define the period (in seconds) used to calculate the EMA lines.

Check the Exchanges page for valid settings for each exchange

EMA_candle_period = 300

##### EMA_fast_length

Define the EMA time frame (in candles) used to calculate the fast EMA line. (Max 500)

EMA_fast_length = 3

##### EMA_slow_length

Define the EMA time frame (in candles) used to calculate the slow EMA line. (Max 500)

EMA_slow_length = 24

### Hull Moving Average Strategy

##### HMA_cross_candles

Define how many (1 or greater whole number) candles back to look and see if the HMA lines just crossed.

Used by HMACROSS strategy.

HMA_cross_candles = 3

##### HMA_candle_period

Define the period (in seconds) used to calculate the HMA lines.

Check the Exchanges page for valid settings for each exchange

HMA_candle_period = 300

##### HMA_fast_length

Define the HMA time frame (in candles) used to calculate the fast HMA line. (Max 500)

HMA_fast_length = 3

##### HMA_slow_length

Define the HMA time frame (in candles) used to calculate the slow HMA line. (Max 500)

HMA_slow_length = 24

### Double Exponential Moving Average Strategy

##### DEMA_cross_candles

Define how many (1 or greater whole number) candles back to look and see if the DEMA lines just crossed.

Used by DEMACROSS strategy.

DEMA_cross_candles = 3

##### DEMA_candle_period

Define the period (in seconds) used to calculate the DEMA lines.

Check the Exchanges page for valid settings for each exchange

DEMA_candle_period = 300

##### DEMA_fast_length

Define the DEMA time frame (in candles) used to calculate the fast DEMA line. (Max 500)

DEMA_fast_length = 3

##### DEMA_slow_length

Define the DEMA time frame (in candles) used to calculate the slow DEMA line. (Max 500)

DEMA_slow_length = 24

### Relative Strength Index Strategy

##### RSI_candle_period

Define the period (in seconds) used to calculate the RSI.

Check the Exchanges page for valid settings for each exchange

RSI_candle_period = 300

##### RSI_length

Define the RSI time frame (in candles) used to calculate the RSI. (Max 500)

RSI_length = 14

### Stochastic Strategy

##### STOCH_candle_period

Define the candle size (in seconds) used to calculate STOCH.

Check the Exchanges page for valid settings for each exchange

STOCH_candle_period = 300

##### STOCH_length

Define the RSI time frame (in candles) used to calculate the STOCH values. (Max 500)

STOCH_length = 14

##### STOCH_K

Define the time period to be used to calculate the K divergence when using STOCH.

STOCH_K = 1

##### STOCH_D

Define the time period to be used to calculate the D divergence when using STOCH.

STOCH_D = 1

### Stochastic Relative Strength Index Strategies

##### STOCHRSI_candle_period

Define the candle size (in seconds) used to calculate STOCHRSI strategies.

Check the Exchanges page for valid settings for each exchange

STOCHRSIK_candle_period = 900 STOCHRSID_candle_period = 900 STOCHRSICROSS_candle_period = 900

##### STOCHRSI_stoch_length

Define the stoch time frame (in candles) used to calculate the STOCHRSI strategies. (Max 500)

STOCHRSIK_stoch_length = 14 STOCHRSID_stoch_length = 14 STOCHRSICROSS_stoch_length = 14

##### STOCHRSI_rsi_length

Define the RSI time frame (in candles) used to calculate the STOCHRSI strategies. (Max 500)

STOCHRSIK_rsi_length = 14 STOCHRSID_rsi_length = 14 STOCHRSICROSS_rsi_length = 14

##### STOCHRSIK_K

Define the time period to be used to calculate the K divergence when using STOCHRSIK,STOCHRSID or STOCHRSICROSS.

STOCHRSIK_K = 3 STOCHRSID_K = 3 STOCHRSICROSS_K = 3

##### STOCHRSID_D

Define the time period to be used to calculate the D divergence when using STOCHRSID or STOCHRSICROSS.

STOCHRSID_D = 3 STOCHRSICROSS_D = 3

##### STOCHRSICROSS_cross_candles

Define how many (1 or greater whole number) candles back to look and see if the K AND D lines just crossed.

Used by STOCHRSICROSS strategy.

STOCHRSICROSS_cross_candles = 2

### Moving Average Convergence Divergence Strategy

##### MACD_candle_period

Define the period (in seconds) used to calculate the MACD lines.

Check the Exchanges page for valid settings for each exchange

MACD_candle_period = 300

##### MACD_fast_length

Define the MACD time frame (in candles) used to calculate the fast MACD line. (Max 500)

MACD_fast_length = 12

##### MACD_slow_length

Define the MACD time frame (in candles) used to calculate the slow MACD line. (Max 500)

MACD_slow_length = 26

##### MACD_signal

Define how many candles back to look and see if the MACD lines just crossed.

Used by MACD strategy.

MACD_signal = 9

### On-balance Volume Strategy

##### OBV_candle_period

Define the period (in seconds) used to calculate the OBV.

Check the Exchanges page for valid settings for each exchange.

OBV_candle_period = 300

##### OBV_length

Define the OBV time frame (in candles) used to calculate the OBV. (Max 500)

OBV_length = 5

##### OBV_signal

The number (integer) of the first OBV value used for the calculation of the percentage change.

The klines provided by the exchanges are limited in time (500 candles), so ProfitTrailer cannot get the complete history of a pair. The OBV implementation uses only the klines that ProfitTrailer can get from the exchange. The change is calculated as the percentage change of the OBV value of the signal candle and the last candle, this means the change is between -1 and +1

OBV_signal = 1

**Note:**

- signal must be < length.

### Previous Day High Strategy

##### PDHIGH_candle_period

Define the period (in seconds) used to calculate the PDHIGH.

Check the Exchanges page for valid settings for each exchange.

PDHIGH_candle_period = 300

### Previous Day Low Strategy

##### PDLOW_candle_period

Define the period (in seconds) used to calculate the PDLOW.

Check the Exchanges page for valid settings for each exchange.

PDLOW_candle_period = 300

### Previous Day Close Strategy

##### PDCLOSE_candle_period

Define the period (in seconds) used to calculate the PDCLOSE.

Check the Exchanges page for valid settings for each exchange.

PDCLOSE_candle_period = 300

### Fixed Price Strategy

##### FIXEDPRICE_source

Define the source used to check prices against. Possible values (ASK, BID, CLOSE).

When buying it's best to check against ASK price When selling it's best to check against BID price

`FIXEDPRICE_source = ASK`

### ATR Percentage Strategy

#### ATRPERCENTAGE

- ATRPERCENTAGE is the Average true range (ATR) expressed as a percentage, it is a measure of volatility for a trading pair.
- ATR is an exponential moving average of the true range.
- The true range of a trading pair can be defined as the difference between the high and low price on any given time period.
- Large ranges indicate high volatility and small ranges indicate low volatility.
- ATR will never be 100% accurate and it will give false signals but thats just like a lot of other indicators and mostly due to the use of a moving average, making it a lagging indicator like most indicators. As such it is best used with other indicators as another entry / exit filter.
- ATR is widely used as an indicator in its own right in breakout trading and also for adjusting position sizing based on volatility (you might have heard of the “turtle trading system” thats how they did their position sizing), as well as for setting a trailing stop loss based on volatility.
- When used for trailing stop losses, ATR being a dynamic volatility indicator, means that higher ATR values will set wider stops and lower values shorter stops.

**Note:**

- ATRPERCENTAGE indicator default is based on EMA, but can be changed to SMA too.

##### ATRPERCENTAGE_indicator

Define which indicator ATRPERCENTAGE uses

**Optional:** If this setting is omitted, the indicator type defaults to EMA

`ATRPERCENTAGE_indicator = EMA`

Valid Values: EMA , SMA

##### ATRPERCENTAGE_candle_period

Define the period (in seconds) used to calculate the ATR line.

ATRPERCENTAGE_candle_period = 3600

##### ATRPERCENTAGE_length

Define the time frame (in candles) used to calculate the ATR line.

ATRPERCENTAGE_length = 14

##### ATRPERCENTAGE_offset

Offset of 1 moves the values 1 place to the left. So we use the ATR of the previous candle in this case.

ATRPERCENTAGE_offset = 1

#### LOWATRBAND

##### LOWATRBAND_candle_period

Define the period (in seconds) used to calculate the low ATR band line.

LOWATRBAND_candle_period = 3600

##### LOWATRBAND_length

Define the time frame (in candles) used to calculate the low ATR band line.

LOWATRBAND_length = 14

##### LOWATRBAND_multiplier

Define the multiplier used to calculate the low ATR band line.

LOWATRBAND_multiplier = 3

##### LOWATRBAND_offset

Offset of 1 moves the values 1 place to the left. So we use the ATR of the previous candle in this case

LOWATRBAND_offset = 1

#### HIGHATRBAND

##### HIGHATRBAND_candle_period

Define the period (in seconds) used to calculate the high ATR band line.

HIGHATRBAND_candle_period = 3600

##### HIGHATRBAND_length

Define the time frame (in candles) used to calculate the high ATR band line.

HIGHATRBAND_length = 14

##### HIGHATRBAND_multiplier

Define the multiplier used to calculate the low ATR band line.

HIGHATRBAND_multiplier = 3

##### HIGHATRBAND_offset

Offset of 1 moves the values 1 place to the left. So we use the ATR of the previous candle in this case

HIGHATRBAND_offset = 1