The Concealing Baby Swallow, a four-candlestick pattern occurring after a prolonged downtrend, features four bearish candles with distinct orientations, signaling exhaustion in the downward movement and suggesting a potential bullish reversal.
tm.ta.cdlconcealbabyswall(source_open, source_high, source_low, source_close)
import tradomate as tm @tm.strategy()def my_strategy(config: tm.TradomateConfig, data: tm.TradomateData): # Trying out cdlconcealbabyswall = tm.ta.cdlconcealbabyswall(data.open, data.high, data.low, data.close) # Get the last value and print last_value = cdlconcealbabyswall.iloc[-1] tm.log(f"Last value of is {last_value}") # Plot the values of cdlconcealbabyswall tm.plot(cdlconcealbabyswall, title="", overlay=False)