SMASPREAD(SMA)
EMASPREAD(EMA)
DEMASPREAD(DEMA)
HMASPREAD(HMA)
TEMASPREAD(TEMA)
WMASPREAD(WMA)
VWMASPREAD(VWMA)
SMMASPREAD(SMMA)
This buy/sell strategy is true when the spread between fast and slow is above or below the value specified.
The spread value is displayed as a % that the fast line is above or below the slow line.
If a positive
value is used the fast line must be above slow line and spread must be bigger than the value we specify.
If a negative
value is used the fast line must be below slow line and spread must be lower than the value we specify.
XMA_candle_period
XMA_fast_length
XMA_slow_length
# Buy when fast line is 2% or more above our slow line
DEFAULT_A_buy_strategy_label = 5MSMASPREAD
DEFAULT_A_buy_strategy = SMASPREAD
DEFAULT_A_buy_value = 2
# Sell when fast line drops more than 0.1% below the slow line
DEFAULT_A_sell_strategy_label = 1HEMASPREAD
DEFAULT_A_sell_strategy = EMASPREAD
DEFAULT_A_sell_value = -0.1
# Buy when fast line drops more than 5% below our fast line
DEFAULT_DCA_A_buy_strategy_label = MYTEMA
DEFAULT_DCA_A_buy_strategy = TEMASPREAD
DEFAULT_DCA_A_buy_value = -5
# Sell when fast line is 4% or more above the slow line
DEFAULT_A_sell_strategy_label = MYTEMA
DEFAULT_A_sell_strategy = TEMASPREAD
DEFAULT_A_sell_value = 4
5MSMASPREAD_candle_period = 300
5MSMASPREAD_fast_length = 20
5MSMASPREAD_slow_length = 40
1HEMASPREAD_candle_period = 3600
1HEMASPREAD_fast_length = 10
1HEMASPREAD_slow_length = 50
MYTEMA_candle_period = 3600
MYTEMA_fast_length = 11
MYTEMA_slow_length = 33