## INDICATORS Config

### Example INDICATORS Config

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

FIXEDPRICE_source = ASK

##### 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 **highly** recommended. Unreliable results may occur with other settings.

### 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

### 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

### 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

### 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`

## Discussion