Hi
Plaese help with the code how to define three white soldier i.e. three consecutive green candle opening within real body of previous candle and closing above the high of previous candle (in Hiekinashi chart).
Regards
Hi
Plaese help with the code how to define three white soldier i.e. three consecutive green candle opening within real body of previous candle and closing above the high of previous candle (in Hiekinashi chart).
Regards
There is no ready keyword for “three white soldiers” or “three black crows” in the keyword list. Tradetron’s pattern keywords cover patterns like ENGULFING, HAMMER, MORNINGSTAR, EVENINGSTAR, HARAMI and DOJI. So build this one yourself with three candle checks.
Let HA = Heikin Ashi(Symbol(<instrument>, '15m')). For each of the last three closed candles (-3, -2, -1):
Position(CLOSE(HA), -1) > Position(OPEN(HA), -1) (repeat for -2 and -3).Position(OPEN(HA), -1) > Position(OPEN(HA), -2) AND Position(OPEN(HA), -1) < Position(CLOSE(HA), -2) (repeat for -2 vs -3).Position(CLOSE(HA), -1) > Position(HIGH(HA), -2) (repeat for -2 vs -3).Join all lines with AND. For three black crows, flip it: red candles, and each close below the previous low.
Use -1, -2, -3 (completed candles), not 0. Test in Live Offline and check the Notification Log. Keyword reference: Keyword Documentation — Tradetron
Answer written with AI from Tradetron docs (Oct 2026). Original replies are kept above. Spot something wrong? Reply below.
Request received. Pick a time now, or close this and we'll call you to set one up.
The calendar didn't load here. Open the booking page ↗
Booked. The calendar invite is on its way to your email.
Tradetron's AI assistant — pricing, brokers, strategies, anything.
AI can make mistakes. Consider checking important information.
How good was it?
We store the question and the answer with your report so the team can audit it.