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
buy_and_sell_strategies [2019/05/07 20:54]
armchairguru
buy_and_sell_strategies [2019/05/20 13:23] (current)
armchairguru
Line 34: Line 34:
 ^ [[buy_and_sell_strategies#​OBV]] ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ | ^ [[buy_and_sell_strategies#​OBV]] ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |
 ^ [[buy_and_sell_strategies#​PDHIGH]] ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ | ^ [[buy_and_sell_strategies#​PDHIGH]] ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |
 +^ [[buy_and_sell_strategies#​PDLOW]] ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |
 +^ [[buy_and_sell_strategies#​PDCLOSE]] ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |
 +^ [[buy_and_sell_strategies#​LASTDCABUY]] ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |
 ^ [[buy_and_sell_strategies#​ANDERSON]] ​ | | |  {{glyphicon>​ok?​12}} ​ | | ^ [[buy_and_sell_strategies#​ANDERSON]] ​ | | |  {{glyphicon>​ok?​12}} ​ | |
 ^ [[buy_and_sell_strategies#​FIXEDPRICE]] ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ | ^ [[buy_and_sell_strategies#​FIXEDPRICE]] ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |  {{glyphicon>​ok?​12}} ​ |
Line 1278: Line 1281:
 PDHIGH is the previous day high. PDHIGH (though its name suggests a Previous Day) is just a previous **candle**, so you can use it on any supported time period. PDHIGH is the previous day high. PDHIGH (though its name suggests a Previous Day) is just a previous **candle**, so you can use it on any supported time period.
  
-This buy strategy is true when current bid price is above or below the previous candle high of a trading pair.+This buy strategy is true when spread ​is higher/​lower than the spread between ​previous candle high and the bid price of a trading pair.
  
 ---- ----
Line 1310: Line 1313:
    
 **Examples** **Examples**
 +
 An example use of this strategy is to buy as soon as the bid price crosses the PDHIGH indicating that a possible break out has occurred. In this case the breakout is to the positive side indicating an upward trend. An example use of this strategy is to buy as soon as the bid price crosses the PDHIGH indicating that a possible break out has occurred. In this case the breakout is to the positive side indicating an upward trend.
  
Line 1318: Line 1322:
 </​file>​ </​file>​
  
-''​[[pairs.properties#​DEFAULT_A_buy_value]] = 0.00000001''​ → buy zone begins 0.00000001% being positive indicates an upward trend. Bid price must be higher than this value. ''​[[pairs.properties#​DEFAULT_A_buy_value_limit]]''​ must be higher than 0.00000001 if used.\\+''​[[pairs.properties#​DEFAULT_A_buy_value]] = 0.00000001''​ → buy zone begins 0.00000001% being positive indicates an upward trend. Bid price must be higher than this value.\\ 
 +''​[[pairs.properties#​DEFAULT_A_buy_value_limit]]''​ must be higher than 0.00000001 if used.\\
  
 ''​[[pairs.properties#​DEFAULT_A_buy_value]] = -0.00000001''​ → negative numbers indicates a downward trend. Bid price must be lower than this value. ''​[[pairs.properties#​DEFAULT_A_buy_value_limit]]''​ must be lower than -0.00000001 if used.\\ ''​[[pairs.properties#​DEFAULT_A_buy_value]] = -0.00000001''​ → negative numbers indicates a downward trend. Bid price must be lower than this value. ''​[[pairs.properties#​DEFAULT_A_buy_value_limit]]''​ must be lower than -0.00000001 if used.\\
 +
 +\\
 +[[buy_and_sell_strategies|TOP]]
 +\\
 +
 +----
 +
 +====PDLOW====
 +
 +PDLOW is the previous day low. PDLOW (though its name suggests a Previous Day) is just a previous **candle**, so you can use it on any supported time period.
 +
 +This buy strategy is true when spread is higher/​lower than the spread between previous candle low and the bid price of a trading pair.
 +
 +----
 +
 +**The Numbers**
 +
 +Valid Values: positive or negative decimal values.
 +
 +So previous candle low for ETHBTC was 0.034432\\
 +Current bid price is about 0.0356225\\
 +So the PDLOW value is positive (3.45%).\\ ​
 +
 +----
 +**The Formula**
 +
 +PDLOW uses a spread calculation as follows:
 +
 +<file java>
 +%Spread = ((%Bid Price / %PDLOW) - 1) * 100
 +</​file>​
 +
 +It is this %Spread that we display ​
 +
 +----
 +
 +**The Parameters**
 +
 +''​[[indicators.properties#​PDLOW_candle_period]]''​\\
 +
 +----
 + 
 +**Examples**
 +
 +An example use of this strategy is to buy as soon as the bid price crosses the PDLOW indicating that a possible break out has occurred. In this case the breakout is to the positive side indicating an upward trend.
 +
 +<file java>
 +DEFAULT_A_buy_strategy = PDLOW
 +DEFAULT_A_buy_value = 0.00000001
 +DEFAULT_A_buy_value_limit = 30.0
 +</​file>​
 +
 +''​[[pairs.properties#​DEFAULT_A_buy_value]] = 0.00000001''​ → buy zone begins 0.00000001% being positive indicates an upward trend. Bid price must be higher than this value.\\
 +''​[[pairs.properties#​DEFAULT_A_buy_value_limit]]''​ must be higher than 0.00000001 if used.\\
 +
 +''​[[pairs.properties#​DEFAULT_A_buy_value]] = -0.00000001''​ → negative numbers indicates a downward trend. Bid price must be lower than this value. ''​[[pairs.properties#​DEFAULT_A_buy_value_limit]]''​ must be lower than -0.00000001 if used.\\
 +
 +\\
 +[[buy_and_sell_strategies|TOP]]
 +\\
 +
 +----
 +
 +====PDCLOSE====
 +
 +PDCLOSE is the previous day close. PDCLOSE (though its name suggests a Previous Day) is just a previous **candle**, so you can use it on any supported time period.
 +
 +This buy strategy is true when spread is higher/​lower than the spread between previous candle close and the bid price of a trading pair.
 +
 +----
 +
 +**The Numbers**
 +
 +Valid Values: positive or negative decimal values.
 +
 +So previous candle close for ETHBTC was 0.034432\\
 +Current bid price is about 0.0356225\\
 +So the PDCLOSE value is positive (3.45%).\\ ​
 +
 +----
 +**The Formula**
 +
 +PDCLOSE uses a spread calculation as follows:
 +
 +<file java>
 +%Spread = ((%Bid Price / %PDCLOSE) - 1) * 100
 +</​file>​
 +
 +It is this %Spread that we display ​
 +
 +----
 +
 +**The Parameters**
 +
 +''​[[indicators.properties#​PDCLOSE_candle_period]]''​\\
 +
 +----
 + 
 +**Examples**
 +
 +An example use of this strategy is to buy as soon as the bid price crosses the PDCLOSE indicating that a possible break out has occurred. In this case the breakout is to the positive side indicating an upward trend.
 +
 +<file java>
 +DEFAULT_A_buy_strategy = PDCLOSE
 +DEFAULT_A_buy_value = 0.00000001
 +DEFAULT_A_buy_value_limit = 30.0
 +</​file>​
 +
 +''​[[pairs.properties#​DEFAULT_A_buy_value]] = 0.00000001''​ → buy zone begins 0.00000001% being positive indicates an upward trend. Bid price must be higher than this value.\\
 +''​[[pairs.properties#​DEFAULT_A_buy_value_limit]]''​ must be higher than 0.00000001 if used.\\
 +
 +''​[[pairs.properties#​DEFAULT_A_buy_value]] = -0.00000001''​ → negative numbers indicates a downward trend. Bid price must be lower than this value. ''​[[pairs.properties#​DEFAULT_A_buy_value_limit]]''​ must be lower than -0.00000001 if used.\\
 +
 +
 +\\
 +[[buy_and_sell_strategies|TOP]]
 +\\
 +
 +----
 +
 +====LASTDCABUY====
 +
 +LASTDCABUY is a strategy that buys only if the ASK price is below the last DCA price. This is not the last average price, rather the last price at which a DCA buy was made.\\
 +LASTDCABUY does not use an indicator, buy value, or buy value limit.
 +
 +This buy strategy is true when the current ask price is below the price of our last DCA buy.
 +
 +----
 +
 +**The Numbers**
 +
 +Valid Values: positive or negative decimal values.\\
 +Price of our last DCA buy was 0.0352965\\
 +Current ask price is 0.0351170\\
 +So the LASTDCABUY value is true.
 +----
 +
 +**The Parameters**
 +
 +''​[[dca.properties#​default_dca_a_buy_strategy|DEFAULT_DCA_A_Buy_Strategy]] = LASTDCABUY''​\\
 +
 +----
 + 
 +**Examples**
 +
 +The strategy is true when the current ask price is below the price of our last DCA buy.\\
 +**Note:** [[dca.properties#​default_dca_a_buy_value|DCA Buy Value]] and [[dca.properties#​default_dca_a_buy_value_limit|DCA Buy Value Limit]] are not used with this strategy.
 +
 +<file java>
 +DEFAULT_DCA_A_buy_strategy = LASTDCABUY
 +</​file>​
  
 \\ \\
  • buy_and_sell_strategies.1557262496.txt.gz
  • Last modified: 2 weeks ago
  • by armchairguru