SMALINE(SMA)
EMALINE(EMA)
DEMALINE(DEMA)
HMALINE(HMA)
TEMALINE(TEMA)
WMALINE(WMA)
VWMALINE(VWMA)
SMMALINE(SMMA)
This buy/sell strategy is true when the current price is above or below the value specified.
By default the value is displayed as a % that the current price is above/below the line.
If a positive
value is used the price must be greater than the value we specify.
If a negative
value is used the price must be less than the value we specify.
XMA_candle_period
(Required)
The chart time frame in seconds (300 = 5 minutes).
XMA_length
(Required)
The amount of candles used to calculate our (X)MALINE value.
XMA_return_value
(Optional)
(PERCENTAGE or ACTUAL)
Returns PERCENTAGE by default. Which is how much current price is ABOVE/BELOW the line.
ACTUAL returns the actual PRICE at which the line is at. (Best to use this when using CROSSOVER strategy).
# Buy when price is 2% above our SMA LINE
DEFAULT_A_buy_strategy_label = 5MSMALINE
DEFAULT_A_buy_strategy = SMALINE
DEFAULT_A_buy_value = 2
# Sell when price is -0.1% below the EMALINE
DEFAULT_A_sell_strategy_label = 1HEMALINE
DEFAULT_A_sell_strategy = EMALINE
DEFAULT_A_sell_value = -0.1
# Buy when price is -5% below our TEMA LINE
DEFAULT_DCA_A_buy_strategy_label = MYTEMA
DEFAULT_DCA_A_buy_strategy = TEMALINE
DEFAULT_DCA_A_buy_value = -5
# Sell when price is 4% below the TEMALINE
DEFAULT_A_sell_strategy_label = MYTEMA
DEFAULT_A_sell_strategy = TEMALINE
DEFAULT_A_sell_value = 4
5MSMALINE_candle_period = 300
5MSMALINE_length = 20
1HEMALINE_candle_period = 3600
1HEMALINE_length = 50
MYTEMA_candle_period = 3600
MYTEMA_length = 33