Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

TLDR

TL;DR: The “Wedge Pattern” Trading Strategy

The “Big Idea” (Core Concept)

Imagine the market is like a coiled spring. This strategy waits for the price to get squeezed tighter and tighter into a cone shape (a “wedge”). Its whole job is to catch the explosive move that happens right when the squeezing stops and the spring is released.

The Tools (Indicators)

This strategy doesn’t use common tools like RSI or MACD. It builds its own from scratch.

The Good & The Bad (Pros & Cons)

The Good (Why you might like it)The Bad (Why it might frustrate you)
It’s a Robot: It finds patterns objectively, removing your emotions and guesswork.It Gets Faked Out: In boring, sideways markets, it can give a lot of false alarms that lead to small losses.
It’s a Patient Sniper: The filters are very strict, which helps it avoid many low-quality trades.You Might Get Bored: Because it’s so picky, you could wait for days or even weeks for a single trade signal.
It’s Universal: The idea of “squeeze and release” works in many markets, like stocks, crypto, and forex.It Can Be Late to the Party: It waits for the breakout candle to close before giving a signal. By then, the price may have already moved a lot.

Is the Code Healthy? (Quality Analysis)

Health Rating: Great

Think of the code like a room. This script’s room is incredibly Clean. Everything is labeled and put away in the right drawer, making it easy for another programmer to understand how it works. It’s built using modern, smart techniques and is very efficient. It does not “repaint”—meaning it won’t change its past signals, which is a sign of a trustworthy script.

How to Make it Better (Improvements)

Here are two simple “recipe tweaks” you could ask a programmer to add to make the strategy even smarter.

  1. Recipe Tweak #1: Add a “Weather Forecaster”

    • What it is: A tool that checks if the overall market is “sunny” (trending nicely) or “stormy” (choppy and unpredictable).

    • Why it helps: It tells the strategy to only look for trades when the weather is good. If the market is stormy and directionless, the strategy stays home, saving you from potential losses.

  2. Recipe Tweak #2: Use a “Smart Safety Net”

    • What it is: Instead of using a fixed stop-loss (e.g., “exit if the price drops 50 points”), it uses a stop-loss that adjusts based on how wild or calm the market is right now (this is often done with a tool called ATR).

    • Why it helps: In a wild market, it gives your trade more breathing room. In a calm market, it keeps your safety net tight. This prevents you from getting stopped out too early during normal market wobbles.

The “Cheat Sheet” (Blueprint for a Trade)

Here is the simple 3-step process the strategy follows to take a trade:

  1. LOOK: The script automatically spots a “cone” shape where the price is getting squeezed between two lines that are moving toward each other.

  2. WAIT: It waits for the price to make a strong, decisive move and close outside of the cone.

    • For a downward-pointing cone, it looks for a breakout to the top.

    • For an upward-pointing cone, it looks for a breakdown to the bottom.

  3. ACT: The script signals a “Buy” (for an upside breakout) or “Sell” (for a downside breakdown) as soon as that strong breakout candle is confirmed.