OPEN-SOURCE SCRIPT

Braid Filter Strategy

32
Another of TradeIQ's youtube strategies. It looks a little messy but it combines all the indicators into one so there are no extra panes. This strategy is like a sophisticated set of traffic lights and speed limit signs for trading. It only allows a trade when multiple indicators line up to confirm a strong move, giving it its "Braid Filter" name—it weaves together several conditions.

The strategy is set up to use 100% of your account equity (your trading funds) on a trade and does not "pyramid" (it won't add to an existing trade).

1. The Main Trend Check (The Traffic Lights)
The strategy uses three main filters that must agree before it considers a trade.

A. The "Braid Filter" (Direction & Strength)
This is the heart of the strategy, a custom combination of three different Moving Averages
These averages have fast, medium, and slow settings (3, 7, and 14 periods).

Go Green (Buy Signal): The fastest average is higher than the medium average, AND the three averages are sufficiently separated (not tangled up, which indicates a strong move).

Go Red (Sell Signal): The medium average is higher than the fastest average, AND the three averages are sufficiently separated.

Neutral (Wait): If the averages are tangled or the separation isn't strong enough.

Key Trigger: A primary condition for a signal is when the Chad Filter changes color (e.g., from Red/Grey to Green).

B. The EMA Trend Bars (Secondary Confirmation)
This is a simpler, longer-term filter using a 34-period Exponential Moving Average (EMA). It checks if the current candle's average price is above or below this EMA.

Green Bars: The price is above the 34 EMA (Bullish Trend).

Red Bars: The price is below the 34 EMA (Bearish Trend).

Trades only happen if the signal direction matches the bar color. For a Buy, the bar must be Green. For a Sell, the bar must be Red.

C. ADX/DI Filter (The Speed Limit Sign)
This uses the Average Directional Index (ADX) and Directional Movement Indicators (DI) to check if a trend is actually in motion and getting stronger.

Must-Have Conditions:

The ADX value must be above 20 (meaning there is a trend, not just random movement).

The ADX line must be rising (meaning the trend is accelerating/getting stronger).

The strategy will only trade when the trend is strong and building momentum.

2. The Trading Action (Entry and Exit)
When all three filters (Chad Filter color change, EMA Trend Bar color, and ADX strength/slope) align, the strategy issues a signal, but it doesn't enter immediately.

Entry Strategy (The "Wait-for-Confirmation" Approach):

When a Buy Signal appears, the strategy sets a "Buy Stop" order at the signal candle's closing price.

It then waits for up to 3 candles (Candles Valid for Entry). The price must move up and hit that Buy Stop price within those 3 candles to confirm the move and enter the trade.

A Sell Signal works the same way but uses a "Sell Stop" at the closing price, waiting for the price to drop and hit it.

Risk Management (Stop Loss and Take Profit):

Stop Loss: To manage risk, the strategy finds a recent significant low (for a Buy) or high (for a Sell) over the last 20 candles and places the Stop Loss there. This is a logical place where the current move would be considered "broken" if the price reaches it.

Take Profit: It uses a fixed Risk:Reward Ratio (set to 1.5 by default). This means the potential profit (Take Profit distance) is $1.50 for every $1.00 of risk (Stop Loss distance).

3. Additional Controls
Time Filter: You can choose to only allow trades during specific hours of the day.

Visuals: It shows a small triangle on the chart where the signal happens and colors the background to reflect the Chad Filter's trend (Green/Red/Grey) and the candle bars to show the EMA trend (Lime/Red).

🎯 Summary of the Strategy's Goal
This strategy is designed to capture strong, confirmed momentum moves. It uses a fast, custom indicator ("Chad Filter") to detect the start of a new move, confirms that move with a slower trend filter (34 EMA), and then validates the move's strength with the ADX. By waiting a few candles for the price to hit the entry level, it aims to avoid false signals.

إخلاء المسؤولية

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.