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
GLOBAL formulas can be used by GLOBAL properties like max_trading_pairs.
Note:
DYN
) logicGLOBAL_X_FORMULA_LABEL
Any combination of alphanumeric characters and _(underscore), -(dash) and spaces
GLOBAL_X_FORMULA
Any valid set of properly formatted strategies using javascript operators; examples below.
# Define a sub formula
GLOBAL_A_formula_label = globalchandelier
GLOBAL_A_formula = (GSK < GSJ) && (GSI < GSF) && (GSE < GSD) && (GSC < GSB)
GLOBAL_B_formula_label = stoploss
GLOBAL_B_formula = -15
# Access our sub formula using it's label name
DEFAULT_sell_strategy_formula = (B && C && D && E) || globalchandelier
DEFAULT_stop_loss_trigger = stoploss
# From DCA you can access the GLOBAL formula defined in PAIRS
# Access our sub formula using it's label name
DEFAULT_DCA_sell_strategy_formula = (B && C && D && E) || globalchandelier