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
indicators.properties [2019/05/07 20:39]
armchairguru
— (current)
Line 1: Line 1:
-===== INDICATORS Config ===== 
-These settings are for the strategy periods, lengths and cross candles.\\ 
-The indicators config is also the place to define custom indicators using the label settings.\\ 
-See this [[pairs.properties#​default_a_buy_strategy_label|pairs label setting]] for more information on labels. 
  
----- 
-==== INDICATORS Settings ==== 
-Click to view the explanation of each parameter. 
- 
- 
-#Always uses 5 minute candles. 288 = 24 hours\\ 
-[[indicators.properties#​SOM_trigger_length]] = 288\\ 
- 
-[[indicators.properties#​BB_std]] = 2\\ 
-[[indicators.properties#​BB_candle_period]] = 300\\ 
-[[indicators.properties#​BB_length]] = 20\\ 
- 
-[[indicators.properties#​SMA_cross_candles]] = 2\\ 
-[[indicators.properties#​SMA_candle_period]] = 300\\ 
-[[indicators.properties#​SMA_fast_length]] = 12\\ 
-[[indicators.properties#​SMA_slow_length]] = 24\\ 
- 
-[[indicators.properties#​EMA_cross_candles]] = 3\\ 
-[[indicators.properties#​EMA_candle_period]] = 300\\ 
-[[indicators.properties#​EMA_fast_length]] = 3\\ 
-[[indicators.properties#​EMA_slow_length]] = 24\\ 
- 
-[[indicators.properties#​HMA_cross_candles]] = 3\\ 
-[[indicators.properties#​HMA_candle_period]] = 300\\ 
-[[indicators.properties#​HMA_fast_length]] = 3\\ 
-[[indicators.properties#​HMA_slow_length]] = 24\\ 
- 
-[[indicators.properties#​DEMA_cross_candles]] = 3\\ 
-[[indicators.properties#​DEMA_candle_period]] = 300\\ 
-[[indicators.properties#​DEMA_fast_length]] = 3\\ 
-[[indicators.properties#​DEMA_slow_length]] = 24\\ 
- 
-[[indicators.properties#​RSI_candle_period]] = 300\\ 
-[[indicators.properties#​RSI_length]] = 14\\ 
- 
-[[indicators.properties#​STOCH_candle_period]] = 300\\ 
-[[indicators.properties#​STOCH_length]] = 14\\ 
-[[indicators.properties#​STOCH_K]] = 1\\ 
-[[indicators.properties#​STOCH_D]] = 1\\ 
- 
-[[indicators.properties#​STOCHRSI_candle_period|STOCHRSID_candle_period]] = 900\\ 
-[[indicators.properties#​STOCHRSI_rsi_length|STOCHRSID_rsi_length]] = 14\\ 
-[[indicators.properties#​STOCHRSI_stoch_length|STOCHRSID_stoch_length]] = 14\\ 
-[[indicators.properties#​STOCHRSI_K|STOCHRSID_K]] = 3\\ 
-[[indicators.properties#​STOCHRSID_D]] = 3\\ 
- 
-[[indicators.properties#​STOCHRSI_candle_period|STOCHRSIK_candle_period]] = 900\\ 
-[[indicators.properties#​STOCHRSI_rsi_length|STOCHRSIK_rsi_length]] = 14\\ 
-[[indicators.properties#​STOCHRSI_stoch_length|STOCHRSIK_stoch_length]] = 14\\ 
-[[indicators.properties#​STOCHRSI_K|STOCHRSIK_K]] = 3\\ 
- 
-[[indicators.properties#​STOCHRSI_candle_period|STOCHRSICROSS_candle_period]] = 900\\ 
-[[indicators.properties#​STOCHRSI_rsi_length|STOCHRSICROSS_rsi_length]] = 14\\ 
-[[indicators.properties#​STOCHRSI_stoch_length|STOCHRSICROSS_stoch_length]] = 14\\ 
-[[indicators.properties#​STOCHRSI_K|STOCHRSICROSS_K]] = 3\\ 
-[[indicators.properties#​STOCHRSID_D|STOCHRSICROSS_D]] = 3\\ 
-[[indicators.properties#​STOCHRSICROSS_cross_candles]] = 2\\ 
- 
-[[indicators.properties#​MACD_candle_period]] = 300\\ 
-[[indicators.properties#​MACD_fast_length]] = 12\\ 
-[[indicators.properties#​MACD_slow_length]] = 26\\ 
-[[indicators.properties#​MACD_signal]] = 9\\ 
- 
-[[indicators.properties#​OBV_candle_period]] = 300\\ 
-[[indicators.properties#​OBV_length]] = 5\\ 
-[[indicators.properties#​OBV_signal]] =  1\\ 
- 
-[[indicators.properties#​PDHIGH_candle_period]] = 300\\ 
- 
-[[indicators.properties#​FIXEDPRICE_source]] = ASK\\ 
- 
- 
----- 
-== SOM_trigger_length ​ == 
- 
-<file java> 
-#Always uses 5 minute candles. 288 = 24 hours 
-SOM_trigger_length = 288 
-</​file>​ 
-Valid Values: integer values greater than 0. (max 500) 
- 
-Set the number of 5 minute candles to count back and assess the historical price of the coin specified in [[pairs.properties#​price_trigger_market|price_trigger_market]] for the purpose of triggering Sell Only Mode based on the percentage of price change since that candle. 
- 
-24 hours (a setting of 288) for this setting is **highly** recommended. Unreliable results may occur with other settings. ​ 
- 
-[[indicators.properties|TOP]] 
-\\ 
- 
----- 
-==== Bollinger Bands Strategy ==== 
-== BB_std == 
- 
-Define the standard deviation used by all BB calculation of ProfitTrailer. 
-<file java>​BB_std = 2</​file>​ 
----- 
-== BB_candle_period == 
- 
-Define the period (in seconds) used by all BB calculation of ProfitTrailer.\\ 
-Check the [[exchanges|Exchanges]] page for valid settings for each exchange 
-<file java>​BB_candle_period = 300</​file>​ 
----- 
-== BB_length == 
- 
-Define the SMA time frame (in candles) used by all BB calculation of ProfitTrailer. (Max 500) 
-<file java>​BB_length = 20</​file>​ 
- 
-→ Use **TradingView** to visualize LOWBB/​HIGHBB with [[https://​www.tradingview.com/​v/​Shbzw4fU/​|this indicator]]. 
- 
-[[indicators.properties|TOP]] 
-\\ 
- 
----- 
-==== Simple Moving Average Strategy ==== 
-== SMA_cross_candles ​ == 
- 
-Define how many (1 or greater whole number) candles back to look and see if the SMA lines just crossed. \\ 
-Used by SMACROSS strategy. 
-<file java>​SMA_cross_candles = 2</​file>​ 
----- 
-== SMA_candle_period ​ == 
- 
-Define the period (in seconds) used to calculate the SMA lines.\\ 
-Check the [[exchanges|Exchanges]] page for valid settings for each exchange 
-<file java>​SMA_candle_period = 300</​file>​ 
----- 
-== SMA_fast_length ​ == 
- 
-Define the SMA time frame (in candles) used to calculate the fast SMA line. (Max 500) 
-<file java>​SMA_fast_length = 12</​file>​ 
----- 
-== SMA_slow_length ​ == 
- 
-Define the SMA time frame (in candles) used to calculate the slow SMA line. (Max 500) 
-<file java>​SMA_slow_length = 24</​file>​ 
- 
-[[indicators.properties|TOP]] 
-\\ 
- 
----- 
-==== Exponential Moving Average Strategy ==== 
-== EMA_cross_candles == 
- 
-Define how many (1 or greater whole number) candles back to look and see if the EMA lines just crossed. \\ 
-Used by EMACROSS strategy. 
-<file java>​EMA_cross_candles = 3</​file>​ 
----- 
-== EMA_candle_period == 
- 
-Define the period (in seconds) used to calculate the EMA lines.\\ 
-Check the [[exchanges|Exchanges]] page for valid settings for each exchange 
-<file java>​EMA_candle_period = 300</​file>​ 
----- 
-== EMA_fast_length ​ == 
- 
-Define the EMA time frame (in candles) used to calculate the fast EMA line. (Max 500) 
-<file java>​EMA_fast_length = 3</​file>​ 
----- 
-== EMA_slow_length == 
- 
-Define the EMA time frame (in candles) used to calculate the slow EMA line. (Max 500) 
-<file java>​EMA_slow_length = 24</​file>​ 
- 
-[[indicators.properties|TOP]] 
-\\ 
- 
----- 
-==== Hull Moving Average Strategy ==== 
-== HMA_cross_candles == 
- 
-Define how many (1 or greater whole number) candles back to look and see if the HMA lines just crossed. \\ 
-Used by HMACROSS strategy. 
-<file java>​HMA_cross_candles = 3</​file>​ 
----- 
-== HMA_candle_period == 
- 
-Define the period (in seconds) used to calculate the HMA lines.\\ 
-Check the [[exchanges|Exchanges]] page for valid settings for each exchange 
-<file java>​HMA_candle_period = 300</​file>​ 
----- 
-== HMA_fast_length ​ == 
- 
-Define the HMA time frame (in candles) used to calculate the fast HMA line. (Max 500) 
-<file java>​HMA_fast_length = 3</​file>​ 
----- 
-== HMA_slow_length == 
- 
-Define the HMA time frame (in candles) used to calculate the slow HMA line. (Max 500) 
-<file java>​HMA_slow_length = 24</​file>​ 
- 
-[[indicators.properties|TOP]] 
-\\ 
- 
----- 
-==== Double Exponential Moving Average Strategy ==== 
-== DEMA_cross_candles == 
- 
-Define how many (1 or greater whole number) candles back to look and see if the DEMA lines just crossed. \\ 
-Used by DEMACROSS strategy. 
-<file java>​DEMA_cross_candles = 3</​file>​ 
----- 
-== DEMA_candle_period == 
- 
-Define the period (in seconds) used to calculate the DEMA lines.\\ 
-Check the [[exchanges|Exchanges]] page for valid settings for each exchange 
-<file java>​DEMA_candle_period = 300</​file>​ 
----- 
-== DEMA_fast_length ​ == 
- 
-Define the DEMA time frame (in candles) used to calculate the fast DEMA line. (Max 500) 
-<file java>​DEMA_fast_length = 3</​file>​ 
----- 
-== DEMA_slow_length == 
- 
-Define the DEMA time frame (in candles) used to calculate the slow DEMA line. (Max 500) 
-<file java>​DEMA_slow_length = 24</​file>​ 
- 
-[[indicators.properties|TOP]] 
-\\ 
- 
----- 
-==== Relative Strength Index Strategy ====  
-== RSI_candle_period == 
- 
-Define the period (in seconds) used to calculate the RSI.\\ 
-Check the [[exchanges|Exchanges]] page for valid settings for each exchange 
-<file java>​RSI_candle_period = 300</​file>​ 
----- 
-== RSI_length == 
- 
-Define the RSI time frame (in candles) used to calculate the RSI. (Max 500) 
-<file java>​RSI_length = 14</​file>​ 
- 
-[[indicators.properties|TOP]] 
-\\ 
- 
----- 
-==== Stochastic Strategy==== ​ 
-== STOCH_candle_period == 
- 
-Define the candle size (in seconds) used to calculate STOCH.\\ 
-Check the [[exchanges|Exchanges]] page for valid settings for each exchange 
- 
-<file java>​STOCH_candle_period = 300</​file>​ 
- 
----- 
-== STOCH_length == 
- 
-Define the RSI time frame (in candles) used to calculate the STOCH values. (Max 500) 
-<file java>​STOCH_length = 14</​file>​ 
- 
----- 
-== STOCH_K == 
- 
-Define the time period to be used to calculate the K divergence when using STOCH. 
- 
-<file java>​STOCH_K = 1</​file>​ 
- 
----- 
-== STOCH_D == 
- 
-Define the time period to be used to calculate the D divergence when using STOCH. 
- 
-<file java>​STOCH_D = 1</​file>​ 
- 
-[[indicators.properties|TOP]] 
- 
----- 
-==== Stochastic Relative Strength Index Strategies ==== 
-== STOCHRSI_candle_period == 
- 
-Define the candle size (in seconds) used to calculate STOCHRSI strategies.\\ 
-Check the [[exchanges|Exchanges]] page for valid settings for each exchange 
- 
-<file java> 
-STOCHRSIK_candle_period = 900 
-STOCHRSID_candle_period = 900 
-STOCHRSICROSS_candle_period = 900 
-</​file>​ 
- 
----- 
-== STOCHRSI_stoch_length == 
- 
-Define the stoch time frame (in candles) used to calculate the STOCHRSI strategies. (Max 500) 
-<file java> 
-STOCHRSIK_stoch_length = 14 
-STOCHRSID_stoch_length = 14 
-STOCHRSICROSS_stoch_length = 14 
-</​file>​ 
- 
----- 
-== STOCHRSI_rsi_length == 
- 
-Define the RSI time frame (in candles) used to calculate the STOCHRSI strategies. (Max 500) 
-<file java> 
-STOCHRSIK_rsi_length = 14 
-STOCHRSID_rsi_length = 14 
-STOCHRSICROSS_rsi_length = 14 
-</​file>​ 
- 
----- 
-== STOCHRSIK_K == 
- 
-Define the time period to be used to calculate the K divergence when using STOCHRSIK,​STOCHRSID or STOCHRSICROSS. 
- 
-<file java> 
-STOCHRSIK_K = 3 
-STOCHRSID_K = 3 
-STOCHRSICROSS_K = 3 
-</​file>​ 
- 
----- 
-== STOCHRSID_D == 
- 
-Define the time period to be used to calculate the D divergence when using STOCHRSID or STOCHRSICROSS. 
- 
-<file java> 
-STOCHRSID_D = 3 
-STOCHRSICROSS_D = 3 
-</​file>​ 
- 
----- 
-== STOCHRSICROSS_cross_candles ​ == 
- 
-Define how many (1 or greater whole number) candles back to look and see if the K AND D lines just crossed. \\ 
-Used by STOCHRSICROSS strategy. 
-<file java>​STOCHRSICROSS_cross_candles = 2</​file>​ 
- 
-[[indicators.properties|TOP]] 
-\\ 
- 
----- 
-==== Moving Average Convergence Divergence Strategy ==== 
-== MACD_candle_period == 
- 
-Define the period (in seconds) used to calculate the MACD lines.\\ 
-Check the [[exchanges|Exchanges]] page for valid settings for each exchange 
-<file java>​MACD_candle_period = 300</​file>​ 
----- 
-== MACD_fast_length == 
- 
-Define the MACD time frame (in candles) used to calculate the fast MACD line. (Max 500) 
-<file java>​MACD_fast_length = 12</​file>​ 
----- 
-== MACD_slow_length == 
- 
-Define the MACD time frame (in candles) used to calculate the slow MACD line. (Max 500) 
-<file java>​MACD_slow_length = 26</​file>​ 
----- 
-== MACD_signal ​ == 
- 
-Define how many candles back to look and see if the MACD lines just crossed. \\ 
-Used by MACD strategy. 
-<file java>​MACD_signal = 9</​file>​ 
- 
-[[indicators.properties|TOP]] 
-\\ 
- 
----- 
-==== On-balance Volume Strategy ==== 
-== OBV_candle_period == 
- 
-Define the period (in seconds) used to calculate the OBV.\\ 
-Check the [[exchanges|Exchanges]] page for valid settings for each exchange. 
-<file java>​OBV_candle_period = 300</​file>​ 
----- 
-== OBV_length == 
- 
-Define the OBV time frame (in candles) used to calculate the OBV. (Max 500) 
-<file java>​OBV_length = 5</​file>​ 
----- 
-== OBV_signal == 
- 
-The number (integer) of the first OBV value used for the calculation of the percentage change. 
- 
-The klines provided by the exchanges are limited in time (500 candles), so ProfitTrailer cannot get the complete history of a pair. The OBV implementation uses only the klines that ProfitTrailer can get from the exchange. 
-The change is calculated as the percentage change of the OBV value of the signal candle and the last candle, this means the change is between -1 and +1 
- 
- 
-<file java>​OBV_signal = 1</​file>​ 
- 
-**Note:​** ​ 
-  - signal must be < length. 
- 
-[[indicators.properties|TOP]] 
-\\ 
- 
----- 
-==== Previous Day High Strategy ==== 
-== PDHIGH_candle_period == 
- 
-Define the period (in seconds) used to calculate the PDHIGH.\\ 
-Check the [[exchanges|Exchanges]] page for valid settings for each exchange. 
-<file java>​PDHIGH_candle_period = 300</​file>​ 
- 
-[[indicators.properties|TOP]] 
-\\ 
- 
----- 
-==== Fixed Price Strategy ==== 
-== FIXEDPRICE_source == 
- 
-Define the source used to check prices against. 
-Possible values (ASK, BID, CLOSE). 
- 
-When buying it's best to check against ASK price 
-When selling it's best to check against BID price 
- 
-<file java>​FIXEDPRICE_source = ASK</​file>​ 
- 
-[[indicators.properties|TOP]] 
  • indicators.properties.1557261588.txt.gz
  • Last modified: 2 months ago
  • by armchairguru