Apex Trend & Liquidity Master V2.1The Apex Trend & Liquidity Master is a hybrid trading system designed to align traders with the dominant market trend while identifying key structural price levels. Unlike simple moving average crossovers or standalone support/resistance tools, this script integrates a volatility-adaptive "Trend Cloud" with a "Smart Liquidity" engine.
This integration allows the script to offer unique filtering capabilities, such as hiding counter-trend liquidity zones to reduce chart noise and focus on high-probability continuations.
How It Works
Adaptive Trend Cloud The backbone of the system is the Trend Cloud, calculated using a Hull Moving Average (HMA) base with ATR bands. The cloud expands and contracts based on market volatility.
Green Cloud: Bullish Regime. The market is trending up; look for long opportunities.
Red Cloud: Bearish Regime. The market is trending down; look for short opportunities.
Smart Liquidity Zones (with Integration) The script automatically detects Pivot Highs and Lows to draw Supply (Resistance) and Demand (Support) zones. These zones persist until price breaks through them (mitigation).
Integration Feature: A "Filter Zones by Trend" option is included in the settings. When enabled, this feature connects the Trend Cloud to the Liquidity Engine:
It will only display Demand zones when the Trend Cloud is Bullish.
It will only display Supply zones when the Trend Cloud is Bearish.
Note on Lag: Zones are based on pivots (default lookback: 10). A zone appears on the chart 10 bars after the pivot forms. These are historical structural levels.
Signal Filters Buy and Sell labels are generated when the Trend Cloud changes color, but they are filtered to ensure quality:
Volume Filter: Signals only appear if the current volume is higher than the 20-period average.
RSI Filter: Prevents buying when RSI is overbought (>70) or selling when oversold (<30).
Live HUD An on-chart dashboard provides real-time data on:
Trend Bias: Direction of the cloud.
Momentum: RSI strength (Weak/Neutral/Strong).
Volume: High vs. Low activity.
Usage Guide
Identify the Trend: Use the background fill color to determine if you should be looking for longs (Green) or shorts (Red).
Wait for Structure: Look for price to pull back into a "Smart Liquidity" zone. For example, in a Green Trend, wait for price to touch a Green Demand box.
Confirm with Momentum: Check the Dashboard. Ideally, you want to see "Strong" momentum aligning with your trade direction.
Settings: If the chart is too cluttered, enable "Filter Zones by Trend" in the settings menu to hide counter-trend boxes.
Credits & Attribution This script combines original integration logic with adapted open-source concepts:
Smart Liquidity Logic: The method for generating Supply/Demand boxes via Pivot Highs/Lows and array management is adapted from open-source logic commonly used in Smart Money Concepts (SMC) indicators, notably popularized by LuxAlgo and the broader Pine community.
Trend Logic: The volatility cloud utilizes standard Hull Moving Average (HMA) and ATR formulas.
Disclaimer This indicator is provided for educational and informational purposes only. It does not constitute financial advice. Past performance of pivot levels or trend signals does not guarantee future results.
المتوسطات المتحركة
RSI with 3 Separate Smoothing AveragesRSI has 3 moving averages, to help trade better
RSI period can be adjusted
Moving average has multiple selections (SMA, EMA, HMA)
moving average cross over can be used as signal for trades
Trade at your own risk
AI Reversal Signals Custom [wjdtks255]📊 Indicator Overview: AI Reversal Signals Custom
This indicator is a comprehensive trend-following and reversal detection tool. It combines the long-term trend bias of a 200 EMA with highly sensitive RSI-based reversal signals and momentum visualization. It is designed to capture market bottoms and tops by identifying exhaustion points in price action.
Key Features
200 EMA (Trend Filter): A gold line representing the long-term institutional trend. It helps traders distinguish between "buying the dip" and "catching a falling knife."
Reversal Buy/Sell Labels: Real-time signals that appear when the market recovers from extreme overbought or oversold conditions.
Dynamic Background Clouds: Visual indicators of trend strength changes, highlighting potential entry zones.
Momentum Histogram: Internal calculations mimic the "Bottom Bars" seen in professional suites to track the velocity of price movement.
📈 Trading Strategy (How to Trade)
1. High-Probability Long Setup (Buy)
Trend Confirmation: Price should ideally be trading above the 200 EMA for the highest success rate.
Signal: Wait for the "BUY" label to appear below the candle.
Momentum: Confirm with the Light Green background or histogram shift indicating recovery.
Entry: Enter on the close of the signal candle.
2. High-Probability Short Setup (Sell)
Trend Confirmation: Price should ideally be trading below the 200 EMA.
Signal: Wait for the "SELL" label to appear above the candle.
Momentum: Confirm with the Red background or histogram fading from green to red.
Entry: Enter on the close of the signal candle.
3. Risk Management
Stop Loss: Place your Stop Loss slightly below the recent swing low for Buy orders, or above the recent swing high for Sell orders.
Take Profit: Exit when the price reaches a major support/resistance level or when an opposing signal appears.
💡 Professional Tip
For the best results, use this indicator on the 15-minute or 1-hour timeframes. The most powerful "Ultimate Reversal" signals occur when there is a Bullish Divergence (Price making lower lows while the RSI makes higher lows) followed by a confirmed "BUY" label.
EMA and Dow Theory Strategies V2📘 Overview
This strategy is an advanced evolution of the original EMA × Dow Theory hybrid model. V2 introduces true swing‑based trend detection, gradient trend‑zones, higher‑timeframe swing overlays, and dynamic exit logic designed for intraday to short‑term trading across crypto, forex, stocks, and indices.
The system provides precise entries, adaptive exits, and highly visual guidance that helps traders understand trend structure at a glance.
🧠 Key Features
🔹 1. Dual‑EMA Trend Logic (Symbol + External Index)
Both the chart symbol and an external index (OTHERS.D) are evaluated using fast/slow EMAs to determine correlation‑based trend bias.
🔹 2. Dow Theory Swing Detection (Real‑time)
The script identifies swing highs/lows and updates trend direction when price breaks them. This creates a structural trend model that reacts faster than EMAs alone.
🔹 3. Gradient Trend Zones (Visual Trend Strength)
When trend is up or down, the area between price and the latest swing level is filled with a multi‑step gradient. This makes trend strength and distance-to-structure visually intuitive.
🔹 4. Higher‑Timeframe Swing Trend (htfTrend)
Swing highs/lows from a higher timeframe (e.g., 4H) are plotted to show macro structure. Used only for visual context, not for filtering entries.
🔹 5. RSI‑Based Entry Protection
RSI prevents entries during extreme overbought/oversold conditions.
🔹 6. Dynamic Exit System
Includes:
Custom stop‑loss (%)
Partial take‑profit (TP1/TP2/TP3)
Automatic scale‑out when trend color weakens
“Color‑change lockout” to prevent immediate re‑entry
Real‑time PnL tracking and labels
🔹 7. Alerts for All Key Events
Entry, stop‑loss, partial exits, and trend‑change exits all generate structured JSON alerts.
🔹 8. Visual PnL Labels & Equity Tracking
PnL for the latest trade is displayed directly on the chart, including scale‑out adjustments.
⚙️ Input Parameters
Parameter Description
Fast EMA / Slow EMA EMAs used for symbol trend detection
Index Fast / Slow EMA EMAs applied to external index
StopLoss (%) Custom stop‑loss threshold
Scale‑Out % Portion to exit when trend color weakens
RSI Period / Levels Overbought/oversold filters
Swing Detection Length Bars used to detect swing highs/lows
Stats Display Position of statistics table
🧭 About htfTrend (Higher Timeframe Trend)
The higher‑timeframe swing trend is displayed visually but not used for entry logic.
Why? Strict HTF filtering reduces trade frequency and often removes profitable setups. By keeping it visual‑only, traders retain flexibility while still benefiting from macro structure awareness.
Use it as a contextual guide, not a constraint.
📘 概要
本ストラテジーは、V1 を大幅に拡張した EMA × ダウ理論 × スイング構造 × 上位足トレンド可視化 の複合型モデルです。 短期〜デイトレード向けに最適化されており、仮想通貨・FX・株式・指数など幅広いアセットで利用できます。
V2 では、スイング構造の自動検出、グラデーションによるトレンド強度の可視化、上位足スイングライン、動的な利確/損切りロジック が追加され、視覚的にもロジック的にも大幅に強化されています。
🧠 主な機能
🔹 1. 銘柄+外部インデックスの EMA クロス判定
対象銘柄と OTHERS.D の EMA を比較し、相関を考慮したトレンド方向を判定します。
🔹 2. ダウ理論に基づくスイング高値・安値の自動検出
スイング更新によりトレンド方向を切り替える、構造ベースのトレンド判定を採用。
🔹 3. グラデーション背景によるトレンド強度の可視化
スイングラインから現在価格までを段階的に塗り分け、 「どれだけトレンドが伸びているか」を直感的に把握できます。
🔹 4. 上位足スイングトレンド(htfTrend)の表示
4H などの上位足でのスイング高値・安値を表示し、 大局的なトレンド構造を視覚的に把握できます(ロジックには未使用)。
🔹 5. RSI による過熱・売られすぎフィルター
極端な RSI 状態でのエントリーを防止。
🔹 6. 動的イグジットシステム
カスタム損切り(%)
TP1/TP2/TP3 の段階的利確
トレンド色の弱まりによる自動スケールアウト
色変化後の再エントリー制限(waitForColorChange)
リアルタイム PnL の追跡とラベル表示
🔹 7. アラート完備(JSON 形式)
エントリー、損切り、部分利確、トレンド反転などすべてに対応。
🔹 8. 損益ラベル・統計表示
直近トレードの損益をチャート上に表示し、視覚的に把握できます。
⚙️ 設定項目
設定項目名 説明
Fast / Slow EMA 銘柄の EMA 設定
Index Fast / Slow EMA 外部インデックスの EMA 設定
損切り(%) カスタム損切りライン
部分利確割合 トレンド弱化時のスケールアウト割合
RSI 期間・水準 過熱/売られすぎフィルター
スイング検出期間 スイング高値・安値の検出に使用
統計表示位置 テーブルの表示位置
🧭 上位足トレンド(htfTrend)について
上位足スイングの更新に基づくトレンド判定を表示しますが、 エントリー条件には使用していません。
理由: 上位足を厳密にロジックへ組み込むと、トレード機会が大幅に減るためです。
本ストラテジーでは、 「大局の把握は視覚で、エントリーは柔軟に」 という設計思想を採用しています。
→ 裁量で利確判断や逆張り回避に活用できます。
Trinity Swing Trading Buy and SellThis is a simple little Heiken Ashi MA + ADX & MACD trend-following trading system designed to capture medium- to longer-term moves while filtering out noise and weak trends. It combines modified Heiken Ashi candles (for smoother trend detection) with a moving average alignment, plus optional confirmation from ADX (trend strength) and MACD (momentum).
In practice, the indicator works well on higher timeframes (e.g., 1H, 4H, daily) where trends are more sustained. It performs best in trending markets and naturally avoids choppy/range-bound conditions thanks to the ADX filter (requiring ADX > 20 by default). All key components are fully customizable, so you can disable filters or adjust parameters to suit different instruments (stocks, forex, crypto, futures).
Default settings are:
16 HMA
8,17,9 MACD
15,20 ADX
Recommend to add an additional longer term EMA like 200 for long term trend confirmation.
Adjust inputs in the settings panel as needed:
Toggle MA, ADX, or MACD filters on/off.
Change MA type/length, MACD parameters, ADX threshold
- Use the visual blue diamonds (below bars) for long entries and purple diamonds (above bars) for short entries as confirmation of signals.
- Set alerts on the "Buy Alert" and "Sell Alert" conditions if you want real-time notifications.
This setup gives you a complete, rule-based system that avoids emotional trading and repetitive entries, making it suitable for both backtesting and live trading with proper risk management.
3MA Alignment Ribbon [AlgoTraderPro]3MA Alignment Ribbon is a clean, visual trend-structure indicator based on the alignment of three moving averages.
Instead of focusing on crossovers, it highlights trend quality and direction by dynamically coloring the moving averages and the ribbon between them.
The goal is simple : See at a glance whether the market structure is bullish, bearish, or neutral.
⸻
How It Works
The indicator plots three moving averages (Fast, Medium, Slow) and evaluates their alignment:
Bullish → Fast > Medium > Slow
Bearish → Fast < Medium < Slow
Neutral → Any other configuration
The moving averages and the filled ribbon between them are automatically colored based on this alignment, making trend conditions immediately visible.
⸻
Key Features
✅Multi-MA Support
Choose between:
EMA (default)
SMA
WMA
VWMA
RMA
HMA
✅ Alignment Modes
Strict: classic Fast > Medium > Slow logic
Tolerant: requires a minimum percentage separation between averages to reduce noise in ranging markets
✅ Optional Slope Filter
Filter signals by requiring the slow MA to be rising or falling, helping avoid false trend states during flat conditions.
✅ Higher Timeframe (HTF) Ribbon
Overlay the same 3MA alignment logic from a higher timeframe on your current chart:
Fully optional
Correctly calculated on the HTF itself
Option to use confirmed HTF bars only (reduces repaint confusion)
✅ Alerts & Visual Signals
Alerts when alignment turns Bullish, Bearish, or Neutral
Optional on-chart markers when the alignment flips
✅ Custom Styling
Fully customizable colors and transparency
Designed to remain readable without cluttering the chart
⸻
How to Use It
This indicator works best as:
A trend filter for discretionary trading
A context tool for entries using other setups
A market structure overlay for scalping, swing trading, or position trading
It does not generate buy/sell signals by itself — instead, it helps you trade aligned with market structure.
⸻
Default Settings
The default lengths (50 / 100 / 200 EMA) are suitable for most markets and timeframes, including crypto, forex, indices, and equities.
Daily SMA 20/50/100/200Simple Moving Averages indicator displaying four commonly used trend lines on the price chart. Plots the 20, 50, 100, and 200 period SMAs to help identify short-, medium-, and long-term trend direction, dynamic support and resistance, and overall market structure. Color-coded for clarity: 20 SMA in green, 50 SMA in blue, 100 SMA in orange, and 200 SMA in red, with uniform line thickness for clean visual consistency.
llama fixed-length moving averages [SMA, WMA]Llama Moving Averages
I needed moving averages on my charts, but I wanted them hardcoded based on the following values:
timframe --- MA length
Daily --- 20D (==1 trading month)
Weekly --- 30W (30W moving averages for assessing long term trends)
15m --- 1W (or 5 days)
Two averages:
EMA and WMA: fast moving and slow moving based on closes.
In addition to this, I needed the following things:
1. MAs ONLY on 15m, 1D and 1W timeframes.
2. Consistent colors.
3. for 15m chart, we want a 5D SMA, so 1D = 15m * 25(±1); times 5; 25*5 = 125
4. Option to configure different values for the daily chart, since I trade the daily chart. Defaults: 20.
If you were looking for something similar, enjoy!
Trend Consensus Engine [TCE]The Trend Consensus Engine (TCE) is a comprehensive market analysis system designed to filter out noise and provide a quantifiable "Trend Score" (0-100). Instead of relying on a single indicator, this script aggregates data from multiple market factors—volatility, momentum, and trend structure—to generate high-probability entry signals based on a consensus logic.
This tool is particularly optimized for Crypto (with specific time-gated logic) and BIST (Borsa Istanbul) markets, allowing traders to see the overall health of the trend at a glance via a dashboard.
How It Works
The engine calculates a composite "Total Score" (0-100) derived from four weighted components:
Trend Structure (AlphaTrend & Guppy):
Analyzes the slope and position relative to the AlphaTrend (Credit to @KivancOzbilgic) and Guppy Multiple Moving Averages (GMMA).
Positive slopes and price action above key levels add points to the score.
Volatility & Momentum (Squeeze & ADX):
Incorporates the Squeeze Momentum logic (Credit to @LazyBear) to detect explosive moves.
ADX Filter: Filters out chopping/ranging markets. If the ADX is too low, the score is penalized or the signal is blocked.
Dynamic Resistance (MA Channels):
Uses a combination of Donchian Mid-Lines and SMAs to determine if the price is in a "safe zone" or hitting resistance.
Price Action Filters (Pinbar Veto):
Automatically detects bearish "Shooting Star" or weak candles at highs. If a bearish pinbar is detected, the entry signal is vetoed regardless of the trend score.
Features & Settings
Smart Scoring Dashboard: Displays the realtime Score, Instant Decision, and confirmed Close Decision on the chart.
Market Profiles:
Crypto Mode: Includes a "Time Gate" feature (07:00 UTC+3 check) to prevent fakeouts during low-liquidity hours.
BIST Mode: Optimized parameters for the Turkish stock market logic (14:00 session checks).
Score Threshold: Users can adjust the minimum score required (Default: 70) to trigger a "BUY" signal.
Visual Guidance: The background of the dashboard changes color (Green/Red/Yellow) based on the consensus.
How to Use
Check the Dashboard: Look at the "SONUÇ" (Result) row.
GİRİŞ ✅ (ENTRY): The Score is above 70, Momentum is positive, and no Bearish Pinbars are present.
BEKLE ⏳ (WAIT): The trend is weak, or a filter (like ADX or Squeeze) is blocking the trade.
Confirm with Price Action: Use the AlphaTrend lines (Blue/Red) as dynamic support/stop-loss levels.
Credits:
AlphaTrend by KivancOzbilgic
Squeeze Momentum Indicator by LazyBear
VuManChu Cipher concepts for inspiration.
Custom Logic: Scoring algorithm and Time-Gating mechanisms are original custom developments.
Disclaimer: This tool is for educational purposes only and does not constitute financial advice.
MA Cross + Trend Stats (Probabilistic)Short description (one-liner)
A MA-regime framework with historical regime stats + forward performance + optional trend/noise filters for trending context.
________________________________________
Full description (TradingView-ready)
Overview
This indicator turns a classic Moving Average Cross into a regime-based trend dashboard. Instead of treating a cross as a standalone “buy/sell” event, it measures what historically happened after similar regime shifts on the current symbol and timeframe, and displays the results in a compact table.
It supports:
• EMA or SMA
• Custom fast/slow lengths (including .5 lengths via floor/ceil averaging)
• Optional trend quality filters for trending decisions:
o Slope filter (Slow MA slope)
o Market noise filter using Efficiency Ratio (ER) in real time
________________________________________
What the table shows (how to read it)
The table has two rows: Bull (Fast > Slow) and Bear (Slow > Fast). Metrics are computed on completed regimes (historical segments that already ended).
N
Number of completed regimes measured. More samples generally means more stable estimates.
μ Δ% / Med Δ%
Average and median regime return from regime start to regime end. Median helps reduce the impact of outliers.
⏱ Bars
Average regime duration (in bars). Useful to calibrate realistic holding expectations for trending.
⬆ MFE% / ⬇ MAE%
• MFE (Maximum Favorable Excursion): max move in favor during the regime
• MAE (Maximum Adverse Excursion): max move against during the regime
These are context metrics for typical run-up and typical heat.
ER μ | Hit
Trend-quality proxy:
• ER μ: average Efficiency Ratio during regimes (0–1, higher = more directional / less noisy)
• Hit: % of regimes with ER above the historical threshold you set
Forward performance (+H μ|Hit)
For two user-defined horizons (e.g., +10 / +20 bars):
• μ: average forward return after the cross
• Hit: probability (%) that the forward return was positive
This is designed to provide probabilistic context, not certainty.
________________________________________
“Trending” decision filters (optional)
These filters apply to signals/alerts/markers, not to the raw regime statistics:
1. Slope filter (Slow MA):
Only allow Bull signals if the Slow MA slope is positive (and Bear signals if negative).
2. Market noise filter (ER realtime):
Only allow signals when current ER exceeds your chosen threshold (helps avoid choppy conditions).
________________________________________
Suggested usage (educational)
• Treat Bull/Bear as a regime label (state), not a prediction.
• Use Forward Hit% as an estimate of historical frequency, not a guarantee.
• If ER realtime is below threshold, consider it a noisier environment (higher whipsaw risk).
• Combine with your own risk rules and confirmation (structure, volatility, volume, HTF context, etc.).
________________________________________
Notes
• Results depend on symbol, timeframe, and loaded history.
• Statistics are historical summaries and can change as more data becomes available.
• This tool is intended for research and decision support, not as standalone trade advice.
________________________________________
Disclaimer
This script is for educational and informational purposes only and does not constitute financial, investment, or trading advice. Trading involves risk. You are responsible for your own decisions and risk management.
Triple EMA// Triple EMA indicator designed for TradingView free users.
// Displays 3 standard EMAs in one indicator slot.
Bollinger Bands + MA 50/100/200📊 Bollinger Bands + MA 50 / 100 / 200 Indicator
This indicator combines Bollinger Bands with key Moving Averages (50, 100, 200) to help you spot trend direction, volatility, and potential reversal zones in one clean view.
🔹 Bollinger Bands
* Customizable length & MA type (SMA, EMA, RMA, WMA, VWMA)
* Visualizes market volatility
* Upper & lower bands help identify overbought / oversold conditions
🔹 Moving Averages
* MA 50 → Short-term trend
* MA 100 → Medium-term trend
* MA 200 → Long-term trend & major support/resistance
* Easy toggle on/off for clean charting
💡 How to use
* Price near upper band + strong MA trend → possible continuation
* Price near lower band → watch for bounce or breakdown
* MA alignment (50 > 100 > 200) → bullish trend
* MA cross & BB squeeze → potential breakout incoming
⚠️ Best used with price action & risk management
📌 Works on stocks, crypto, forex, indices
ATR Daily & Weekly With Stop Buffer this script shows Daily & Weekly ATR and also add 10% Stop buffer calculation so you can add stop loss.
ATR Distance from 50 SMA By DanBobDanA simple indicator that measures the distance between current price and the 50 SMA
The average momentum swing trade might run 7 times the ATR before pulling back
Therefore, its recommended to not buy a stock that is beyond 4 times its ATR to the 50 SMA
This script will quickly and easily calculate the 50 SMA to ATR distance for you
EMA 9/21/50 BandEMA band indicator plotting the 9, 21, and 50 exponential moving averages based on the **active chart timeframe**. Designed to adapt dynamically as you change timeframes, helping visualize short-term momentum, trend alignment, and dynamic support and resistance. Useful for identifying trend strength, pullbacks, and momentum shifts without anchoring to a fixed higher timeframe.
Daily SMA 20/50/100/200Simple Moving Averages indicator displaying four commonly used trend lines on the price chart. Plots the 20, 50, 100, and 200 period SMAs to help identify short-, medium-, and long-term trend direction, dynamic support and resistance, and overall market structure. Color-coded for clarity: 20 SMA in green, 50 SMA in blue, 100 SMA in orange, and 200 SMA in red, with uniform line thickness for clean visual consistency.
Daily SMA 20/50/100/200Simple Moving Averages indicator displaying four commonly used trend lines on the price chart. Plots the 20, 50, 100, and 200 period SMAs to help identify short-, medium-, and long-term trend direction, dynamic support and resistance, and overall market structure. Color-coded for clarity: 20 SMA in green, 50 SMA in blue, 100 SMA in orange, and 200 SMA in red, with uniform line thickness for clean visual consistency.
ODTE Layman Signals 📌 Script Name
Layman Options Signals – Structured BUY CALL / BUY PUT with SL & TP
📖 Overview
This indicator is a complete, finished intraday trading system designed to simplify options trading (including 0DTE and weekly options) by converting price action and market structure into clear, actionable signals.
The script performs all analysis in the background and displays only what the trader needs to execute consistently:
BUY CALL or BUY PUT
Predefined Stop Loss (SL)
Two Take Profit levels (TP1 and TP2)
Trade status and levels displayed in a live status box
The focus of this tool is execution discipline, not prediction.
🧠 Core Concepts Used (What Makes This Script Original)
This script combines multiple price-action concepts into a single, rule-based framework:
1️⃣ Opening Range Breakout (ORB)
The script calculates the opening range high and low using the first X minutes of the regular session.
Trades are only allowed above ORB high for CALLs and below ORB low for PUTs.
This filters low-quality trades during early chop.
2️⃣ Market Structure Confirmation
CALL trades require higher highs and higher lows
PUT trades require lower lows and lower highs
This prevents trading against structure.
3️⃣ Retest & Liquidity Sweep Validation
Breakouts are validated using:
ORB retests (price accepts above/below the range)
Liquidity sweeps (false breakouts that trap traders)
This helps reduce fake breakouts.
4️⃣ Volatility-Aware Risk Management
Stop losses are placed using market structure + ATR buffer
This avoids stops being placed at obvious levels.
5️⃣ Multi-Target Trade Management
TP1 = partial profit (risk reduction)
TP2 = runner target (trend continuation)
After TP1, stop loss can move to breakeven (optional)
6️⃣ Discipline Controls
Only one active trade at a time
Cooldown period after a stop loss
Prevents over-trading and revenge trading
📊 What the Indicator Displays
The script plots the following directly on the chart:
Entry level
Stop Loss (SL)
Take Profit 1 (TP1)
Take Profit 2 (TP2)
Opening Range High & Low
It also includes a Status Box that always shows one of the following states:
WAIT
BUY CALL
BUY PUT
IN TRADE
COOLDOWN
This allows traders to understand the current state at a glance without reading code.
▶️ How to Use the Indicator
Recommended Timeframes
1-minute or 2-minute charts
Intraday use only
Entry Rules
When BUY CALL appears → Buy an ATM or slightly ITM call
When BUY PUT appears → Buy an ATM or slightly ITM put
Risk Management
Exit immediately if price hits the SL line
Take partial profits at TP1
Hold remaining position for TP2 if conditions allow
When Status Shows WAIT or COOLDOWN
No trade should be taken
⚙️ Recommended Instruments
SPY / QQQ
Liquid large-cap stocks
Intraday options (0DTE / weeklies)
⚠️ Important Disclaimer
This script is provided for educational purposes only.
It is not financial advice
It does not guarantee profits
It does not place trades automatically
Options trading involves significant risk
Always test using paper trading or small size before live use.
🎯 Who This Script Is For
✔ Traders who want clear rules
✔ Traders who prefer price action over indicators
✔ Options traders who value risk management
✔ Users who want less chart clutter and more discipline
❌ Not intended for swing trading
❌ Not intended for automated trading systems
🧩 Final Notes
This is a complete, finished indicator, not a test or experimental script.
All logic is deterministic, non-repainting, and designed for real-time use.
The philosophy behind this tool is simple:
Good trading comes from structure, discipline, and risk control — not prediction.
Besho SetupThe Moving Averages (The Colored Lines) These three lines are the backbone of this system. They are perfectly aligned for a bullish trend (Yellow > Green > Red) and act as protective shields for the price:
The Red Line (at the bottom): This is the "General Trend Line," typically the EMA 200 (200-period Exponential Moving Average).
Function: It separates the uptrend from the downtrend. As long as the price remains well above it, the trend is strongly "bullish." Notice that the price is very far from it, indicating strong momentum.
The Green Line (in the middle): This is the "Intermediate Support Line," typically the EMA 50 or EMA 100.
Function: It acts as a bounce zone (Dynamic Support) during deep corrections. The price is shown to respect this level well in the image.
The Yellow Line (closest to the price): This is the "Fast Momentum Line," typically the EMA 20 or EMA 21.
Function: It is used for quick entries and exits. As long as the candles are closing above it, the bullish wave is sharp and continuous.
Double Cross Strategy - directional color plus golden crossCandle color changes to dark green when opening below 9/20 SMAs when 9 is below the 20 and closes above.
Candle color changes to dark red when opening above the 9/20 SMAs when the 9 is above the 20 and closes below.
Candle color changes to yellow when either of the above occurs plus crosses the vwap.
TRS (Trend Readiness System)TRS – Trend Readiness System
TRS (Trend Readiness System) is a trend-aligned trading framework designed to help you identify stocks that are becoming ready for entry , not just those already breaking out.
Instead of producing noisy buy/sell signals, TRS evaluates trend quality, pullback structure, momentum rebuilding, and market context , and converts them into clear scores, states, and timing awareness — both on the chart and inside the TradingView Screener.
---
Core Philosophy
Strong trends don’t start at the breakout — they start when conditions quietly align.
TRS focuses on:
• Primary trend alignment
• Healthy pullbacks above long-term support
• Early momentum recovery
• Market regime confirmation
• Entry timing (fresh vs late)
---
What TRS Measures
1. Setup Score (Trend Quality)
Answers the question: “Is this stock structurally worth watching?”
Based on:
• Price position relative to MA150
• Long-term trend direction
• Higher-low structure
• Distance from MA150 (overextension control)
• Market regime (bullish / bearish)
---
2. Entry Score (Timing Quality)
Answers the question: “Is the timing right — or still early?”
Based on:
• Short and mid-term moving averages
• Pullback behavior
• Momentum stabilization
• Volume confirmation
---
3. General Score
A combined readiness score used for ranking in the TradingView Screener:
General Score = Setup Score + Entry Score
---
Entry State Tracking (Key Feature)
TRS tracks the full entry lifecycle , not just signals:
• Valid Entry
• Pending Entry (almost ready)
• Bars Since Valid Entry
• Entry Window (Fresh / Expired)
• Entry Still Valid (Yes / No)
This helps avoid chasing late or already-played setups.
---
Market Regime Filter
Signals automatically adapt to overall market conditions:
• Market trend confirmation (e.g. SPY / QQQ)
• Reduced false signals during weak markets
• Clear explanation when setups are blocked
---
Visual Dashboard (Optional)
The on-chart dashboard can display:
• General Score
• Market state
• Setup quality
• Entry status
• Entry window
• Bars since entry
• Blocking reason (if any)
You can switch between:
• Minimal mode – essential info only
• Full table mode – detailed diagnostics
---
Screener Integration
TRS exposes clean numeric outputs for the TradingView Pine Screener:
• Setup Score
• Entry Score
• General Score
• Pending Entry (1 / 0)
• Valid Entry (1 / 0)
• Bars Since Valid Entry
• Market Bullish (1 / 0)
Example Screener Filters:
• Setup Score ≥ 50
• Pending Entry = 1
• Bars Since Valid Entry ≤ 3
• Market Bullish = 1
---
How to Use TRS (Daily Routine)
Step 1 – Scan
• Look for high Setup Score
• Prefer Pending Entry = 1
Step 2 – Review
• Confirm pullback quality
• Check MA150 support
• Observe momentum rebuilding
Step 3 – Act
• Enter only on Valid Entry
• Avoid expired entry windows
• Skip setups blocked by market regime
---
What TRS Is NOT
• Not a breakout chaser
• Not a day-trading system
• Not signal spam
TRS is a decision-support system for swing and position traders who value structure, context, and timing.
---
Best Used On
• Daily timeframe (1D)
• Liquid stocks & ETFs
• Trend-following strategies
• Portfolio-level screening
---






















