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
coming_in_a_future_release [2018/07/13 05:57]
sgtbatten [Pairs.properties]
coming_in_a_future_release [2018/07/29 22:12]
sgtbatten [TVSTOCHRSI]
Line 53: Line 53:
   * settings menu screenshot   * settings menu screenshot
   * public configs   * public configs
-  * PBL reasons (SELL_WALL?)+  * PBL reasons (SELL WALL DETECTED) 
 +  * Buy tab
  
 ====== Application.properties ====== ====== Application.properties ======
  
-== server.contextPath == 
-<file java> 
-server.contextPath = /binancebtc 
-</​file>​ 
  
-Adds a custom base url to the Web server. 
- 
-Using the example above you would now access ProfitTrailer from http://​localhost:​8081/​binancebtc/​monitoring. 
- 
-**Notes:** 
-  - This does not change the requirement to run each bot on a different port. 
  
  
Line 77: Line 68:
  
  
-== server.exchangeUrl == 
-<file java> 
-server.exchangeUrl = https://​www.binance.com/​tradeDetail.html?​symbol=%c_%b 
-</​file>​ 
- 
-Define custom url to be used when a coin pair is clicked in the Web GUI. 
- 
-The %c and %b values are variables based on the coin pair being clicked. 
- 
-**%c** = currency (DOGE)\\ 
-**%b** = base (BTC) 
  
-If you are wanting to link to TV instead of the exchange this is also possible.\\ 
-Binance: https://​www.tradingview.com/​chart/?​symbol=BINANCE:​%c%b \\ 
-Bittrex: https://​www.tradingview.com/​chart/?​symbol=BITTREX:​%c%b \\ 
-Poloniex: https://​www.tradingview.com/​chart/?​symbol=POLONIEX:​%c%b \\ 
  
 ====== Pairs.properties ====== ====== Pairs.properties ======
  
-== DEFAULT_trailing_profit_type == 
-<file java> 
-DEFAULT_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 ''​[[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 
- 
-<file java>​STOCHRSI_D = 1</​file>​ 
  
 ---- ----
Line 403: Line 105:
 ====== BUY and Sell Strategies ====== ====== BUY and Sell Strategies ======
  
-==== TVSTOCHRSI ====+  * LOWBB can be used as sell strategy
  
-This buy/sell strategy is true when 
- 
-From [[http://​stockcharts.com/​school/​doku.php?​id=chart_school:​technical_indicators:​stochrsi|this article on StockCharts.com]] (much more info here, please read): ​ 
- 
-<​del>​StochRSI is an oscillator that measures the level of RSI relative to its high-low range over a set time period. StochRSI applies the Stochastics formula to RSI values, instead of price values. This makes it an indicator of an indicator. The result is an oscillator that fluctuates between 0 and 1. 
- 
-Traders looking to enter a stock based on an overbought or oversold reading in RSI might find themselves continuously on the sidelines. Chande and Kroll developed StochRSI to increase sensitivity and generate more overbought/​oversold signals. A move above 0.80 is considered overbought, while a move below 0.20 is considered oversold. Second, it can be used to identify the short-term trend.</​del> ​ 
  
 ---- ----
-**The Numbers** 
  
-Valid Values: 
-<​del>​Values between 0 and 1 are valid.</​del> ​ 
  
----- 
-**The Parameters** 
- 
-''​[[indicators.properties#​STOCHRSI_candle_period]]''​\\ 
-''​[[indicators.properties#​STOCHRSI_rsi_length]]''​\\ 
-''​[[indicators.properties#​STOCHRSI_stoch_length]]''​\\ 
-''​[[indicators.properties#​STOCHRSI_K]]''​\\ 
-''​[[indicators.properties#​STOCHRSI_D]]''​\\ 
- 
----- 
-**The Formula** 
-<file java> 
-StochRSI = (RSI - Lowest Low RSI) / (Highest High RSI - Lowest Low RSI) 
-</​file>​ 
- 
----- 
-**Examples** 
- 
-''​[[pairs.properties#​DEFAULT_A_buy_value]] = 0.2''​ → buy zone begins when the calculated value is less than 0.2. ''​[[pairs.properties#​DEFAULT_A_buy_value_limit]]''​ must be less than 0.2 if used. \\ 
-''​[[pairs.properties#​DEFAULT_A_sell_value]] = 0.8''​ → sell zone begins when the calculated value is greater than 0.8. \\ 
-''​[[dca.properties#​DEFAULT_DCA_A_buy_value|DEFAULT_DCA_B_buy_value]] = 0.3''​ → buy zone begins when the calculated value is less than 0.3. ''​[[dca.properties#​DEFAULT_DCA_A_buy_value_limit|DEFAULT_DCA_B_buy_value_limit]]''​ must be less than 0.3 if used.\\ 
- 
-\\ 
-[[buy_and_sell_strategies|TOP]] 
-\\ 
  
  
  • coming_in_a_future_release.txt
  • Last modified: 5 months ago
  • by sgtbatten