OHLC.merge_child
You're seeing just the function
merge_child
, go back to OHLC module for more information.
Link to this function
merge_child(main_candle, child_candle)
Specs
Merges candle into another candle.
If main candles :stime
is 0 then fallback
to the merge_child :stime
.
Parameters:
main_candle
- Candle which will be merged into.child_candle
- Candle which will be merged. It is important to have etime less than first candle. Meaning both candles should stay in the same timeframe.