Skip to content

Rickshaw Man

Rickshaw Man is a neutral candlestick pattern with a small body and long shadows, indicating market indecision.

Method

tm.ta.cdlrickshawman(source_open, source_high, source_low, source_close)

Inputs

ParameterArgument typeDescriptionDefault Value
source_openpd.SeriesOpen prices series-
source_highpd.SeriesHigh prices series-
source_lowpd.SeriesLow prices series-
source_closepd.SeriesClose prices series-

Outputs

OutputType
cdlrickshawmannp.ndarray

Example usage

strategy.py
import tradomate as tm
@tm.strategy()
def my_strategy(config: tm.TradomateConfig, data: tm.TradomateData):
# Trying out Rickshaw Man
cdlrickshawman = tm.ta.cdlrickshawman(data.open, data.high, data.low, data.close)
# Get the last value and print
last_value = cdlrickshawman.iloc[-1]
tm.log(f"Last value of Rickshaw Man is {last_value}")
# Plot the values of cdlrickshawman
tm.plot(cdlrickshawman, title="Rickshaw Man", overlay=False)