You can set any strategy or label to use only closed candles by adding the above parameter to your indicators config. This means that the current open candle will be ignored when doing calculations.
this works the same as setting an offset of 1.
(X)_ONLY_CLOSED_CANDLES_PERIOD
# even though we are using 3 RSI indicators all with same period and length.
# They return different values as one returns based on CLOSED candles excluding current open candle
# And the other calculates using the current candle which value is ever changing
# The third one calculates based on closed candle but on a different period than first
DEFAULT_A_buy_strategy = CLOSEDRSI
DEFAULT_A_buy_strategy = RSI
DEFAULT_A_buy_value = 10
DEFAULT_A_buy_value_limit = 5
DEFAULT_B_buy_strategy = OPENRSI
DEFAULT_B_buy_strategy = RSI
DEFAULT_B_buy_value = 20
DEFAULT_C_buy_strategy = CLOSED60RSI
DEFAULT_C_buy_strategy = RSI
DEFAULT_C_buy_value = 12
CLOSEDRSI_candle_period = 300
CLOSEDRSI_length = 14
# we indicate that this indicator will only use closed candles for calculations
CLOSEDRSI_only_closed_candles = true
CLOSED60RSI_candle_period = 300
CLOSED60RSI_length = 14
# we indicate that this indicator will only use closed candles for calculations
# Also indicate that we calculate based on 5 minute candle but want value to update based on 1 minute candle
CLOSED60RSI_only_closed_candles = true
CLOSEDR60SI_only_closed_candles_period = 60
OPENRSI_candle_period = 300
OPENRSI_length = 14