OPEN-SOURCE SCRIPT

RAMO Triangle & Wedge Family Pro V1.2.4.2 - MTF Bias, Alerts & T

321
RAMO Triangle & Wedge Family Pro V1.2.4.2 is an advanced pattern-detection indicator designed to identify, classify, and monitor triangle and wedge formations with multi-timeframe context.

The script currently supports:

Ascending Triangle
Descending Triangle
Symmetrical Triangle
Rising Wedge
Falling Wedge

The detection engine is based on confirmed pivot structures, multi-candidate boundary analysis, convergence, touch quality, containment, pattern duration, apex position, and structural validation. Instead of forcing every consolidation into a pattern, the system attempts to reject weak or inconsistent geometry.

For ascending and descending triangles, horizontal support/resistance areas are additionally validated using pivot clustering rather than relying only on trendline slope.

For symmetrical triangles, direction is intentionally kept neutral before a confirmed breakout. A separate multi-timeframe RSI and volume bias system evaluates larger timeframes to provide a directional preference such as LONG or SHORT bias without treating that bias as a confirmed trade signal. The actual direction is still determined by a confirmed breakout.

The indicator also includes a parent/child timeframe structure check. Lower-timeframe formations can be compared with larger-timeframe structures to reduce conflicting classifications when both charts are showing the same broader pattern.

Breakout and Retest Logic

Breakouts are evaluated using candle closes rather than wick-only movements. After a confirmed breakout, the indicator can track a possible retest and update the formation state accordingly.

The panel displays:

Pattern type
Pattern stage
Confidence score
Direction / MTF bias
Entry reference
Alarm level
Stop reference
Target
Touch count / formation progress
Pattern detected on another relevant timeframe

For symmetrical triangles, both possible upside and downside targets may be displayed before the breakout. Once direction is confirmed, the active target is updated accordingly.

Wedge Direction Logic

Rising Wedge: bearish / SHORT bias after downside confirmation.

Falling Wedge: bullish / LONG bias after upside confirmation.

The wedge engine operates separately from the triangle-selection engine so that wedge candidates do not distort or replace otherwise valid triangle geometry.

Alerts

The script provides alert conditions for:

LONG breakout
SHORT breakout
New triangle or wedge structure
Rising wedge detection
Falling wedge detection
Retest
Failed breakout

The displayed alarm level is intended to show the price area where the relevant breakout or retest condition becomes important.

Important Disclaimer

This indicator is provided for educational, informational, and technical-analysis purposes only. It does not constitute financial or investment advice and is not a recommendation to buy, sell, or hold any financial asset.

Pattern detection, RSI/volume bias, entry references, alarm levels, stop levels, breakout conditions, and projected targets are technical calculations only and may fail or produce false signals. Historical pattern behavior does not guarantee future results.

Always perform your own research and use appropriate risk management before making any trading or investment decision.

Comments and suggestions for improving the indicator are always welcome.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน