OPEN-SOURCE SCRIPT

Symmetrical Triangle Strategy (Real and Trap confirmation)

223
Overview

This is an advanced strategy that not only detects symmetrical triangle patterns but also attempts to differentiate between a genuine breakout and a false breakout (a trap) to trade accordingly.

Instead of blindly following every breakout, it analyzes the "quality" of the move using Volume and RSI filters. If the breakout appears weak, it prepares to trade in the opposite direction, capitalizing on the pattern's failure.

How It Works

The strategy employs a dual logic that activates after the price breaks the last pivot (H3 or L3):

1. Scenario A: The Real Breakout
* If the price breaks the triangle AND the breakout is confirmed by a surge in volume and/or a favorable RSI, the strategy considers the move genuine and enters in the direction of the breakout.

2. Scenario B: The False Breakout (Trap)
* If the price breaks the triangle BUT the indicators fail to confirm it (e.g., low volume), the strategy interprets it as a potential trap.
* It waits for the price to return inside the pattern.
* Once the price has re-entered, it opens a trade AGAINST the initial breakout, betting that the first move was a fake-out.

Key Features

* Hybrid Logic: It's not just a simple breakout strategy; it adapts to market conditions.
* Confirmation Filters: Uses Volume and RSI to validate the strength of a breakout (fully configurable).
* Capitalizes on Traps: Its greatest strength is the ability to identify and trade false breakouts, a common market scenario.
* Optional Confirmation: For trap trades, an extra confirmation via an EMA crossover can be enabled for added safety.
* Opportunity Timeout: Potential traps have a time limit to be confirmed, preventing the strategy from getting stuck in an undecided scenario.

Important Disclaimer

This strategy is designed as an entry system and DOES NOT INCLUDE A STOP LOSS OR TAKE PROFIT.

Automation Ready

Want to automate this or ANY strategy on your broker or MetaTrader (MT4/MT5) without keeping your computer on or needing a VPS? You can use WebhookTrade.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.