Identical Three Crows
Three black crows is opposite of three white soldiers and is a bearish candlestick pattern used to predict the reversal of a current uptrend
Method
tm.ta.cdlidentical3crows(source_open, source_high, source_low, source_close)
Inputs
Parameter | Argument type | Description | Default Value |
---|---|---|---|
source_open | pd.Series | - | |
source_open | pd.Series | Open prices series | - |
source_high | pd.Series | High prices series | - |
source_low | pd.Series | Low prices series | - |
source_close | pd.Series | Close prices series | - |
Outputs
Output | Type |
---|---|
cdlidentical3crows | np.ndarray |
Example usage
import tradomate as tm
@tm.strategy()def my_strategy(config: tm.TradomateConfig, data: tm.TradomateData):
# Trying out cdlidentical3crows = tm.ta.cdlidentical3crows(data.open, data.high, data.low, data.close)
# Get the last value and print last_value = cdlidentical3crows.iloc[-1] tm.log(f"Last value of is {last_value}")
# Plot the values of cdlidentical3crows tm.plot(cdlidentical3crows, title="", overlay=False)