Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dca.properties [2019/04/12 22:24]
armchairguru
— (current)
Line 1: Line 1:
-=====DCA Config===== 
  
-These settings control the buying and selling behaviours for coins that are in the DCA log which is determined by the DEFAULT_DCA_enabled parameter in pairs.properties. 
----- 
- 
-=== Dollar Cost Averaging === 
-**What is DCA?** In short, it is a method for lowering the average price of a losing trade, making the recovery easier as the price needs only to recover to the new lower average buy price. For a long, more detailed explanation,​ [[http://​forexop.com/​martingale-trading-system-overview/​|read here]]. Using DCA increases your holdings and will result in significantly larger positions in each coin. 
- 
----- 
- 
-=== Flow of coins in DCA === 
-A coin will enter the [[web_interface_guide#​DCA Log]] immediately if ''​[[pairs.properties#​DEFAULT_DCA_enabled]] = true''​ or when the profit percentage reaches the set value of ''​[[pairs.properties#​DEFAULT_DCA_enabled]] = -x''​. From here it may only return to the [[web_interface_guide#​Pairs Log]] if profit % moves back above the set value and a DCA buy has not occurred. ​ 
- 
-What is new in v2.0 of the software is the ability to set a different purchase amount by percentage for each purchase. The setting DEFAULT_DCA_buy_percentage can be numbered to signal how much to buy on each round of buying. For example: ​ 
- 
-DEFAULT_DCA_buy_percentage_1 = 100\\ 
-DEFAULT_DCA_buy_percentage_2 = 75\\ 
-DEFAULT_DCA_buy_percentage_3 = 50\\ 
-...\\ 
-DEFAULT_DCA_buy_percentage_50 = 2\\ 
- 
-The DCA process will buy 100% of the current coin balance on the first buy, 75% on the second, and 50% on the third. You can set as many buy_percentage amounts as you like, but you only need to set as many as you are using with the DEFAULT_DCA_max_buy_times setting. 
- 
-**Click on a Section to jump to it** 
-  * [[dca.properties#​general_settings|General Settings]] 
-  * [[dca.properties#​filtering_coins|Filtering Coins]] 
-  * [[dca.properties#​buy_settings|Buy Settings]] 
-  * [[dca.properties#​sell_settings|Sell Settings]] 
-  * [[dca.properties#​example_usage|Buy and Sell Examples]] 
- 
-\\ 
-==Legend== 
- 
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - click for more info}}]] Coin Specific - This parameter can be specified for individual coins.\\ 
-[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]] Optional - This parameter is not required for the bot to run.\\ 
-[[mandatory_settings#​caution|{{:​warnbr.png?​18|Caution - click for more info}}]] Caution - This parameter can result in instant losses if used carelessly.\\ 
-[[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] DCA level specific - This parameter can be configured per DCA level.\\ 
- 
----- 
-=== Example DCA Config === 
-Click to view the documentation on each parameter. 
- 
-<​file>#​GENERAL SETTINGS#</​file>​ 
- 
-[[dca.properties#​DEFAULT_DCA_max_cost]] = 0.3\\ 
-[[dca.properties#​DEFAULT_DCA_max_buy_times]] = 3\\ 
-[[dca.properties#​DCA_max_trading_pairs]] = 5\\ 
-[[dca.properties#​DCA_keep_balance]] = 0\\ 
-[[dca.properties#​DCA_keep_balance_percentage]] = 0\\ 
- 
-<​file>#​BUY FILTER SETTINGS#</​file>​ 
- 
-[[dca.properties#​DEFAULT_DCA_buy_leverage]] = 2\\ 
-[[dca.properties#​DEFAULT_DCA_min_buy_volume]] = 300\\ 
-[[dca.properties#​DEFAULT_DCA_max_buy_spread]] = 1.0\\ 
-[[dca.properties#​DEFAULT_DCA_min_orderbook_volume_percentage]] = 150\\ 
-[[dca.properties#​DEFAULT_DCA_min_orderbook_price_slippage_percentage]] = false\\ 
- 
-[[dca.properties#​DEFAULT_DCA_rebuy_timeout]] = 15\\ 
-[[dca.properties#​DEFAULT_DCA_buy_min_change_percentage]] = 0\\ 
-[[dca.properties#​DEFAULT_DCA_buy_max_change_percentage]] = 0\\ 
- 
-[[dca.properties#​DEFAULT_DCA_ignore_sell_only_mode]] = false\\ 
- 
-[[dca.properties#​DEFAULT_DCA_sell_wall_orderbook_depth]] = 30\\ 
-[[dca.properties#​DEFAULT_DCA_sell_wall_diff_percentage]] = 500\\ 
- 
- 
-<​file>#​BUY SETTINGS#</​file>​ 
- 
-[[dca.properties#​DEFAULT_DCA_A_buy_strategy_label]] = STRATEGYNAME \\ 
-[[dca.properties#​DEFAULT_DCA_A_buy_strategy]] = EMAGAIN\\ 
-[[dca.properties#​DEFAULT_DCA_A_buy_value|DEFAULT_DCA_A_buy_value_1]] = -0.50\\ 
-[[dca.properties#​DEFAULT_DCA_A_buy_value_limit]] = -2.5\\ 
-[[dca.properties#​DEFAULT_DCA_A_buy_strategy_direction]] = \\ 
- 
-[[dca.properties#​DEFAULT_DCA_A_buy_Strategy|DEFAULT_DCA_B_buy_strategy]] = RSI\\ 
-[[dca.properties#​DEFAULT_DCA_A_buy_value|DEFAULT_DCA_B_buy_value]] = 35\\ 
-[[dca.properties#​DEFAULT_DCA_A_buy_value_limit|DEFAULT_DCA_B_buy_value_limit]] = 5\\ 
- 
-[[dca.properties#​DEFAULT_DCA_buy_strategy_formula]] = \\ 
-[[dca.properties#​DEFAULT_DCA_ignore_buy_trigger]] = false\\ 
- 
-[[dca.properties#​DEFAULT_DCA_buy_trigger]] = -2.5\\ 
-[[dca.properties#​SOM_DCA_buy_trigger]] = -3.5\\ 
-[[dca.properties#​DEFAULT_DCA_trailing_buy]] = 0.3\\ 
-[[dca.properties#​DEFAULT_DCA_trailing_buy_rebound_count]] = 1\\ 
-[[dca.properties#​DEFAULT_DCA_trailing_buy_reset_with_strategies]] = false\\ 
-[[dca.properties#​DEFAULT_DCA_buy_percentage]] = 100\\ 
-[[dca.properties#​SOM_DCA_buy_percentage]] = 50 \\ 
- 
- 
-<​file>#​SELL SETTINGS#</​file>​ 
- 
-[[dca.properties#​DEFAULT_DCA_A_sell_strategy]] = GAIN\\ 
-[[dca.properties#​DEFAULT_DCA_A_sell_value]] = 1\\ 
- 
-[[dca.properties#​DEFAULT_DCA_A_sell_value|DEFAULT_DCA_A_sell_value_1]] = 0.95\\ 
-[[dca.properties#​DEFAULT_DCA_A_sell_value|DEFAULT_DCA_A_sell_value_2]] = 0.85\\ 
-[[dca.properties#​DEFAULT_DCA_A_sell_value|DEFAULT_DCA_A_sell_value_3]] = 0.75\\ 
- 
-#​[[dca.properties#​DEFAULT_DCA_A_sell_strategy_label|DEFAULT_DCA_B_sell_strategy_label]] = STRATEGYNAME \\ 
-#​[[dca.properties#​DEFAULT_DCA_A_sell_strategy|DEFAULT_DCA_B_sell_strategy]] = RSI\\ 
-#​[[dca.properties#​DEFAULT_DCA_A_sell_value|DEFAULT_DCA_B_sell_value]] = 65\\ 
-#​[[dca.properties#​DEFAULT_DCA_A_sell_value_limit|DEFAULT_DCA_B_sell_value_limit]] = 90 
- 
-[[dca.properties#​DEFAULT_DCA_sell_strategy_formula]] = \\ 
- 
-[[dca.properties#​DEFAULT_DCA_trailing_profit]] = 0.25\\ 
-[[dca.properties#​DEFAULT_DCA_trailing_profit_type]] = DEFAULT\\ 
-[[dca.properties#​DEFAULT_DCA_trailing_profit_rebound_count]] = 0\\ 
- 
-[[dca.properties#​DCA_orderbook_profit_calculation]] = true\\ 
-[[dca.properties#​DEFAULT_DCA_max_profit]] = 0\\ 
-[[dca.properties#​DEFAULT_DCA_take_profit_percentage]] = 0.5\\ 
-[[dca.properties#​DEFAULT_DCA_take_profit_reset_percentage_move]] = 0.2\\ 
-[[dca.properties#​DEFAULT_DCA_take_profit_wait_time]] = 30\\ 
-[[dca.properties#​DEFAULT_DCA_take_profit_safety_arm]] = 0\\ 
-[[dca.properties#​DEFAULT_DCA_take_profit_safety_fire]] = 0\\ 
- 
-[[dca.properties#​DEFAULT_DCA_pending_gain_percentage]] = 0\\ 
-[[dca.properties#​DEFAULT_DCA_pending_order_wait_time]] = 0\\ 
-[[dca.properties#​DEFAULT_DCA_pending_order_price_drop_trigger]] = 0\\ 
-[[dca.properties#​DEFAULT_DCA_combined_cancel_pending_trigger]] = 0\\ 
-[[dca.properties#​DEFAULT_DCA_cancel_pending_trigger]] = 0\\ 
-[[dca.properties#​DEFAULT_DCA_combine_pending_orders]] = false\\ 
- 
-[[dca.properties#​DEFAULT_DCA_stop_loss_trigger]] = 0\\ 
-[[dca.properties#​DEFAULT_DCA_stop_loss_timeout]] = 0\\ 
-[[dca.properties#​DEFAULT_DCA_trailing_stop_loss_trigger_arm]] = 0\\ 
-[[dca.properties#​DEFAULT_DCA_trailing_stop_loss_trigger]] = 0\\ 
-[[dca.properties#​DCA_stop_before_complete]] = false \\ 
-[[DCA.properties#​DEFAULT_DCA_panic_sell_enabled]] = false \\ 
-\\ 
- 
- 
----- 
-==== GENERAL SETTINGS ==== 
- 
-== DEFAULT_DCA_max_cost == 
-<file java> 
-DEFAULT_DCA_max_cost = 0 
-</​file>​ 
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - 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: Decimal value equal to or greater than 0 
- 
-Define the TOTAL amount (in the market currency) the bot is able to use to buy a single pair when using DCA. Set to 0 for no limit. ​ 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_max_buy_times ​ == 
-<file java> 
-DEFAULT_DCA_max_buy_times = 0 
-</​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: Integer values equal to or greater than 0 
- 
-Define maximum number of times a coin is allowed to be bought again using your DCA strategy. Set to 0 for no limit. Use this setting carefully! 
- 
-[[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 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 DCA. 
-  - If a coin is removed from the DCA log, the bot will select another random coin to reach the max number. 
-  - Excluded coins will stay in the [[web_interface_guide#​DCA Log]] but display MAX DCA PAIRS. 
-  - Effective as of version 2.3, [[dca.properties#​default_dca_stop_loss_trigger|DCA Stop Loss]] and [[dca.properties#​default_dca_trailing_stop_loss_trigger|DCA Trailing Stop Loss]] will only trigger if the DCA pair is one under active DCA and not marked MAX PAIRS. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DCA_keep_balance ​ == 
-<file java> 
-DCA_keep_balance = 0.5 
-</​file>​ 
-[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]] 
- 
-Valid Values: Decimal values equal to or greater than 0. 
- 
-Do not DCA a coin if the purchase will take your balance below the specified amount. In the example above, if we are trading BTC, the bot will keep at least 0.5BTC in your account. ​ 
- 
-**Note**: ​ 
-  * This only stops ProfitTrailer making DCA purchases. There is an equivalent setting in pairs.properties for initial purchases. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DCA_keep_balance_percentage ​ == 
-<file java> 
-DCA_keep_balance_percentage = 60 
-</​file>​ 
-[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]] 
- 
-Valid Values: Decimal values equal to or greater than 0.  
- 
-Do not buy DCA a coin if the purchase will take your balance below the specified amount expressed as a % of your TCV (Total Current Value). 
- 
-//Example: To always leave 60% of my account untouched, set the value to 60.// 
- 
-**Notes:​** ​ 
-  - This property only works if DCA_keep_balance = 0  
-  - This only stops ProfitTrailer making DCA purchases. There is an equivalent setting in pairs.properties for initial purchases. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-==== FILTERING COINS ==== 
- 
-== DEFAULT_DCA_buy_leverage == 
-<file java> 
-DEFAULT_DCA_buy_leverage = 2 
-</​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}}]][[mandatory_settings#​caution|{{:​warnbr.png?​18|Caution - click for more info}}]] 
- 
-<color #​ed1c24>​Valid Values:</​color>​ Decimal values greater than or equal to 1 
- 
-<color #​ed1c24>​Description/​function</​color>​ 
- 
-**WARNING: Leverage Trading can be dangerous if you use too high a leverage value. The higher you set your leverage the smaller the margin of error you will have in price movement before your trading position is liquidated. There is the possibility that you can lose your entire trading position value using leverage. 100x leverage for example will usually result in your entire trading position being liquidated immediately as the amount the price of the coin has to move is minuscule before it reaches the liquidation value.** 
- 
-Leverage results from using borrowed capital as a funding source when trading. ​ 
- 
-Leverage is a double edged sword in that it magnifies both gains and losses. If a trader uses leverage to make a trade and the trade moves against the trader, their loss is much greater than it would have been if the trader had not leveraged the trade. 
- 
-BitMEX for example is a popular cryptocurrency exchange that offers leverage trading. ​ 
- 
-Leverage trading, also known as margin trading, is a system which allows a trader to open positions much larger than their own capital would allow. ​ 
- 
-Not all exchanges offer leverage so this setting can only be used on those exchanges that offer the ability to trade with leverage. 
- 
-** BitMEX ** 
- 
-  * BitMEX offers leverage on all of its products except UP and DOWN contracts. 
-  * The amount of leverage BitMEX offers varies from product to product. ​ 
-  * Leverage is determined by the [[https://​www.bitmex.com/​app/​marginTermReference|Initial Margin and Maintenance Margin]] levels. These levels specify the minimum equity you must hold in your account to enter and maintain positions. ​ 
-  * Leverage is not a fixed multiplier but rather a minimum equity requirement. ​ 
-  * You can see the minimum Initial Margin and Maintenance Margin levels for all products [[https://​www.bitmex.com/​app/​riskLimits#​instrument-risk-limits|here]]. 
-  * The highest leverage BitMEX offers is up to 100x leverage on its Daily Bitcoin / JPY Futures Contract and the Perpetual Bitcoin / USD Perpetual Contract. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_min_buy_volume ​ == 
-<file java> 
-DEFAULT_DCA_min_buy_volume = 500 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: Decimal value greater than or equal to 0. 
- 
-Ignore coins with a 24 hour volume below the specified amount. Volume is measured in units of your base currency. If you are trading BTC, 500 = 500 BTC in 24 hour volume. If USDT, 500 = $500 (you may need to adjust this value according to volume of the market on your exchange. 
- 
-It is more risky to trade low volume coins because it is more difficult to sell them quickly or buy them quickly due to the lower available trading partners, which can lead to negative price impacts. ​ 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_max_buy_spread == 
-<file java> 
-DEFAULT_DCA_max_buy_spread = 2 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: decimal number greater than or equal to 0. 
- 
-Do not DCA coins where the current spread % between lowest ask and highest bid orders exceeds the set value. If spread is too big, most likely there was a coin dump/pump and you are buying too high.  A value of 2 is mildly conservative. 1 is more conservative. 3 would be more aggressive. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_min_orderbook_volume_percentage ​ == 
-<file java> 
-DEFAULT_DCA_min_orderbook_volume_percentage = 150 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: Decimal value equal to or greater than 0.  
- 
-Only place a buy order if there'​s enough volume in order book to fill the order. This helps against partial buys. 
- 
-100 means there should be at least 100% of the amount we want to buy in the orderbook. 150 means there should be 150% of the amount we want to buy in the orderbook to issue the buy order. So if you need 5 coins at price A, using 150, the orderbook should have at least 7.5 coins at price A. 
- 
-**Note:** 
-  - Avoid using less than 100 unless your [[pairs.properties#​DEFAULT_initial_cost]] is well above dust levels. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_min_orderbook_price_slippage_percentage == 
-<file java> 
-DEFAULT_DCA_min_orderbook_price_slippage_percentage = 0.5 
-</​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: Decimal Values greater than or equal to 0. Default is 0 
- 
-Set the percentage of price slippage allowed when ProfitTrailer is looking to buy a coin. 
- 
-//EXAMPLE\\ 
-We want to buy 80 coins\\ 
- 
-DEFAULT_DCA_min_orderbook_price_slippage_percentage = 0.5\\ 
-\\ 
-THE ORDERBOOK\\ 
-price              -- amount \\ 
-0.00100 ​           --     50 \\ 
-0.001001 ​          ​-- ​    ​75 ​ \\ 
-\\ 
-0.00100 + 0.5% = 0.001005\\ 
-\\ 
-There are not enough coins available at 0.00100. ProfitTrailer will now check how many coins are available at a price of LESS than 0.001005\\ 
-There are 125. And that is enough. ​ \\ 
-ProfitTrailer will place a buy order at the limit price of 0.001005 and it would buy the 50 at 0.00100 + the other 30 at 0.001001//​\\ 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_rebuy_timeout ​ == 
-<file java> 
-DEFAULT_DCA_rebuy_timeout = 10 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: Integers greater than or equal to 0 
- 
-Set the amount of minutes that the bot is not allowed to buy a coin (initial or DCA buy) after it was DCA'​d/​sold. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_buy_min_change_percentage ​ == 
-<file java> 
-DEFAULT_DCA_buy_min_change_percentage = 0 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: Decimal Values 
- 
-Do not DCA a coin if the 24 hour percentage change is less than the set value. 
- 
-//​Example:​\\ 
-DEFAULT_DCA_buy_min_change_percentage = 3.5 --> Only buy a coin if the 24 hour change is greater than 3.5%\\ 
-DEFAULT_DCA_buy_min_change_percentage = -2 --> Only buy a coin if the 24 hour change is greater than -2%// 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_buy_max_change_percentage ​ == 
-<file java> 
-DEFAULT_DCA_buy_max_change_percentage = 0 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: Decimal Values 
- 
-Do not DCA a coin if the 24 hour percentage change is greater than the set value. 
- 
-//​Example:​\\ 
-DEFAULT_DCA_buy_max_change_percentage = 8 --> Only buy a coin if the 24 hour change is less than 8%\\ 
-DEFAULT_DCA_buy_max_change_percentage = -1 --> Only buy a coin if the 24 hour change is less than -1%// 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_ignore_sell_only_mode ​ == 
-<file java> 
-DEFAULT_DCA_ignore_sell_only_mode = false 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: true or false 
- 
-Set this value to true to allow DCA to continue buying even if the bot is in Sell Only Mode. This is often used when you want the bot to stop buying new coins, but continue to DCA and attempt to get rid of existing coins. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_sell_wall_orderbook_depth == 
-<file java> 
-DEFAULT_DCA_sell_wall_orderbook_depth = 40 
-</​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}}]][[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 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 ''​[[dca.properties#​DEFAULT_DCA_sell_wall_diff_percentage]]''​ setting. If it exceeds the allowed difference the coin will not be purchased. 
- 
-**Note:** 
-  - Used with ''​[[dca.properties#​DEFAULT_DCA_sell_wall_diff_percentage]]''​ 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_sell_wall_diff_percentage == 
-<file java> 
-DEFAULT_DCA_sell_wall_diff_percentage = 600 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: Decimal values greater than 100 
- 
-Set the maximum difference allowed from the average order size within the ''​[[dca.properties#​DEFAULT_DCA_sell_wall_orderbook_depth]]''​. If this difference is exceeded then the coin will not be bought. 
- 
-//Example: \\ 
-DEFAULT_DCA_sell_wall_orderbook_depth = 20 \\ 
-DEFAULT_DCA_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 ''​[[dca.properties#​DEFAULT_DCA_sell_wall_orderbook_depth]]''​ 
- 
-[[dca.properties|TOP]] 
- 
----- 
- 
-==== BUY SETTINGS ==== 
- 
-More than one buy strategy can be used at the same time. To define more than one buy strategy replace A with B, C, D or E. e.g DEFAULT_B_buy_strategy. ALL relevant B parameters will also be required. 
- 
----- 
-== DEFAULT_DCA_A_buy_strategy_label == 
-<file java> 
-DEFAULT_DCA_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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - 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]] (if pre-set for import) or the indicator [[web_interface_guide#​advanced]] tab, we define RSI and RSI900 values 
- 
-//​RSI_candle_period = 900 \\ 
-RSI_length = 35 \\ 
-\\ 
-RSI900_candle_period = 900 \\ 
-RSI900_length = 35 //\\ 
- 
-In [[dca.properties]] (if pre-set for import) or the DCA [[web_interface_guide#​advanced]] tab, 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_buy_strategy ​ == 
-<file java> 
-DEFAULT_DCA_A_buy_strategy = LOWBB 
-</​file>​ 
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - 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: SIGNAL, ANDERSON, LOWBB, EMASPREAD, SMACROSS, STOCHRSID, MACD etc or DISABLED (See the [[buy_and_sell_strategies|Buy and Sell Strategies]] page for all options and more info on each setting.) 
- 
-Define a strategy to be used when buying more of a coin. 
- 
-**Notes:​**  ​ 
-  - If using multiple strategies the logic requires all to be true. i.e A AND B AND C, not A or B or C. 
-  - The designators used do not need to be in order. e.g B and D can be used instead of A and B. 
-  - If using SIGNAL either an approved external provider signal or your own TradingView signal is required. These Signals are created outside of the ProfitTrailer product, see this page for details on [[https://​wiki.profittrailer.com/​doku.php?​id=signals|how to integrate with signals]] 
-  - Signals are not part of your ProfitTrailer product license and require a separate paid subscription to either an approved supplier'​s signals service and/or the TradingView integration service. These subscriptions are available for purchase from the [[https://​profittrailer.com/​shop/​|ProfitTrailer Shop]]. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_A_buy_value ​ == 
-<file java> 
-DEFAULT_DCA_A_buy_value = -20 
-</​file>​ 
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - 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: Positive or negative decimal values depending on the [[buy_and_sell_strategies#​strategies_available|Buy Strategy]] 
- 
-The target value that is required for the corresponding buy strategy to be considered true.  
-\\ 
-//Example: for LOWBB, if set to 0 (0%), a buy signal is generated when the price of the coin is equal to or lower than the LOWBB line. If it were set to -5 (-5%), the signal would be generated when the price is 5% below LOWBB.// 
- 
-Remember ​ 
- 
-**Notes**: 
-  - The unnumbered default parameter will be used if no DCA level specific alternative is configured. 
-  - If you are using trailing, the bot will follow the price down further and will not buy immediately. See ''​[[dca.properties#​DEFAULT_DCA_trailing_buy]]''​ below. ​ 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_A_buy_value_limit ​ == 
-<file java> 
-DEFAULT_DCA_A_buy_value_limit = 0 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: positive or negative decimal values depending on the [[buy_and_sell_strategies#​strategies_available|Buy Strategy]] 
- 
-This value sets the outer limit of a "buy zone" with the buy value as the other limit. Do not include this parameter if no limit is desired. 
- 
-**Notes**: 
-  - The buy_value_limit needs to be further into the buy zone that the buy value otherwise a buy cannot take place. ​ 
-  - Trailing will not work beyond the limit. 
-  - If you for any reason would want the value "​0"​ as a limit you would need to set a value in close proximity (like 0.01 or -0.01) depending on the buy strategy (RSI for example only allows for positive values). ​ 
-  - The unnumbered default parameter will be used if no DCA level specific alternative is configured. 
- 
-//Example: EMASPREAD \\ 
-DEFAULT_DCA_A_buy_value = 2 \\  
-DEFAULT_DCA_A_buy_value_limit = 5 \\ 
-The bot will only buy if SPREAD is between 2% and 5%// 
- 
-//Example: EMASPREAD \\ 
-DEFAULT_DCA_A_buy_value = 0.55 \\  
-DEFAULT_DCA_A_buy_value_limit = 2.5 \\ 
-The bot will only buy if EMASPREAD is between 0.5% and 2.5%// 
- 
-//Example: HIGHBB \\ 
-DEFAULT_DCA_A_buy_value = -20 \\  
-DEFAULT_DCA_A_buy_value_limit = -45 \\ 
-The bot will only buy if the price is between HIGHBB -20 and HIGHBB -45// 
- 
-//Example: HIGHBB \\ 
-DEFAULT_DCA_A_buy_value = 15 \\  
-DEFAULT_DCA_A_buy_value_limit = -50 \\ 
-The bot will only buy if the price is between HIGHBB 15 and HIGHBB -50// 
- 
-//Example: RSI \\ 
-DEFAULT_DCA_A_buy_value = 30 \\  
-DEFAULT_DCA_A_buy_value_limit = 15 \\ 
-The bot will only buy if RSI is between 15 and 30// 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_buy_strategy_formula == 
-<file java> 
-DEFAULT_DCA_buy_strategy_formula = 
-</​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 valid set of properly formatted strategies using javascript operators; examples below.\\ 
-\\ 
- 
- - NOTE: Formatted strings follow the order of operations and uses AND ( && ), OR ( || ), NOT ( ! ).\\ 
-\\ 
- 
- - You must use parenthesis to delimit what you want to add together, i.e.- you cannot use A && B || C because the bot will not know whether you want to use A and B together OR C .. or whether you want to use A ....and B OR C.\\ 
- 
-**Example:​** 
-<file java>​DEFAULT_DCA_buy_strategy_formula = ((A && B) || C)</​file>​ 
-Will look for either: A and B strategies to be TRUE , OR for the C strategy to be TRUE.\\ 
-\\ 
- 
-<file java>​DEFAULT_DCA_buy_strategy_formula = A || B</​file>​ 
-Will look for either: A OR B strategies to be true.\\ 
-\\ 
- 
-<file java>​DEFAULT_DCA_buy_strategy_formula = (A || (B && C))</​file>​ 
-Will look for either: A strategy to be TRUE , OR for the B and C strategies to be TRUE.\\ 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_ignore_buy_trigger == 
-<file java> 
-DEFAULT_DCA_ignore_buy_trigger = false 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: true or false, default is false. 
- 
-Used to ignore the DCA buy trigger alltogether. Setting this to true will ignore any DCA buy trigger value and use ONLY the strategy values in order to buy. 
- 
-//​Example:​\\ 
-DEFAULT_DCA_A_buy_strategy = RSI\\ 
-DEFAULT_DCA_A_buy_value = 35\\ 
-DEFAULT_DCA_buy_trigger = -2.5\\ 
-DEFAULT_DCA_ignore_buy_trigger = true\\ 
-The strategy will be true when the RSI value is below 35 and also it will ignore the trigger setting of -2.5 and will trigger a buy based ONLY on the RSI buy value.//\\ 
- 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_A_buy_strategy_direction == 
-<file java> 
-DEFAULT_DCA_A_buy_strategy_direction = UP/DOWN 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: UP or DOWN 
- 
-Used to reverse the logic of a buy strategy in order to change when the strategy will indicate true relative to the ''​buy_value''​ used. 
- 
-//​Example:​\\ 
-DEFAULT_DCA_A_buy_strategy = RSI\\ 
-DEFAULT_DCA_A_buy_value = 35\\ 
-The strategy will be true when the RSI value is below 35\\ 
-\\ 
-DEFAULT_DCA_A_buy_strategy = RSI\\ 
-DEFAULT_DCA_A_buy_value = 35\\ 
-DEFAULT_DCA_A_buy_strategy_direction = UP\\ 
-The strategy will be true when the RSI value is above 35.// 
- 
-**Note:** 
-  - Only compatible with RSI, STOCHRSIK, STOCHRSID, BBWIDTH and STOCH. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_A_buy_on_first_signal == 
-<file java> 
-DEFAULT_DCA_A_buy_on_first_signal = false 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: true or false. ​ 
- 
-In normal buying a strategy can remain true for a long time even with a small buy zone created using a tight ''​buy_value_limit''​. To prevent this buy_on_first_signal can be used to switch a strategy back to false a few seconds after it enters the buy zone and becomes true, giving a limited buy opportunity. ​ 
- 
-Default value is false. Set to true to only permit the bot to buy as soon as a strategy becomes true. The strategy will change to true after crossing into the buy zone. Upon the next refresh of the coin, the strategy will become false again. It will not become true again until it leaves the buy zone and then re-enters it. 
- 
-In practice, the strategy/​strategies on which you use buy_on_first_signal need to be the last to become true as it will only be true momentarily. 
- 
-If this is used with multiple strategies, then all strategies need to become true in the same refresh. 
- 
-//​Example:​\\ 
-DEFAULT_DCA_A_buy_strategy = LOWBB\\ 
-DEFAULT_DCA_A_buy_value = 15 \\  
-DEFAULT_DCA_A_buy_on_first_signal = true\\ 
-\\ 
-DEFAULT_DCA_B_buy_strategy = EMAGAIN\\ 
-DEFAULT_DCA_B_buy_value = -0.55 \\  
- 
- 
-The bot will attempt to buy when the price is less than or equal to the line 0.55% below the lowest EMA line and it crosses below the LOWBB 15 value. But, even if LOWBB is still below 15 on the next check, the LOWBB indicator will be set to false. It will need to rise above 15 and then re-enter the buy zone before it is set to true again. ​ 
-// 
- 
-**Note:** 
-  - You cannot use ''​DEFAULT_DCA_trailing_buy''​ with this parameter as the two will prevent the other from working. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_buy_trigger ​ == 
-<file java> 
-DEFAULT_DCA_buy_trigger = -3.5 
-</​file>​ 
-OR 
-<file java> 
-DEFAULT_DCA_buy_trigger = 0.88 
-</​file>​ 
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - 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: Any positive or negative decimal values. ​ 
- 
-Set the loss or gain % required before a DCA buy can take place. All configured buy strategies must be true and you must have lost (negative values) or gain (positive values) at least this amount from your average bought price. 
- 
-**Note**: 
-  - The unnumbered default parameter will be used if no DCA level specific alternative is configured. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== SOM_DCA_buy_trigger ​ == 
-<file java> 
-SOM_DCA_buy_trigger = -5.5 
-</​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: Decimal values equal to or less than 0.  
- 
-Set the loss % required before a DCA buy can take place when SOM is on. All configured buy strategies must be true and you must have lost at least this amount from your average bought price. 
- 
-**Notes**: 
-  - 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]] 
- 
----- 
-== DEFAULT_DCA_trailing_buy ​ == 
-<file java> 
-DEFAULT_DCA_trailing_buy = 0.3 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: Decimal values equal to or greater than 0.  
- 
-Once all buy strategies are true, the bot will make note of the current ask price and begin watching. The price needs to fall and then rise by at least the percentage specified in order for a buy to be attempted. This will try to catch the price at its lowest point before trailing back up and buying. ​ 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_trailing_buy_rebound_count== 
-<file java> 
-DEFAULT_DCA_trailing_buy_rebound_count = 1 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid values: Integer values equal to or greater than 0.  
- 
-Set the number of times you want to see the price fluctuate into and out of a good trail before making the buy.  
- 
-A normal trail will occur as the price rises. If the trailing_buy amount is reached ProfitTrailer notes the current price as the new lowest price reached. The price must now go lower than the noted price to complete the first rebound. Normal trailing then occurs again and the process will repeat itself as many times as set to do so. 
- 
-More detail in on how Trailing works [[a_trailing_story|here in A Trailing Story]]. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_trailing_buy_reset_with_strategies == 
-<file java> 
-DEFAULT_DCA_trailing_buy_reset_with_strategies = false 
-</​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: true or false , default is false.\\ 
- 
-If set to True, trailing will reset (stop trailing) if your strategies are not TRUE anymore and ready to buy.\\ 
-If set to false, trailing will continue based on price at trail start and ignore strategy indicators.\\ 
- 
-Using this property will stop [[dca.properties#​default_dca_trailing_buy]] if ANY of your current strategies change from being true. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_buy_percentage ​ == 
-<file java> 
-DEFAULT_DCA_buy_percentage = 100 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: Decimal values equal to or greater than 0.  
- 
-Customise the percentage of coins purchased when making a DCA buy in relation to overall coins owned. The set value is the % of the current holding to be purchased at the next DCA level. Set to 100 for the equivalent of version 1.x doubling down each level. 
- 
-**Note**: 
-  - The unnumbered default parameter will be used if no DCA level specific alternative is configured. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== 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]] 
- 
----- 
- 
-==== SELL SETTINGS ==== 
-More than one sell strategy can be used at the same time. To define more than one sell strategy replace A with B, C, D or E. e.g DEFAULT_B_sell_strategy. ALL relevant B parameters will also be required. 
- 
-It is **required that GAIN is used** as one of the sell strategies. GAIN determines the minimum profit percentage before the bot can sell the coin.  
- 
----- 
-== 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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - 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]] 
- 
----- 
-== DEFAULT_DCA_A_sell_strategy ​ == 
-<file java> 
-DEFAULT_DCA_A_sell_strategy = GAIN 
-</​file>​ 
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - 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: SIGNAL, GAIN, EMASPREAD, STOCHRSICROSS,​ RSI, BBWIDTH or DISABLED (See the [[buy_and_sell_strategies|Buy and Sell Strategies]] page for all options and more info on each setting.) 
- 
-Define a strategy used to sell coins. 
- 
-**Notes:** 
-  - If using multiple strategies the logic requires all to be true. i.e A AND B AND C, not A or B or C. 
-  - The designators used do not need to be in order. e.g B and D can be used instead of A and B. 
-  - If using SIGNAL either an approved external provider signal or your own TradingView signal is required. These Signals are created outside of the ProfitTrailer product, see this page for details on [[https://​wiki.profittrailer.com/​doku.php?​id=signals|how to integrate with signals]] 
-  - Signals are not part of your ProfitTrailer product license and require a separate paid subscription to either an approved supplier'​s signals service and/or the TradingView integration service. These subscriptions are available for purchase from the [[https://​profittrailer.com/​shop/​|ProfitTrailer Shop]]. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_A_sell_value ​ == 
-<file java> 
-DEFAULT_DCA_A_sell_value = 2 
-</​file>​ 
-[[faq#​how_do_i_change_settings_on_a_single_coin|{{:​csbw.png?​18|Coin Specific - 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: positive or negative decimal numbers depending on the [[buy_and_sell_strategies#​selling|Sell Strategy]] 
- 
-The target value that triggers the sell process. 
- 
-**Notes**: 
-  - The unnumbered default parameter will be used if no DCA level specific alternative is configured. 
-  - If you are using trailing the bot will follow the price up further and therefore may not sell immediately. See ''​[[dca.properties#​DEFAULT_trailing_profit]]''​ below. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_A_sell_value_limit == 
-<file java> 
-DEFAULT_DCA_A_sell_value_limit =  
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid values: positive or negative decimal numbers depending on the [[buy_and_sell_strategies|Sell Strategy]] 
- 
-This value sets the outer limit of a "sell zone" with the sell value as the other limit. Do not include this parameter if no limit is desired. 
- 
-**NOTE**: The set ''​sell_value_limit''​ needs to be further into the sell zone than the buy value otherwise a sell cannot take place. Trailing will not work beyond the limit. 
- 
-//Example: EMASPREAD \\ 
-DEFAULT_DCA_A_sell_value = -1.5 \\  
-DEFAULT_DCA_A_sell_value_limit = -2.5 \\ 
-The bot will only sell if EMASPREAD is between -1.5% and -2.5%// 
- 
-//Example: EMASPREAD \\ 
-DEFAULT_DCA_A_sell_value = 0.55 \\  
-DEFAULT_DCA_A_sell_value_limit = 2.5 \\ 
-The bot will only sell if EMASPREAD is between 0.5% and 2.5%// 
- 
-//Example: LOWBB \\ 
-DEFAULT_DCA_A_sell_value = -20 \\  
-DEFAULT_DCA_A_sell_value_limit = -45 \\ 
-The bot will only buy if the price is between LOWBB -20 and LOWBB -45// 
- 
-//Example: LOWBB \\ 
-DEFAULT_DCA_A_sell_value = 15 \\  
-DEFAULT_DCA_A_sell_value_limit = -50 \\ 
-The bot will only sell if the price is between LOWBB 15 and LOWBB -50// 
- 
-//Example: RSI \\ 
-DEFAULT_DCA_A_sell_value = 30 \\  
-DEFAULT_DCA_A_sell_value_limit = 15 \\ 
-The bot will only sell if RSI is between 15 and 30// 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_sell_strategy_formula == 
-<file java> 
-DEFAULT_DCA_sell_strategy_formula = 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid values: Any valid set of properly formatted strategies using javascript operators; examples below. 
- 
-**Note:** 
-  - Formatted strings follow the order of operations and uses AND ( && ), OR ( || ), NOT ( ! ). 
-  - You must use parenthesis to delimit what you want to add together, i.e.- you cannot use A && B || C because the bot will not know whether you want to use A and B together OR C .. or whether you want to use A ....and B OR C. 
- 
-**Example:​** 
-<file java>​DEFAULT_DCA_sell_strategy_formula = ((A && B) || C)</​file>​ 
-Will look for either: A and B strategies to be TRUE , OR for the C strategy to be TRUE. 
- 
-<file java>​DEFAULT_DCA_sell_strategy_formula = A || B</​file>​ 
-Will look for either: A OR B strategies to be true. 
- 
-<file java>​DEFAULT_DCA_sell_strategy_formula = (A || (B && C))</​file>​ 
-Will look for either: A strategy to be TRUE , OR for the B and C strategies to be TRUE. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_trailing_profit ​ == 
-<file java> 
-DEFAULT_DCA_trailing_profit = 0 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: Decimal number greater than or equal to zero.  
- 
-Once all sell strategies are true, the bot will make note of the current bid price and begin watching. The price needs to rise and then fall by at least the percentage specified in order for a sell to be attempted. In short, tries to trail the profit upwards to gain better profits. More detail in on how Trailing works [[a_trailing_story|here in A Trailing Story]]. 
- 
-**NOTES:** 
-  - ''​[[dca.properties#​DEFAULT_DCA_take_profit_wait_time|DEFAULT_DCA_take_profit]]''​ and ''​[[dca.properties#​DEFAULT_DCA_max_profit]]''​ can trigger a sell without trailing. 
-  - If GAIN is NOT used as a sell strategy, then you cannot use DEFAULT_DCA_trailing_profit settings. 
- 
-[[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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - 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_DCA_trailing_profit_rebound_count == 
-<file java> 
-DEFAULT_DCA_trailing_profit_rebound_count = 1 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid values: Integer values equal to or greater than 0.  
- 
-Set the number of times you want to see the price fluctuate into and out of a good trail before making the buy.  
- 
-A normal trail will occur as the price falls. If the trailing_profit amount is reached ProfitTrailer notes the current price as the new highest price. The price must now go higher than the noted price to complete the first rebound. Normal trailing then occurs again and the process will repeat itself as many times as set to do so. 
- 
-More detail in on how Trailing works [[a_trailing_story|here in A Trailing Story]]. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DCA_orderbook_profit_calculation ​ == 
-<file java> 
-DCA_orderbook_profit_calculation = true 
-</​file>​ 
-[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]] 
- 
-Valid Values: true or false 
- 
-If false (default) the bot only looks at the highest bid order to calculate profit percentage and observe order book volume. If the highest Bid is not large enough, ProfitTrailer won't try to sell. If set to true, ProfitTrailer will work its way down the order book adding up the orders until it has enough volume. This gives you a more realistic representation of your position and allows the bot to make a sale it otherwise not have even attempted. 
- 
-Both percentages will be displayed in the Profit % column in the [[web_interface_guide|DCA Log]]. The volume corrected profit % is displayed beneath the standard profit % only when SSV is greater than 0. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_max_profit == 
-<file java> 
-DEFAULT_DCA_max_profit = 15 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: Decimal number greater than or equal to zero.  
- 
-Instruct the bot to sell the coin if the profit reaches the set percentage regardless of all sell strategies being true. 
-Set to 0 to disable 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_take_profit_percentage ​ == 
-<file java> 
-DEFAULT_DCA_take_profit_percentage = 0  
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: Decimal values greater than or equal to 0. 
- 
-Set a profit percentage above which the bot will attempt to sell the coin if the price has remained within ''​[[pairs.properties#​DEFAULT_DCA_take_profit_reset_percentage_move]]'' ​ for ''​[[pairs.properties#​DEFAULT_DCA_take_profit_wait_time]]''​ minutes. 
- 
-//​Examples:​\\ 
-DEFAULT_DCA_take_profit_percentage = 0.5\\ 
-DEFAULT_DCA_take_profit_reset_percentage_move = 0 (or the parameter is deleted/​commented out)\\ 
-DEFAULT_DCA_take_profit_wait_time = 2\\ 
-If the Profit is greater than 0.5% and the price does not change for 2 minutes, regardless of sell strategies being true, the bot will attempt to sell the coin.\\ 
-\\ 
-DEFAULT_DCA_take_profit_percentage = 0.333\\ 
-DEFAULT_DCA_take_profit_reset_percentage_move = 0.2\\ 
-DEFAULT_DCA_take_profit_wait_time = 20\\ 
-If the Profit is greater than 0.333% and the price does not deviate by more than 0.2% (up or down from the price at the start of the ''​wait_time''​) for 20 minutes, regardless of sell strategies being true, the bot will attempt to sell the coin.\\ 
-// 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_take_profit_reset_percentage_move == 
-<file java> 
-DEFAULT_DCA_take_profit_reset_percentage_move = 0 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: Decimal values greater than or equal to 0. 
- 
-Set the % of price deviation allowed from the ''​[[pairs.properties#​DEFAULT_DCA_take_profit_percentage]]''​ before resetting the ''​[[pairs.properties#​DEFAULT_DCA_take_profit_wait_time]]''​. If the deviation is exceeded the new price is monitored for the deviation and the ''​wait_time''​ starts again. Set to 0 to reset the ''​wait_time''​ every time the price changes. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_take_profit_wait_time ​ == 
-<file java> 
-DEFAULT_DCA_take_profit_wait_time = 0 
-</​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}}]][[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 or equal to 0. 
- 
-Set the number of minutes to wait while the profit percentage is greater than ''​[[dca.properties#​DEFAULT_DCA_take_profit_percentage]]''​ before attempting to sell. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_take_profit_safety_arm == 
-<file java> 
-DEFAULT_DCA_take_profit_safety_arm = 0.8 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: Decimal values greater than or equal to 0 
- 
-Set the value which will arm the Take Profit Safety sell method. ​ 
- 
-If the profit goes above ''​[[dca.properties#​DEFAULT_DCA_take_profit_safety_arm]]''​ we flag the coin as armed. 
-Then if the profit comes back down below the ''​[[dca.properties#​DEFAULT_DCA_take_profit_safety_fire]]''​ value the bot will attempt to sell the coins. 
- 
-**Notes:** 
-  - The arm value is just a boolean (true or false). ​ Once armed it can fire at whatever the fire value is. It will stay armed if you change arm or fire values even if the new arm value is higher but it will fire at the new fire value if changed. 
-  - See [[a_trailing story#​Scenario 5 - Trailing Stop loss|A trailing Story]] for more information. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_take_profit_safety_fire == 
-<file java> 
-DEFAULT_DCA_take_profit_safety_fire = 0.5 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: Decimal values greater than or equal to 0 
- 
-Set the value which will trigger the Take Profit Safety sell method. Requires ''​[[dca.properties#​DEFAULT_DCA_take_profit_safety_arm]]''​ to be armed. 
- 
-**Notes:** 
-  - Must be less than [[dca.properties#​DEFAULT_DCA_take_profit_safety_arm]] 
-  - See [[a_trailing story#​Scenario 5 - Trailing Stop loss|A trailing Story]] for more information. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_pending_gain_percentage == 
-<file java> 
-DEFAULT_DCA_pending_gain_percentage = 2 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: Decimal values greater than or equal to 0 
- 
-Set the target profit percentage for pending orders. Orders will be placed on the exchange at a price that results in the set percentage of profit. 
- 
-**Note:** 
-  - Fees are taken into account. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_pending_order_wait_time ​ == 
-<file java> 
-DEFAULT_DCA_pending_order_wait_time = 0 
-</​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}}]][[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 or equal to 0 
- 
-If x amount of time in minutes has passed since we bought a coin and we have not sold it, create limit sell order for that pair at a price equivalent to your GAIN strategy ''​[[dca.properties#​DEFAULT_DCA_A_sell_value|sell_value]]''​. Set to 0 to disable. This places the coin in the pending log and enables the bot to buy this pair again separately if suitable while not affecting the existing bag. 
- 
-The bot will report the Profit % and the Comb Profit % in the Pending Log. Combined Profit takes the pending order and any additional coins into account and gives the overall position for that pair. 
- 
-**Note:​** ​ 
-  - Coins that sell from a manually placed exchange order are not recorded in the sales log. Coins that sell from a bot placed pending order will be recorded in the sales log. 
-  -  ''​[[dca.properties#​DEFAULT_combined_cancel_pending_trigger]]''​ in pairs.properties can be used to attempt to cancel pending sales and return them to the pairs/dca log if combined profit reaches the set level. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_pending_order_price_drop_trigger == 
-<file java> 
-DEFAULT_DCA_pending_order_price_drop_trigger = 10 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid values: Positive or negative decimal values. ​ 
-(1 and -1 are equal.) 
- 
-If the price has dropped x% since we bought a coin and we have not sold it (and it's in the dca log), create limit sell order for that pair at a price equivalent to your GAIN strategy ''​[[dca.properties#​Default DCA_A_sell_value|sell_value]]''​. This places the coin in the pending log and enables the bot to buy this pair again separately if suitable while not affecting the existing bag. Set to 0 to disable. 
- 
-The bot will report the Profit % and the Combined Profit % in the Pending Log. Combined Profit takes the pending order and any additional amounts of the same coin into account and gives the overall position for that pair. 
- 
-**Notes**: ​ 
-  - Coins that sell from a manually placed exchange order are not recorded in the sales log. Coins that sell from a bot placed pending order will be recorded in the sales log. 
-  -  ''​[[dca.properties#​DEFAULT_DCA_combined_cancel_pending_trigger]]''​ can be used to attempt to cancel pending sales and return them to the pairs/dca log if combined profit reaches the set level. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_combined_cancel_pending_trigger == 
-<file java> 
-DEFAULT_DCA_combined_cancel_pending_trigger = 0 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid values: Positive or negative decimal values. 
- 
-Cancel pending orders for a coin if the combined profit with a non-pending amount of the same coin reaches the specified amount. 
- 
-**Note:** 
-  - Will only cancel pending orders that DCA logic is being applied to. See [[FAQ#Which will my bot use?]] 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_cancel_pending_trigger == 
-<file java> 
-DEFAULT_DCA_cancel_pending_trigger = -0.5 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: Positive or Negative decimal values. 
- 
-Cancel pending orders for a coin if the profit reaches the set percentage and return the coin to the PAIRS or DCA log as applicable. In order for this to cancel an existing pending order the value set must be lower than the GAIN or ''​[[dca.properties#​DEFAULT_DCA_pending_gain_percentage]]''​ set 
- 
-**Note:** 
-  - Will only cancel pending orders that DCA logic is being applied to. See [[FAQ#Which will my bot use?]] 
-  - The percentage in the Pending Log is relative to the price the order is set for. 0% is where the pending order will otherwise sell. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_combine_pending_orders == 
-<file java> 
-DEFAULT_DCA_combine_pending_orders = false 
-</​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: true/false 
- 
-Choose to combine pending orders for the same coin into one item in the pending log or keep them as separate items. 
- 
-Default value is true if not set. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_stop_loss_trigger ​ == 
-<file java> 
-DEFAULT_DCA_stop_loss_trigger = -10 
-</​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}}]][[mandatory_settings#​caution|{{:​warnbr.png?​18|Caution - click for more info}}]] 
- 
-Valid Values: Decimal values less than or equal to 0 
- 
-Set the value that will trigger a stop loss order. If the value of a coin drops below the set percentage it will be automatically sold for a loss. 
- 
-**Notes**: ​ 
-  - Stop loss positive values are automatically converted to negative value. ​ 
-  - Stop loss will only occur once DCA is complete unless ''​[[dca.properties#​DCA_stop_before_complete]] = true''​ 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_stop_loss_timeout == 
-<file java> 
-DEFAULT_DCA_stop_loss_timeout = 5 
-</​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}}]][[faq#​how_do_i_vary_a_setting_per_dca_level|{{:​dcabw.png?​18|DCA level specific - click for more info}}]] 
- 
-Valid Values: Integers greater than or equal to 0 
- 
-Set the amount of minutes that the bot is not allowed to buy a coin after it was sold by stop loss trigger. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_trailing_stop_loss_trigger_arm == 
-<file java> 
-DEFAULT_DCA_trailing_stop_loss_trigger_arm = 0.8 
-</​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}}]][[mandatory_settings#​caution|{{:​warnbr.png?​18|Caution - 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: Decimal values greater than or equal to 0 
- 
-Set the value which will arm the Trailing Stop Loss sell method. If arm is not set, Trailing Stop Loss is armed automatically. 
- 
-If the profit goes above ''​[[dca.properties#​DEFAULT_DCA_trailing_stop_loss_trigger_arm]]''​ we flag the coin as armed. 
-Once armed, if the profit% falls and meets the condition set in ''​[[dca.properties#​DEFAULT_DCA_trailing_stop_loss_trigger]]''​ the bot will attempt to sell the coins. 
- 
-**Notes:** 
-  - The arm value is just a boolean (true or false). ​ Once armed it can fire at whatever the stop loss value is. It will stay armed if you change arm or stop loss values even if the new arm value is higher but it will sell at the new stop loss value if changed. 
-  - See [[a_trailing story#​Scenario 5 - Trailing Stop loss|A trailing Story]] for more information. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_trailing_stop_loss_trigger == 
-<file java> 
-DEFAULT_DCA_trailing_stop_loss_trigger = -3 
-</​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}}]][[mandatory_settings#​caution|{{:​warnbr.png?​18|Caution - 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: Decimal value less than 0. Set to 0 to disable. 
- 
-Set the percentage that ProfitTrailer will trail below the highest profit percentage reached in order to trigger a stop loss order. 
- 
-If the price of a coin falls by at least the trigger %, it will be automatically sold, potentially FOR A LOSS. Use carefully. Research Stop Loss from a financial website before using it.  ​ 
- 
-**Notes:​** ​ 
-  - If''​[[dca.properties#​DEFAULT_DCA_trailing_stop_loss_trigger_arm]]''​ is used, trailing stop loss will not function until armed. 
-  - Trailing stop loss works independently of the sell strategies in use. 
-  - Stop loss will only occur once DCA is complete unless ''​[[dca.properties#​DCA_stop_before_complete]] = true''​ 
-  - DEFAULT_DCA_trailing_stop_loss_trigger will only stop loss coins in the DCA log. Coins in PAIRS log are handled by ''​[[pairs.properties#​DEFAULT_trailing_stop_loss_trigger]]''​ 
-  - See [[a_trailing story#​Scenario 5 - Trailing Stop Loss|A trailing Story]] for more information. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DCA_stop_before_complete == 
-<file java> 
-DCA_stop_before_complete = false 
-</​file>​ 
-[[mandatory_settings#​optional_settings|{{:​optbw.png?​18|Optional - click for more info}}]] 
- 
-Valid Values: true or false 
- 
-If set to true, stop loss functions in DCA will behave the same as in pairs. once the set percentage is reached, the coin will sell as a stoploss. 
- 
-If set to false, stop loss functions in DCA will not occur until DCA is complete. 
- 
-What is complete? ​ 
-  - max_buy_times is reached OR 
-  - max_cost is reached OR 
-  - there is not enough balance to keep using DCA. 
- 
-[[dca.properties|TOP]] 
- 
----- 
-== DEFAULT_DCA_panic_sell_enabled == 
-<file java> 
-DEFAULT_DCA_panic_sell_enabled = false 
-</​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}}]][[mandatory_settings#​caution|{{:​warnbr.png?​18|Caution - click for more info}}]] 
- 
-Valid values: true or false 
- 
-Set to "​true"​ to sell all of your coins in the [[web_interface_guide#​DCA Log]] IMMEDIATELY for current market prices. It does what it says, and does it **now**. Use with caution. 
- 
-**Note:** 
-  - Coins in the [[web_interface_guide#​Pairs Log]] and in the [[web_interface_guide#​Pending Log]] will not be sold. 
- 
-[[dca.properties|TOP]] 
- 
----- 
- 
-==== Example Usage ==== 
- 
----- 
-<file java> 
-DEFAULT_DCA_A_buy_strategy = ANDERSON 
- 
-DEFAULT_DCA_B_buy_strategy = LOWBB 
-DEFAULT_DCA_B_buy_value = 30 
-DEFAULT_DCA_B_buy_value_limit = 0 
- 
-DEFAULT_DCA_trailing_buy = 0.3 
- 
-DEFAULT_DCA_buy_percentage_1 = 200 
-DEFAULT_DCA_buy_trigger_1 = -4 
-DEFAULT_DCA_buy_percentage_2 = 100 
-DEFAULT_DCA_buy_trigger_2 = -8 
-DEFAULT_DCA_buy_percentage_3 = 50 
-DEFAULT_DCA_buy_trigger_3 = -10.5 
-</​file>​ 
-DCA a coin if the price is below LOWBB 30 and difference between my average price and the lowest sell order on the exchange is at least the buy_trigger %. Also the price must have trailed up buy 0.3% from the lowest point after both strategies were true. Mind that DEFAULT_DCA_B_buy_value_limit = 0 does not set a limit at 0 but disables the limit. 
- 
-Depending how many times DCA has occurred the buy percentage is modified as is the target % drop for each level. 
- 
----- 
-<file java> 
-DEFAULT_DCA_A_buy_strategy = LOWBB 
-DEFAULT_DCA_A_buy_value = -20 
-DEFAULT_DCA_buy_trigger = -2 
-</​file>​ 
- 
-DCA a coin if difference between my average price and the lowest sell order on the exchange is at least 2% and the lowest sell order is below LOWBB -20. 
----- 
-<file java> 
-DEFAULT_DCA_A_buy_strategy = RSI 
-DEFAULT_DCA_A_buy_value = 30 
-DEFAULT_DCA_A_buy_value_limit = 0 
- 
-DEFAULT_DCA_B_buy_strategy = EMAGAIN 
-DEFAULT_DCA_B_buy_value = 0.05 
-DEFAULT_DCA_B_buy_value_limit = 1.5 
- 
-DEFAULT_DCA_trailing_buy = 0.3 
- 
-DEFAULT_DCA_buy_percentage = 100 
-DEFAULT_DCA_buy_trigger_1 = -3 
-DEFAULT_DCA_buy_trigger_2 = -5 
-DEFAULT_DCA_buy_trigger_3 = -6.65 
-</​file>​ 
-DCA a coin if RSI is under 30, EMAGAIN is between 0.05% and 1.5% and the difference between my average price and the lowest sell order on the exchange is at least the buy_trigger %. Also the price must have trailed up buy 0.3% from the lowest point after both strategies were true. Mind that DEFAULT_DCA_A_buy_value_limit = 0 does not set a limit at "​0"​ but disables the limit. In this usecase (RSI) "no limit" has the same effect as a limit of 0 would have. 
- 
-Depending how many times DCA has occurred the buy trigger is modified. 
- 
----- 
- 
-<file java> 
-DEFAULT_DCA_A_sell_strategy = GAIN 
-DEFAULT_DCA_A_sell_value = 0.9 
-</​file>​ 
-Attempt to sell a coin if we have at least 0.9% profit. 
- 
----- 
-<file java> 
-DEFAULT_DCA_A_sell_strategy = GAIN 
-DEFAULT_DCA_A_sell_value_1 = 0.9 
-DEFAULT_DCA_A_sell_value_2 = 0.8 
-DEFAULT_DCA_A_sell_value_3 = 0.75 
- 
-DEFAULT_DCA_B_sell_strategy = HIGHBB 
-DEFAULT_DCA_B_sell_value = 50 
-</​file>​ 
-Attempt to sell a coin if we have at least X% profit and the price is greater than HIGHBB 50. 
- 
-**[[dca.properties|TOP]]** 
- 
-~~DISCUSSION~~ 
  • dca.properties.1555107851.txt.gz
  • Last modified: 2 months ago
  • by armchairguru