Wait an amount of candles before becoming true.
A value of 1 means until current candle finishes.
WAITXCANDLES starts a counter as soon as the strategy becomes visible.
WAITXCANDLES resets when we move between strategy levels.
WAITXCANDLES_candle_period = 60
# We use a CHANGEPERCENTAGE of 1 minute candles to see if price if moving upwards
# Current bar is positive and we want to wait for the next bar to also be positive
# before entering a trade
DEFAULT_A_buy_strategy = CHANGEPERCENTAGE
DEFAULT_A_buy_value = 0.1
DEFAULT_B_buy_strategy = CHANGEPERCENTAGE
DEFAULT_B_buy_value = 0.2
DEFAULT_Z_buy_strategy = WAITXCANDLES
DEFAULT_Z_buy_value = 1
DEFAULT_buy_strategy_level1_formula = A
DEFAULT_buy_strategy_level2_formula = B && Z
# We use a CHANGEPERCENTAGE of 1 minute candles to see if price if moving upwards
# Current bar is positive and we want to wait 2 bars from now to also be positive
# before entering a trade
DEFAULT_DCA_A_buy_strategy = CHANGEPERCENTAGE
DEFAULT_DCA_A_buy_value = 0.4
DEFAULT_DCA_B_buy_strategy = CHANGEPERCENTAGE
DEFAULT_DCA_B_buy_value = 0.7
DEFAULT_DCA_Z_buy_strategy = WAITXCANDLES
DEFAULT_DCA_Z_buy_value = 2
DEFAULT_DCA_buy_strategy_level1_formula = A
DEFAULT_DCA_buy_strategy_level2_formula = B && Z
CHANGEPERCENTAGE_candle_period = 60
CHANGEPERCENTAGE_length = 1
WAITXCANDLES_candle_period = 60
This strategy can only be used with
buy_strategy_level
andsell_strategy_level
logic.