Use this property to create sub/named formulas you can use within other formulas.
This can make reading some of your settings easier to read
Note:
DYN
) logicX_FORMULA_LABEL
Any combination of alphanumeric characters and _(underscore), -(dash) and spaces
X_FORMULA
Any valid set of properly formatted strategies using javascript operators; examples below.
# Define a sub formula
DEFAULT_A_formula_label = chandelier
DEFAULT_A_formula = (SK < SJ) && (SI < SF) && (SE < SD) && (SC < SB)
DEFAULT_B_formula_label = stoploss
DEFAULT_B_formula = -15
# Access our sub formula using it's label name
DEFAULT_sell_strategy_formula = (B && C && D && E) || chandelier
# Access our sub formula suing it's formula letter
DEFAULT_sell_strategy_formula = (B && C && D && E && L) || FA
DEFAULT_stop_loss_trigger = stoploss
# Define a sub formula
DEFAULT_DCA_A_formula_label = chandelier
DEFAULT_DCA_A_formula = (SK < SJ) && (SI < SF) && (SE < SD) && (SC < SB)
# Access our sub formula using it's label name
DEFAULT_DCA_sell_strategy_formula = (B && C && D && E) || chandelier
# Access our sub formula suing it's formula letter
DEFAULT_DCA_sell_strategy_formula = (B && C && D && E && L) || FA