threeDiverPattern
The Three Diver Pattern is a multi-swing formation that uses seven points to map out three consecutive “divergence-like” moves. It’s a more complex geometric structure compared to ABCD or Triangle, and traders use it to identify exhaustion after multiple legs and potential reversal zones.
Syntax
threeDiverPattern(point1, point2, point3, point4, point5, point6, point7, styles?)
Parameters
point1 (PricedData) · First anchor, the start of the pattern.
point2 (PricedData) · Second anchor, ending the first leg.
point3 (PricedData) · Third anchor, next turning point.
point4 (PricedData) · Fourth anchor, continuing the structure.
point5 (PricedData) · Fifth anchor, next leg pivot.
point6 (PricedData) · Sixth anchor, forming the last small swing.
point7 (PricedData) · Seventh anchor, completion of the pattern.
styles (ThreeDiverPatternStyleOverrides) · Visual settings:
backgroundColor(RGBAColor | BaseColors): background color used for the pattern area.bold(boolean): render text using a bold font weight.color(RGBAColor | BaseColors): line color of the pattern.fillBackground(boolean): fill the background area of the pattern.fontsize(number): font size used for text labels.italic(boolean): render text using italic style.linewidth(number): thickness of the pattern lines.textcolor(RGBAColor | BaseColors): color of the label text.transparency(number): transparency level.
Return Value
(string) · The drawing ID of the created Three Diver Pattern.
Example
Every 200 candles, draw a Three Diver pattern connecting seven pivots.
Result

Tips
This pattern reflects market exhaustion after multiple swings — use it as a reversal signal rather than continuation.
Look for confluence with oscillators (RSI divergence, MACD slowdown) at point 7.
Works best on longer timeframes where the swings are clearer.
Warning
Don’t confuse this with simpler 3-point divergence signals — the Three Diver Pattern requires seven pivots.
Last updated