INVITE-ONLY SCRIPT
已更新 FeraTrading Pattern Recognition Engine

🧠 Overview:
The FeraTrading Pattern Recognition Engine (PRE) is a lightweight, adaptive model that transforms raw chart data into pattern signatures and tracks their performance in real time.
Instead of relying on fixed formulas or lagging indicators, it learns from what has worked before on your chart—highlighting bull and bear patterns that have a track record of hitting a profit target within a specified number of bars.
This system is ideal for traders who want evolving entries that reflect live market behavior without repainting or hardcoding.
⚙️ How It Works:
🔹 Pattern Encoding:
The script monitors recent price action and builds a unique pattern ID using selected features:
Up to 10 feature toggles (detailed below)
Each feature is converted into a categorical value
The combination of features over a lookback window defines the pattern signature
Bullish and bearish patterns are tracked separately.
🔹 Pattern Evaluation & Learning:
As each pattern appears:
A unique ID is generated.
The script checks if price reaches the required % move within N bars.
If successful, it logs the pattern as a win.
Accuracy and sample size are updated.
Only patterns with 10+ past samples are eligible for live signals.
🔹 Signal Generation:
When today's pattern matches one of the top historically successful bull or bear patterns:
🟢 Green Triangle (below bar) = Bullish pattern match
🔴 Red Triangle (above bar) = Bearish pattern match
Signals are confirmed one bar after pattern completion to avoid repainting.
🧶 Feature Toggles:
Each of the following can be turned on/off to customize the pattern logic:
Candle Type: Bullish, Bearish, or Doji classification.
RSI > 50: Adds momentum context.
Higher High / Lower Low: Tracks continuation or breakout structure.
Volume Spike: Flags volume > 1.5x 20-bar average.
Relative Range: True if bar range > 5-bar average.
Body-to-Range > 60%: Filters for full-bodied candles.
Wick Dominance: Flags wicky/exhaustion candles.
EMA Alignment: Checks if price is in directional alignment with fast/slow EMAs.
Gap From Prior Close: Flags price gaps from previous close.
RSI Slope: Captures trend acceleration or deceleration in RSI.
Tip: 2–3 features = broader learning. 5+ features = more selective precision.
🤷 Inputs & Customization:
Target Move %: How far price must move to qualify as a win.
Lookback Bars: How far back to check for pattern definition.
Bars Forward: How much time the pattern has to hit target.
Signal Toggles: Enable/disable bullish and bearish signals.
🎯 What Makes It Original:
Learns from live data—no static formulas or preset patterns.
Signals only appear if historical accuracy + sample size threshold is met.
One-bar delayed confirmation = no repainting.
Configurable features allow full user control of complexity.
Works on any asset, any timeframe.
✅ How to Use:
Add to any intraday chart (1m–30m ideal).
Start with 2–3 features toggled on.
Let the script learn as data comes in.
Watch for triangle signals (green = bullish, red = bearish).
Combine with other tools for added confluence.
Over time, the engine becomes more selective and accurate.
💎 Why It’s Worth Paying For
The PRE isn’t a repackaged signal script—it’s a real-time learning engine. It provides:
A dynamic model that evolves with your chart
Customizable pattern encoding across 10 behavioral features
Verified, statistically accurate signals
Confirmed, non-repainting outputs
Applicability to any asset or market condition
This isn't theoretical—it's performance-driven signal logic trained by your own chart.
✅ Compliance & Originality This tool was developed from scratch by FeraTrading using fully original logic. No open-source logic or reused libraries were used. All detection methods, signal logic, and pattern encodings are unique and built with compliance in mind. This is absolutely an original script, one we think may be unique to TradingView completely and never seen before.
⚠️ Risk Disclaimer & Access Policy
This script is a historical pattern tracker—not a forecasting engine. No prediction of future price behavior is implied or guaranteed.
Use with proper risk management and trade discretion.
To protect the core pattern engine, this script is invite-only and closed-source. Opening the source would allow cloning of its real-time pattern encoding and filtering logic.
Restricting access ensures:
Proper use by qualified traders
Prevention of misuse or unauthorized distribution
Protection of the tool’s proprietary logic and long-term value
The PRE is designed to be part of a professional workflow, and its access model reflects that goal.
The FeraTrading Pattern Recognition Engine (PRE) is a lightweight, adaptive model that transforms raw chart data into pattern signatures and tracks their performance in real time.
Instead of relying on fixed formulas or lagging indicators, it learns from what has worked before on your chart—highlighting bull and bear patterns that have a track record of hitting a profit target within a specified number of bars.
This system is ideal for traders who want evolving entries that reflect live market behavior without repainting or hardcoding.
⚙️ How It Works:
🔹 Pattern Encoding:
The script monitors recent price action and builds a unique pattern ID using selected features:
Up to 10 feature toggles (detailed below)
Each feature is converted into a categorical value
The combination of features over a lookback window defines the pattern signature
Bullish and bearish patterns are tracked separately.
🔹 Pattern Evaluation & Learning:
As each pattern appears:
A unique ID is generated.
The script checks if price reaches the required % move within N bars.
If successful, it logs the pattern as a win.
Accuracy and sample size are updated.
Only patterns with 10+ past samples are eligible for live signals.
🔹 Signal Generation:
When today's pattern matches one of the top historically successful bull or bear patterns:
🟢 Green Triangle (below bar) = Bullish pattern match
🔴 Red Triangle (above bar) = Bearish pattern match
Signals are confirmed one bar after pattern completion to avoid repainting.
🧶 Feature Toggles:
Each of the following can be turned on/off to customize the pattern logic:
Candle Type: Bullish, Bearish, or Doji classification.
RSI > 50: Adds momentum context.
Higher High / Lower Low: Tracks continuation or breakout structure.
Volume Spike: Flags volume > 1.5x 20-bar average.
Relative Range: True if bar range > 5-bar average.
Body-to-Range > 60%: Filters for full-bodied candles.
Wick Dominance: Flags wicky/exhaustion candles.
EMA Alignment: Checks if price is in directional alignment with fast/slow EMAs.
Gap From Prior Close: Flags price gaps from previous close.
RSI Slope: Captures trend acceleration or deceleration in RSI.
Tip: 2–3 features = broader learning. 5+ features = more selective precision.
🤷 Inputs & Customization:
Target Move %: How far price must move to qualify as a win.
Lookback Bars: How far back to check for pattern definition.
Bars Forward: How much time the pattern has to hit target.
Signal Toggles: Enable/disable bullish and bearish signals.
🎯 What Makes It Original:
Learns from live data—no static formulas or preset patterns.
Signals only appear if historical accuracy + sample size threshold is met.
One-bar delayed confirmation = no repainting.
Configurable features allow full user control of complexity.
Works on any asset, any timeframe.
✅ How to Use:
Add to any intraday chart (1m–30m ideal).
Start with 2–3 features toggled on.
Let the script learn as data comes in.
Watch for triangle signals (green = bullish, red = bearish).
Combine with other tools for added confluence.
Over time, the engine becomes more selective and accurate.
💎 Why It’s Worth Paying For
The PRE isn’t a repackaged signal script—it’s a real-time learning engine. It provides:
A dynamic model that evolves with your chart
Customizable pattern encoding across 10 behavioral features
Verified, statistically accurate signals
Confirmed, non-repainting outputs
Applicability to any asset or market condition
This isn't theoretical—it's performance-driven signal logic trained by your own chart.
✅ Compliance & Originality This tool was developed from scratch by FeraTrading using fully original logic. No open-source logic or reused libraries were used. All detection methods, signal logic, and pattern encodings are unique and built with compliance in mind. This is absolutely an original script, one we think may be unique to TradingView completely and never seen before.
⚠️ Risk Disclaimer & Access Policy
This script is a historical pattern tracker—not a forecasting engine. No prediction of future price behavior is implied or guaranteed.
Use with proper risk management and trade discretion.
To protect the core pattern engine, this script is invite-only and closed-source. Opening the source would allow cloning of its real-time pattern encoding and filtering logic.
Restricting access ensures:
Proper use by qualified traders
Prevention of misuse or unauthorized distribution
Protection of the tool’s proprietary logic and long-term value
The PRE is designed to be part of a professional workflow, and its access model reflects that goal.
發行說明
Update:📊 Pattern Accuracy Stats Table
This table shows the real-time win rates of the bull and bear patterns detected by the PRE system.
🧠 How Wins Are Calculated:
A "win" is recorded when price reaches the target move percent (e.g. +0.30% for bulls, −0.30% for bears) within the selected number of bars forward (e.g. 4 bars after signal).
If price does not reach the target within that window, the pattern is counted as a loss.
The system tracks how many times each pattern has occurred and how often it has hit its target to compute win rates.
This table helps validate whether the live-detected signals are backed by consistent historical success.
僅限邀請腳本
只有經作者授權的使用者才能訪問此腳本,且通常需付費。您可以將此腳本加入收藏,但需先向作者申請並獲得許可後才能使用 — 點擊此處了解更多。如需更多詳情,請依照作者說明或直接聯繫FeraTrading。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
Get Instant Access At: https://feratrading.com/membership-subscriptions
提醒:在請求訪問權限之前,請閱讀僅限邀請腳本指南。
Use our premium indicators at feratrading.com/membership-subscriptions
Use Code FIRST50 for 50% off any plan!
View some backtests at FeraTrading.com/backtests
Use Code FIRST50 for 50% off any plan!
View some backtests at FeraTrading.com/backtests
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
僅限邀請腳本
只有經作者授權的使用者才能訪問此腳本,且通常需付費。您可以將此腳本加入收藏,但需先向作者申請並獲得許可後才能使用 — 點擊此處了解更多。如需更多詳情,請依照作者說明或直接聯繫FeraTrading。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
Get Instant Access At: https://feratrading.com/membership-subscriptions
提醒:在請求訪問權限之前,請閱讀僅限邀請腳本指南。
Use our premium indicators at feratrading.com/membership-subscriptions
Use Code FIRST50 for 50% off any plan!
View some backtests at FeraTrading.com/backtests
Use Code FIRST50 for 50% off any plan!
View some backtests at FeraTrading.com/backtests
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。