Skip to content

Ladder Bottom

Ladder Bottom is a bullish reversal pattern with three consecutive candles, where the second and third have lower lows.

tm.ta.cdlladderbottom(source_open, source_high, source_low, source_close)
ParameterArgument typeDescriptionDefault Value
source_openpd.SeriesOpen prices series-
source_highpd.SeriesHigh prices series-
source_lowpd.SeriesLow prices series-
source_closepd.SeriesClose prices series-
OutputType
cdlladderbottomnp.ndarray
strategy.py
import tradomate as tm
@tm.strategy()
def my_strategy(config: tm.TradomateConfig, data: tm.TradomateData):
# Trying out Ladder Bottom
cdlladderbottom = tm.ta.cdlladderbottom(data.open, data.high, data.low, data.close)
# Get the last value and print
last_value = cdlladderbottom.iloc[-1]
tm.log(f"Last value of Ladder Bottom is {last_value}")
# Plot the values of cdlladderbottom
tm.plot(cdlladderbottom, title="Ladder Bottom", overlay=False)