[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]

-

Valid values: DEFAULT, GROW, SHRINK

-

Set the ''​[[pairs.properties#​DEFAULT_trailing_profit|trailing_profit]]''​ to grow or shrink when the profit increases. The altered trailing profit is calculated based on the highest profit percentage reached and will remain in use until the coin sells or the trailing ends without a sale.

-

The formula used is:

-

**Grow**

-

multiplier = trailingValue / sellValue;

-

newTrailingValue = Math.abs(multiplier * highestTrailingValue);​

-

-

**Shrink**

-

multiplier = trailingValue * sellValue;

-

newtrailingValue = Math.abs(multiplier / highestTrailingValue);​

-

​

-

**Note**

-

- Using DEFAULT will not alter the ''​trailing_profit''​ value at all.

-

-

\\

-

[[pairs.properties|TOP]]

-

\\

-

-

----

-

-

-

== DEFAULT_A_buy_strategy_label ==

-

<file java>

-

DEFAULT_A_buy_strategy_label = SMASLOWCROSS

-

</​file>​

-

[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]

-

-

Valid Values: Any name you choose.

-

-

Set a unique label for your strategy in order to facilitate the same indicator being used multiple times.

-

-

//​Example://​ \\

-

in [[indicators.properties]] we define SMACROSS and SMASLOWCROSS values

-

-

//​SMA_cross_candles = 2 \\

-

SMA_candle_period = 300 \\

-

SMA_fast_length = 12 \\

-

SMA_slow_length = 24 \\

-

\\

-

SMASLOWCROSS_cross_candles = 2 \\

-

SMASLOWCROSS_candle_period = 900 \\

-

SMASLOWCROSS_fast_length = 100 \\

-

SMASLOWCROSS_slow_length = 200 //\\

-

-

In [[pairs.properties]] we can now use either of these individually or both at once.

-

-

//​DEFAULT_A_buy_strategy = SMACROSS \\

-

DEFAULT_A_buy_value = -2 \\

-

\\

-

DEFAULT_B_buy_strategy_label = SMASLOWCROSS \\

-

DEFAULT_B_buy_strategy = SMACROSS \\

-

DEFAULT_B_buy_value = -2 //

-

-

**Note:**

-

- The label can be anything alphanumeric. 1337SUPERDUPER420 will work

-

-

\\

-

[[pairs.properties|TOP]]

-

\\

-

----

-

== DEFAULT_A_sell_strategy_label ==

-

<file java>

-

DEFAULT_A_sell_strategy_label = RSI900

-

</​file>​

-

[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]

-

-

Valid Values: Any name you choose.

-

-

Set a unique label for your strategy in order to facilitate the same indicators being used multiple times.

-

-

For an example of usage see [[pairs.properties#​DEFAULT_A_buy_strategy_label]]

-

-

**Note:**

-

- The label can be anything alphanumeric. 1337SUPERDUPER420 will work

-

-

\\

-

[[pairs.properties|TOP]]

-

\\

-

-

-

----

-

== sell_wall_orderbook_depth ==

-

<file java>

-

sell_wall_orderbook_depth = 40

-

</​file>​

-

[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]

-

-

Valid Values: Integer values greater than 0

-

-

Set the depth of the orderbook to look back and identify the largest sell order. If you set 30, ProfitTrailer will look at the top 30 orders. ProfitTrailer will then calculate the average the top 30 orders (excluding the largest one) and determine if the difference from the largest order exceeds your ''​[[pairs.properties#​sell_wall_diff_percentage]]''​ setting. If it exceeds the allowed difference the coin will not be purchased.

-

-

**Note:**

-

- Used with ''​[[pairs.properties#​sell_wall_diff_percentage]]''​

-

-

\\

-

[[pairs.properties|TOP]]

-

\\

-

-

-

----

-

== sell_wall_diff_percentage ==

-

<file java>

-

sell_wall_diff_percentage = 600

-

</​file>​

-

[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]

-

-

Valid Values: Decimal values greater than 100

-

-

Set the maximum difference allowed from the average order size within the ''​[[pairs.properties#​sell_wall_orderbook_depth]]''​. If this difference is exceeded then the coin will not be bought.

-

-

//Example: \\

-

sell_wall_orderbook_depth = 20 \\

-

sell_wall_diff_percentage = 600 \\

-

\\

-

Average of the bottom 20 sell orders (excluding largest order) is e.g 0.05 BTC in size. If the largest order is 600% or 6 times the average (e.g 0.3 BTC) then this will be identified as a sell wall. //

-

-

**Note:**

-

- Used with ''​[[pairs.properties#​sell_wall_orderbook_depth]]''​

-

-

\\

-

[[pairs.properties|TOP]]

-

\\

-

-

-

----

====== DCA.properties ======

====== DCA.properties ======

-

== SOM_DCA_buy_percentage ==

-

<file java>

-

SOM_DCA_buy_percentage = 100

-

</​file>​

-

[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]]

-

Valid values: Integer values greater than 0

-

Set the buy percentage to be used instead of ''​[[dca.properties#​DEFAULT_DCA_buy_percentage]]''​ when sell only mode (SOM) is on. The set value is the % of the current holding to be purchased at the next DCA level.

-

**Note**:

-

- The unnumbered default parameter will be used if no DCA level specific alternative is configured.

-

- If you have DCA level specific buy triggers you need to set SOM triggers for each level also.

-

\\

-

[[dca.properties|TOP]]

-

\\

-

----

-

-

== DCA_max_trading_pairs ==

-

<file java>

-

DCA_max_trading_pairs = 10

-

</​file>​

-

[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]

-

-

Valid values: Integer values greater than and equal to 0.

-

-

Set the maximum number of coins that are permitted to enter DCA at any given time.

-

-

**Note**:

-

- If not set (including missing from the file completely) then there is no limit and all coins can be DCA'd.

-

- If you lower this limit below the number of coins you already have in DCA, ProfitTrailer will randomly select the ones that stay in DCA.

-

-

\\

-

[[dca.properties|TOP]]

-

\\

-

-

----

-

-

== DEFAULT_DCA_trailing_profit_type ==

-

<file java>

-

DEFAULT_DCA_trailing_profit_type = GROW

-

</​file>​

-

[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]

-

-

Valid values: DEFAULT, GROW, SHRINK

-

-

Set the ''​[[dca.properties#​DEFAULT_DCA_trailing_profit|trailing_profit]]''​ to grow or shrink when the profit increases. The altered trailing profit is calculated based on the highest profit percentage reached and will remain in use until the coin sells or the trailing ends without a sale.

-

-

The formula used is:

-

-

**Grow**

-

multiplier = trailingValue / sellValue;

-

newTrailingValue = Math.abs(multiplier * highestTrailingValue);​

-

-

**Shrink**

-

multiplier = trailingValue * sellValue;

-

newtrailingValue = Math.abs(multiplier / highestTrailingValue);​

-

​

-

**Note**

-

- Using DEFAULT will not alter the ''​trailing_profit''​ value at all.

-

-

\\

-

[[dca.properties|TOP]]

-

\\

-

----

-

== DEFAULT_A_buy_strategy_label ==

-

<file java>

-

DEFAULT_A_buy_strategy_label = RSI900

-

</​file>​

-

[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]

-

-

Valid Values: Any alphanumeric name you choose.

-

-

Set a unique label for your strategy in order to facilitate the same indicator being used multiple times.

-

-

//​Example://​ \\

-

in [[indicators.properties]] we define RSI and RSI900 values

-

-

//​RSI_candle_period = 900 \\

-

RSI_length = 35 \\

-

\\

-

RSI900_candle_period = 900 \\

-

RSI900_length = 35 //\\

-

-

In [[dca.properties]] we can now use either of these individually or both at once.

-

-

//​DEFAULT_DCA_A_buy_strategy = RSI\\

-

DEFAULT_DCA_A_buy_value = 37 \\

-

\\

-

DEFAULT_DCA_B_buy_strategy_label = RSI900\\

-

DEFAULT_DCA_B_buy_strategy = RSI\\

-

DEFAULT_DCA_B_buy_value = 45 //

-

-

**Note:**

-

- The label can be anything alphanumeric. 24NUGGETSFOR995 will work

-

-

\\

-

[[dca.properties|TOP]]

-

\\

-

----

-

== DEFAULT_DCA_A_sell_strategy_label ==

-

<file java>

-

DEFAULT_DCA_A_sell_strategy_label = RSI900

-

</​file>​

-

[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]][[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]]

-

-

Valid Values: Any alphanumeric name you choose.

-

-

Set a unique label for your strategy in order to facilitate the same indicators being used multiple times.

-

-

For an example of usage see [[dca.properties#​DEFAULT_DCA_A_buy_strategy_label]]

-

-

**Note:**

-

- The label can be anything alphanumeric. WELOVESGTBATTEN will work

-

-

\\

-

[[dca.properties|TOP]]

-

\\

====== Indicators.Properties ======

====== Indicators.Properties ======

-

== STOCHRSI_candle_period ==

-

-

Define the period (in seconds) used to calculate the STOCHRSI.\\

-

Check the [[exchanges|Exchanges]] page for valid settings for each exchange

-

<file java>​STOCHRSI_candle_period = 300</​file>​

-

----

-

== STOCHRSI_rsi_length ==

-

-

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

-

<file java>​STOCHRSI_rsi_length = 14</​file>​

-

----

-

-

== STOCHRSI_stoch_length ==

-

-

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

-

<file java>​STOCHRSI_stoch_length = 14</​file>​

-

----

-

== STOCHRSI_K ==

-

-

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

-

-

<file java>​STOCHRSI_K = 1</​file>​

-

-

\\

-

== STOCHRSI_D ==

-

-

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