Moon Phases Long/Short StrategyThis is an experiment of Moon Phases, likely buy when full moon and sell when new moon with few changes, like it would buy a day ahead or sometimes sell a day post these events, with Stop loss and take profits, 50% profitable so sounds good to me
Long only good for bitcoin gold, both modes(L+S) better for stocks and alt coins
Forecasting
超趨勢策略 (中文)-Caelusif ta.change(direction) < 0
strategy.entry("My Long Entry Id", strategy.long)
if ta.change(direction) > 0
strategy.entry("My Short Entry Id", strategy.short)
Options Position Size CalculatorOptions Position Size Calculator
Automate your options position sizing directly on the chart.
This indicator calculates the optimal number of options contracts to buy based on your risk management parameters, entry price, stop loss, and expected options decay.
📋 What It Does
Eliminates the need for external calculators by computing your position size directly on TradingView. Simply set your entry and stop loss prices, configure your risk parameters, and the indicator instantly shows you how many contracts to buy.
✨ Key Features
Visual Price Lines: Set entry and stop loss prices with draggable horizontal lines
Custom Loss Table: Input your own options loss percentages for distances from 0.1% to 1.5% (with interpolation between values)
Automatic Calculations: Calculates distance to stop loss, expected options loss, dollar risk, and final contract quantity
Live Display: All calculations shown in a clean info box on your chart
Accounts for Contract Multiplier: Correctly factors in the standard 100x options multiplier
🎯 How to Use
1. Configure Settings First
Add the indicator to your chart (set any initial prices when prompted)
Open indicator Settings (gear icon)
Enter your Portfolio Size (e.g., $10,000)
Set Risk Percentage (e.g., 2%)
Enter the Contract Price (the premium per contract, e.g., $1.50)
2. Fill Your Options Loss Table
This is crucial - you must input your own data
For each distance (0.1%, 0.2%, up to 1.5%), enter the expected % loss your options will suffer
Base this on your strategy (calls/puts), strike selection, and expiration
Use historical data from your trades or an options calculator
Example: If underlying moves 0.5% to your stop, your option might lose 30%
3. Set Entry & Stop Loss on Chart
Go back to indicator settings
Adjust Entry Price and Stop Loss Price to match your trade setup
The indicator calculates your position size instantly
4. Read Results
The indicator displays:
Distance to stop loss (%)
Expected options loss (%)
Dollar risk amount
CONTRACTS TO BUY - your position size
📊 Example
Portfolio: $10,000 | Risk: 2% | Entry: $150 | Stop: $149 (0.67% distance)
Expected loss: 38% | Contract price: $2.00
→ Buy 2 contracts
⚠️ Important
Your loss table values depend on your specific options strategy, strike, DTE, and IV
Different strategies require different loss tables
This is for educational purposes - always verify calculations
Never risk more than you can afford to lose
Made by traders, for traders. Trade safe, size smart.
Sri - Daily & Weekly Candle Strength Sri - Daily & Weekly Candle Strength
Short Title: Sri-Candle
Overlay: Yes
Description:
The Sri - Daily & Weekly Candle Strength indicator is designed to visually display recent daily and weekly candle activity directly on your chart, highlighting buyer and seller dominance for each candle. It helps traders quickly assess the strength of bullish vs bearish pressure over recent periods and can be used with both Normal and Heikin Ashi candles. This tool is particularly useful for swing traders, position traders, and technical analysts who want a clear view of candle momentum without switching timeframes.
Features:
Multi-Timeframe Candles:
Displays the last several daily candles and weekly candles on your chart.
Supports Normal or Heikin Ashi candles for both daily and weekly views.
Candle Strength Analysis:
Calculates buyer strength and seller strength as percentages based on candle body relative to the total candle range.
Highlights the dominant strength (higher of buyer or seller) above each candle.
Option to round dominant strength percentages to whole numbers.
Customizable Colors:
Set separate bullish and bearish colors for daily and weekly candles.
Customize wick colors independently for daily and weekly candles.
Positioning and Layout Options:
Adjust horizontal offset, candle thickness, and gap between candles for both daily and weekly candles.
Choose label positions for date labels (Top, Bottom, Absolute level).
Flexible Text Display:
Choose label text size (Tiny, Small, Normal, Large, Huge).
Daily candles display the day of the month on the candle optionally.
Dynamic Candle Rendering:
Each candle is plotted as a box with wicks, accurately reflecting open, high, low, and close.
Dominant strength percentage label is colored green for bullish dominance and red for bearish dominance.
Inputs:
Daily Settings:
Show Daily Candles – Toggle daily candle visibility.
Daily Candle Type – Choose between Normal or Heikin Ashi.
Daily Timeframe – Select Daily (D), Weekly (W), or Monthly (M).
Bull Candle Color (D) – Color for bullish daily candles.
Bear Candle Color (D) – Color for bearish daily candles.
Wick Color (D) – Color for candle wicks.
Horizontal Offset (D) – Distance from current bar to start drawing.
Candle Thickness (D) – Width of candle boxes.
Gap Between Candles (D) – Space between consecutive candles.
Daily Label Position – Position for the date label.
Absolute Level – Y-axis level when using absolute label position.
Strength Label Text Size – Size of the dominant strength label.
Round Dominant % (No Decimals) – Round the displayed strength to whole numbers.
Weekly Settings:
Show Weekly Candles – Toggle weekly candle visibility.
Weekly Candle Type – Choose Normal or Heikin Ashi.
Weekly Timeframe – Select Daily (D), Weekly (W), or Monthly (M).
Bull Candle Color (W) – Color for bullish weekly candles.
Bear Candle Color (W) – Color for bearish weekly candles.
Wick Color (W) – Wick color for weekly candles.
Horizontal Offset (W) – Distance from current bar for weekly candles.
Candle Thickness (W) – Width of weekly candle boxes.
Gap Between Candles (W) – Space between consecutive weekly candles.
How It Works:
The script fetches candle data using the request.security() function for the selected timeframe and type (Normal or Heikin Ashi).
Each candle’s buyer and seller strength is calculated as:
Buyer Strength (%) = ((Close - Low) / (High - Low)) * 100
Seller Strength (%) = ((High - Close) / (High - Low)) * 100
Candles are drawn as boxes with wicks on the chart at the specified horizontal offset.
The dominant strength is displayed above each candle, colored green for bullish dominance or red for bearish dominance.
Daily candles can optionally show the day of the month as a label.
Use Cases:
Quickly identify recent bullish or bearish trends on daily and weekly timeframes.
Compare strength of buyers vs sellers across multiple periods.
Combine with other technical indicators for multi-timeframe analysis.
TIME-Trading Indicator + AlertsWhat it is
A Pine Script study that profiles intraday behavior by day+time windows in CET/CEST, verifies it on history, colors the chart by the expected bias & strength, shows tables/heatmaps with backtest stats, and can alert at the start of each window with a full trading summary.
Core ideas
Day is split into 7 CET windows: 0–6, 6–9, 9–12, 12–15, 15–18, 18–22, 22–24
(NYC is unified as 15–18 and 18–22 across the whole script.)
For each weekday & window we have an expectation (Bull/Bear/Neutral/Chop) with a strength 1–5 and a label (e.g., “Skokový rast”, “Výplach”…).
Script backtests those expectations on your chart’s history:
Computes return of each window (log-return from first bar open to last bar close of the window).
Counts Hit-rate (bull window = return>0; bear window = return<0; neutral/chop excluded).
Tracks Avg % drift, t-stat, and sample size N.
Trend regime (Auto/Manual)
Auto (EMA): price vs EMA(length) on a higher timeframe (configurable) + optional slope filter.
Manual override: Bull / Bear / Neutral.
Regime is read without look-ahead (uses previous bar’s regime when closing a window).
What you see
Background shading of the current window
– color family by category (green=bull, red=bear, gray=neutral, orange=chop), shade by strength 1–5.
Optional labels on window change with regime + label text (“Bull • Najsilnejší rast týždňa”).
Forecast panel (bottom-right) listing the next X windows with label & strength.
Results tables (three views):
Heatmap 7×7 (default): weekday × window grid, each cell shows one metric (toggle among Hit-rate / Avg % / t-stat).
Deň (stránkovanie): full stats for a single day (N, Hit-rate, Avg %, t, label).
Split 2× (dlhá): two stacked tables (Mon–Thu, Fri–Sun) to fit small screens.
Alerts (window start)
Optionally fire at the start of every window.
Message includes: weekday + window, expectation label, strength, current regime, recommended action (Long/Short/Wait), Hit-rate %, Avg %, and N.
Create alerts in TV with Condition → Any alert() function call (so the script’s dynamic text is used).
Optional filters (easy to add/adjust): min N, min Hit-rate, only Bull/Bear windows.
Inputs you control
Regime mode, EMA length, higher-TF for trend check, require EMA slope.
CET/CEST timezone (uses “Europe/Bratislava” by default).
Toggles: background, labels, forecast, results view, table text size, heatmap metric.
Alert enable; (we can add min-N / min-HR filters if you want them by default).
How stats are computed (important)
A window’s return is measured strictly inside the window (open of first bar → close of last bar).
The window is credited to the correct weekday even across midnight.
Hit-rate uses only directional windows (Bull/Bear). Neutral/Chop are excluded.
Best practices
Use chart TF that divides an hour (5/15/30/60m) so window boundaries align cleanly.
Read the heatmap primarily by Hit-rate (signal reliability) and cross-check with Avg % (effect size) and t-stat (significance).
Trade at the start of a strong window in the direction of the current regime, exit time-based (end of window) or on PT/SL.
If you want, I can also:
mask/show only cells with N ≥ threshold,
add NYC sub-split toggle off/on,
export stats to CSV,
or add webhooks-friendly compact alert strings.
kNN Trend Classifier (RSI, CCI, W%R, ADX, EMA)This Pine Script indicator, "kNN Trend Classifier," is a specialized tool for identifying market trends using a combination of classic technical indicators and a simple machine learning approach. The script is designed for traders who want to blend quantitative analysis with visual chart signals to improve decision-making.
At its core, the indicator utilizes six key features: RSI (14), RSI (9), CCI, Williams %R, ADX, and 9-period EMA. Each of these measures different dimensions of momentum, trend strength, and market positioning. These values are normalized to ensure they are fairly compared across different market conditions. For every bar close, the script stores a historical snapshot of these features and uses a k-Nearest Neighbor (kNN) technique to classify the current trend as bullish or bearish. The kNN algorithm works by calculating the Euclidean distance between the present market state and all stored historical states, then referencing the majority label among the closest neighbors to decide on the market regime.
The script also provides powerful customization. Users can adjust the number of neighbors (k) to make signals more reactive or more stable; increase the training window for a deeper historical perspective; and fine-tune the lookback window for feature normalization. Two optional filters—based on volume percentile and ATR volatility—help to screen out signals in low-liquidity or low-volatility periods, reducing false positives and improving reliability.
To modify the behavior, traders should experiment with the inputs: lower k for faster signal changes, raise k or the training window for smoother signals, and adjust normalization length for different levels of trend sensitivity. Activating the volume and volatility filters is highly recommended during choppy markets. Altogether, this script gives users a robust framework to catch bullish or bearish trends with a blend of proven technical analysis and adaptive pattern recognition.
[NBK] Cover Buy Sell Cover Buy Sell — Engulfing Reversals with EMA/ATR Trend & Quality Filters
What it does
This indicator flags high-quality bullish/bearish reversal candles only when they align with a short-term trend and pass several objective quality filters. It is not a simple mashup: each component serves a distinct role and they work together to keep early/low-quality signals out.
How it works (components & interaction)
Pattern engine (entry candidates)
Bullish side (Cover Buy):
Body Engulf: current green body fully covers the prior red body, or
Piercing (relaxed): prior red → current green closes above the prior body’s midpoint (not beyond prior open).
Bearish side (Cover Sell):
Full-candle Engulf: current red candle (body + wicks) covers the entire prior candle, or
Body Engulf: current red body fully covers the prior body, or
Dark-Cloud (relaxed): prior green → current red closes below the prior body’s midpoint.
Short-term trend gate (non-repainting)
Trend is defined by the EMA slope between bar-1 and bar-2, scaled by ATR to require minimum strength.
Slope < 0 → only bullish candidates pass. Slope > 0 → only bearish candidates pass.
Body-size filter (noise control)
Rejects tiny candles: each body is compared with the lookback average body size.
For bearish candidates an additional ratio check requires current body ≥ a fraction of the prior body (to avoid weak top-ticks).
Peak filters for bearish signals (late, cleaner tops)
Distance above EMA: the high must be at least X × ATR above EMA (avoids mid-range noise).
Near local high: the high of the current bar (or bar-1) must be close to the highest high in a recent window.
Break confirmation: close must break low by at least Y × ATR (filters shallow dark-clouds).
Only when a candidate satisfies the pattern ➝ trend ➝ size ➝ peak sequence is a signal printed/alerted.
Inputs (key parameters)
EMA length, Min EMA slope vs ATR, ATR length: trend strength.
Lookback for average body, Min body vs average, Bear body ratio: body-quality filters.
High distance above EMA (×ATR), Local high lookback, Tolerance to local high (×ATR), Min break of low (×ATR): bearish peak confirmation.
Alerts
Built-in alerts fire on bar close for both Cover Buy and Cover Sell.
How to use
Increase High distance above EMA / Local high lookback / Min break of low to reduce early Cover Sell in ranges.
If you miss good tops, ease those thresholds slightly.
Works across symbols/timeframes; evaluated on bar close; no repaint from the trend gate.
Notes
This tool is a signal screener, not financial advice. For best results, combine with your structure/SR zones, risk management, and execution rules.
Markov Chain Regime & Next‑Bar Probability Forecast✨ What it is
A regime-aware, math-driven panel that forecasts the odds for the very next candle. It shows:
• P(next r > 0)
• P(next r > +θ)
• P(next r < −θ)
• A 4-bucket split of next-bar outcomes (>+θ | 0..+θ | −θ..0 | <−θ)
• Next-regime probabilities: Calm | Neutral | Volatile
🧠 Why the math is strong
• Markov regimes: Markets cluster in volatility “moods.” We learn a 3-state regime S∈{Calm, Neutral, Volatile} with a transition matrix A, where A = P(Sₜ₊₁=j | Sₜ=i).
• Condition on the future state: We estimate event odds given the next regime j—
q_pos(j)=P(rₜ₊₁>0 | Sₜ₊₁=j), q_gt(j)=P(rₜ₊₁>+θ | Sₜ₊₁=j), q_lt(j)=P(rₜ₊₁<−θ | Sₜ₊₁=j)—
and mix them with transitions from the current (or frozen) state sNow:
P(event) = Σⱼ A · q(event | j).
This mixture-of-regimes view (HMM-style one-step prediction) ties next-bar outcomes to where volatility is likely headed.
• Statistical hygiene: Laplace/Beta smoothing, minimum-sample gating, and unconditional fallbacks keep estimates stable. Heavy computations run on confirmed bars; “Freeze at close” avoids intrabar flicker.
📊 What each value means
• Regime label & background: 🟩 Calm, 🟧 Neutral, 🟥 Volatile — quick read of market context.
• P(next r > 0): Directional tilt for the very next bar.
• P(next r > +θ): Odds of an outsized positive move beyond θ.
• P(next r < −θ): Odds of an outsized negative move beyond −θ.
• Partition row: Distributes next-bar probability across four intuitive buckets; they ≈ sum to 100%.
• Next Regime Probs: Likelihood of switching to Calm/Neutral/Volatile on the next bar (row of A for the current/frozen state).
• Samples row: How many next-bar samples support each next-state estimate (a confidence cue).
• Smoothing α: The Laplace prior used to stabilize binary event rates.
⚙️ Inputs you control
• Returns: Log (default) or %
• Include Volume (z-score) + lookback
• Include Range (HL/PrevClose)
• Rolling window N (transitions & estimates)
• θ as percent (e.g., 0.5%)
• Freeze forecast at last close (recommended)
• Display toggles (plots, partition, samples)
🎯 How to use it
• Volatility awareness & sizing: Rising P(next regime = Volatile) → consider smaller size, wider stops, or skipping marginal entries.
• Breakout preparation: Elevated P(next r > +θ) highlights environments where range expansion is more likely; pair with your setup/trigger.
• Defense for mean-reversion: If P(next r < −θ) lifts while you’re late long (or P(next r > +θ) lifts while late short), tighten risk or wait for better context.
• Calibration tip: Start θ near your market’s typical bar size; adjust until “>+θ” flags truly meaningful moves for your timeframe.
📝 Method notes & limits
Activity features (|r|, volume z, range) are standardized; only positive z’s feed the composite activity score. Estimates adapt to instrument/timeframe; rare regimes or small windows increase variance (hence smoothing, sample gating, fallbacks). This is a context/forecast tool, not a standalone signal—combine with your entry/exit rules and risk management.
🧩 Strategies too
We also develop full strategy versions that use these probabilities for entries, filters, and position sizing. Like this publication if you’d like us to release the strategy edition next.
⚠️ Disclaimer
Educational use only. Not financial advice. Markets involve risk. Past performance does not guarantee future results.
Darvas Box with alertsTitle: Darvas Box with Breakout Signals
This indicator implements the legendary Darvas Box trading strategy developed by Nicolas What is the Darvas Box?
The Darvas Box is a momentum-based trading method that identifies consolidation zones by drawing boxes around price ranges. When price breaks out of these boxes, it often signals the beginning of a new trend.
Features:
Automatic Darvas Box detection and drawing based on customizable box length parameter
Dynamic box coloring (Green when price is above, Red when below, Yellow when inside)
Visual breakout signalsAdjust the "Box Length" parameter to match your trading timeframe (default: 5)
Wait for a Darvas Box to form (consolidation period)
Look for breakout signals (triangles) indicating potential trading opportunities
Set up alerts to be notified when breakouts occur
Use the box levels as potential support/resistance zones
VIX Delta SentimentThis script uses the volatility index VIX and the two nearest futures VX1! and VX2! to calculate the market sentiment and trigger a crash alert before it happens.
VIX Delta SentimentThis script opens a new panel underneath the main panel.
It displays a table with the values of the CBOE volatility index VIX, which measures the last 30 days implied volatility of the S&P500 index, the VX1! and the VX2! values, which are the front month and the second month VIX futures.
To curves are plotted: the relative difference or delta of the two VIX futures as well as the relative delta between VIX and the first futures month. The dotted lines visualize the thresholds of these two relative deltas.
These values are needed to determine the market sentiment and to trigger a crash alert before it happens. It can be used to trade the major indices SPX, QQQ, etc. or to avoid catastrophic losses.
The market sentiment is annotated in the table and also visualized as background color.
EquiSense AI Signals🇸🇦 العربي
المتنبئ الذكي المتوازن (AI v7)
وصف قصير:
مؤشر تجميعي ذكي يوازن بين الاتجاه والزخم والحجم والتذبذب وأنماط الشموع، ويحوّلها إلى نظام نقاط ونجوم يولّد إشارات شراء/بيع مؤكَّدة بتقاطع MACD. بعد الإشارة، يعرض أهدافًا ذكية (TP1/TP2/TP3) ووقف خسارة مبنيَّيْن على ATR مع رسومات مستقبلية ولوحة معلومات لإدارة الصفقة.
الإعدادات (Inputs)
الحد الأدنى للنقاط (min_score): افتراضي 6.0 — كلما ارتفع قلّت الإشارات وزادت جودتها.
الحد الأدنى للنجوم (min_stars): افتراضي 2 — فلتر لقوة الإشارة.
عدد الشموع المستقبلية (future_bars): افتراضي 15 — مدى رسم الأهداف والوقف للأمام.
استخدام الأهداف الذكية (use_ai_targets): تفعيل/إيقاف مضاعِف الذكاء الاصطناعي للأهداف والوقف.
كيف يعمل؟
يحسب المؤشر buy_score/sell_score من مجموعة عوامل: EMA8/21/50/200، RSI + متوسطه، MACD + Histogram، Stochastic، ADX/DMI، VWAP، الحجم، MTF 15m، ROC/المومنتَم، Heikin Ashi، وأنماط (ابتلاع/مطرقة/شهاب).
يحوّل الدرجات إلى نجوم (⭐⭐ إلى ⭐⭐⭐⭐⭐) حسب القوة.
تولّد الإشارة فقط إذا توفّر: درجة ≥ الحد + نجوم ≥ الحد + تقاطع MACD (صعودًا للشراء، هبوطًا للبيع).
عند الإشارة يبدأ سيناريو صفقة واحدة فقط حتى تنتهي (TP3 أو SL).
الأهداف والوقف (ذكاء اصطناعي)
تُشتق من ATR ثم تُعدَّل عبر مضاعِف AI مبني على: ATR%، الزخم (ROC)، الحجم مقابل متوسطه، قوة الاتجاه (ADX)، وعدد النجوم.
تقريبيًا:
TP1 ≈ 1.5×ATR × AI
TP2 ≈ 2.5×ATR × AI
TP3 ≈ 4.0×ATR × AI
SL ≈ 1.0×ATR ÷ AI
ماذا سترى على الشارت؟
علامات “شراء/بيع”، نجوم قرب الإشارة، خط دخول (أزرق)، وقف (أحمر منقّط)، TP1/TP2 (أخضر)، TP3 (ذهبي) مع صناديق مناطق للأهداف وخط ربط نحو الهدف النهائي.
وسم AI يعرض نسبة المضاعِف والنجوم بصريًا.
لوحة معلومات تعرض الحالة، القوة، AI%، السعر، الدرجات، وأثناء الصفقة: الدخول، TP1/TP2/TP3، والربح اللحظي.
التنبيهات (Alerts)
شرطان جاهزان: شراء وبيع عند تحقق الإشارة.
أضِف تنبيه: Right click → Add alert → اختر المؤشر → الشرط المطلوب.
أفضل الممارسات
استخدم الإطار المناسب للأصل:
سكالبينغ 5–15m: min_score 8 وmin_stars 3–4.
تأرجحي H1–H4: min_score 7 وmin_stars 3.
يومي/أسهم: min_score 6–7 وmin_stars 2–3.
فضّل التداول مع EMA200 واتجاه MTF 15m.
خفّض المخاطرة وقت الأخبار العالية.
التزم بإدارة مخاطر ثابتة (مثلاً 1% لكل صفقة).
حدود مهمة
الأفضل انتظار إغلاق الشمعة لتأكيد التقاطعات وتجنّب تغيّرها.
صفقة واحدة في المرة بفضل حالة in_trade.
يستخدم request.security مع lookahead_off لإطار 15m؛ التزم بالتقييم عند الإغلاق.
أسئلة شائعة
هل يستخدم منفردًا؟ نعم، لكن مع مناطق سعرية/ترند وخطة مخاطر يصبح أقوى.
لماذا تختلف الأهداف؟ لأن مضاعِف AI يكيّف TP/SL مع ظروف السوق.
إخلاء مسؤولية
هذه أداة تحليلية تعليمية وليست نصيحة استثمارية. اختبر الإعدادات تاريخيًا والتزم بالمخاطرة المناسبة.
ملاحظة للمبرمجين
Pine Script v6، متغيرات var لحفظ الحالة، تنظيف الرسومات على الشمعة الأخيرة، مع حدود مرتفعة للرسوم لتجنّب الأخطاء.
🇬🇧 English
Balanced Smart Predictor (AI v7)
Short description:
A smart, ensemble-style indicator that blends trend, momentum, volume, volatility, and candle patterns into a score & star system that produces Buy/Sell signals confirmed by MACD crosses. After a signal, it projects smart targets (TP1/TP2/TP3) and a stop-loss derived from ATR, with forward drawings and a control panel for trade management.
Inputs
Minimum Score (min_score): default 6.0 — higher = fewer but stronger signals.
Minimum Stars (min_stars): default 2 — extra filter for strength.
Future Bars (future_bars): default 15 — how far targets/SL are drawn ahead.
Use AI Targets (use_ai_targets): toggle the AI multiplier for TP/SL.
How it works
Computes buy_score/sell_score from: EMA8/21/50/200, RSI & its MA, MACD & Histogram, Stochastic, ADX/DMI, VWAP, Volume, 15m MTF tilt, ROC/Momentum, Heikin Ashi, and candle patterns (engulfing/hammer/shooting star).
Converts scores into Stars (⭐⭐ to ⭐⭐⭐⭐⭐) via tiered thresholds.
Signals fire only when: Score ≥ minimum + Stars ≥ minimum + MACD cross (up = Buy, down = Sell).
On a signal, one active trade is managed until TP3 or SL is reached.
Targets & Stop (AI-driven)
Targets and SL are ATR-based, then adjusted by an AI multiplier derived from: ATR%, momentum (ROC), relative volume, trend strength (ADX), and star rating.
Approximate formulas:
TP1 ≈ 1.5×ATR × AI
TP2 ≈ 2.5×ATR × AI
TP3 ≈ 4.0×ATR × AI
SL ≈ 1.0×ATR ÷ AI
What you’ll see on chart
“Buy/Sell” markers with small Star labels, an Entry line (blue), SL (red dotted), TP1/TP2 (green), TP3 (gold) with shaded target boxes and a guide line towards the final target.
A central AI badge showing the multiplier % and star rating.
A top-right Panel showing status, strength, AI%, price, scores, and during trades: entry, TP1/TP2/TP3, and live P/L.
Alerts
Two ready-made conditions: Buy and Sell when the respective signal triggers.
Add alert: Right click → Add alert → choose the indicator → select condition.
Best practices
Match timeframe to instrument:
Scalping 5–15m: min_score 8, min_stars 3–4.
Swing H1–H4: min_score 7, min_stars 3.
Daily/Equities: min_score 6–7, min_stars 2–3.
Prefer trades with EMA200 and 15m MTF trend alignment.
De-risk around major news.
Use fixed risk per trade (e.g., 1%).
Important notes
Prefer bar close confirmation to avoid mid-bar MACD flips.
Single trade at a time via the in_trade state.
15m MTF uses request.security with lookahead_off; evaluate at close for consistency.
FAQ
Use it standalone? You can, but it’s stronger when combined with S/R zones/trendlines and solid risk management.
Why do targets vary? The AI multiplier adapts TP/SL to current market conditions.
Disclaimer
This is an analytical/educational tool, not financial advice. Always backtest and use appropriate risk management.
Developer note
Built in Pine Script v6, uses var for trade state, clears drawings on the last bar to keep the chart tidy, and raises drawing limits to avoid runtime errors.
Digital RPM HUD — 4 Feeds + Confidence + Timeline (v3)🏎️ Digital RPM HUD — 4 Feeds + Confidence + Timeline (v3)
A performance-style trading dashboard for momentum-driven traders.
The Digital RPM HUD gives you an instant visual readout of market “engine speed” — combining four customizable data feeds (Trend, Momentum, Volume, Volatility) into a single confidence score (0–100) and a color-coded timeline of regime changes.
Think of it as a racing-inspired control panel: you only “hit the throttle” when confidence is high and all systems agree.
🔧 Key Features
4 Data Feeds – assign your own logic (EMA, RSI, RVOL, ATR, etc.).
Confidence Meter – blends the four feeds into one smooth 0–100 reading.
Timeline Strip – shows recent bullish / bearish / neutral states at a glance.
Visual Trade Cues – optional on-chart LONG / SHORT / EXIT markers.
Fully Customizable – thresholds, weights, smoothing, colors, layout.
HUD Overlay – clean, minimal, and adjustable to any corner of your chart.
💡 How to Use
Configure each feed to reflect your preferred signals (e.g., trend EMA 200, momentum RSI 14, volume RVOL 20, volatility ATR 14).
Watch the Confidence gauge:
✅ Above Bull Threshold → Market acceleration / long bias.
❌ Below Bear Threshold → Momentum loss / short bias.
⚪ Between thresholds → Neutral zone; stay patient.
Use the Timeline to confirm trend consistency — more green = bullish regime, more red = bearish.
⚙️ Recommended Setups
Scalping: Trend EMA 50 + RSI 7 + RVOL 10 + ATR 7 → Fast response.
Intraday: EMA 200 + RSI 14 + RVOL 20 + ATR 14 → Balanced signal.
Swing: Multi-TF Trend + MACD + RVOL + ATR → Smooth and steady.
⚠️ Disclaimer
This script is not a trading strategy and does not execute trades.
All signals are visual aids — always confirm with your own analysis and risk management.
Rotation Flow Model v6 (BTC → ETH → ALTS) Ghost 2Confirm the flows after massive dip to confirm entry points
NQ → NAS100The NQ → NAS100 Converter is a practical utility designed for traders who trade both the Nasdaq futures (NQ) and Nasdaq CFD (NAS100) markets.
It calculates and displays the converted stop-loss distance and price level on the NAS100 chart, based on a chosen number of NQ points.
This helps traders align their risk and position management between futures and CFD markets with precision.
🧮 Core Features:
Real-time conversion between NQ (CME) and NAS100 (OANDA) prices.
Automatic stop calculation for both Long and Short trade setups.
Optional display of NQ price, NAS price, and converted stop price.
Flexible visualization modes:
Candle-attached label that moves with price.
Chart-fixed panel for a clean dashboard-style view.
Full customization of colors, text size, alignment, and display position.
⚙️ How It Works:
Enter your NQ stop distance (in points).
The script converts that distance into the equivalent NAS100 distance, using the current NQ/NAS ratio.
The final converted NAS100 stop price is automatically displayed.
⚠️ Important Note:
This script does not place or execute trades.
It is designed solely for analysis and educational use to assist with risk management and cross-market price mapping.
Always confirm levels independently before trading.
📊 Recommended For:
Traders managing correlated exposure between NQ Futures and NAS100 CFDs.
Prop firm traders using NAS100 as a futures-correlated proxy.
Anyone seeking a clear, visual way to match stop distances across the two markets.
Bitcoin Halving Cycle Strategy ProBitcoin Halving Cycle Strategy Pro - Advanced Market Cycle Analysis Tool
This professional indicator analyzes Bitcoin's 4-year halving cycles using precise mathematical calculations. It identifies bull and bear market phases based on 500 days before and 560 days after each halving event, providing traders with data-driven market cycle insights.
Key Features:
• Automatic Bull/Bear Market Zone Detection with color-coded areas
• Historical Halving Analysis (2012-2028) with future projections
• Live Performance Tracking during bull phases (returns, max drawdown)
• Customizable cycle parameters (days before/after halving)
• Interactive info table showing current cycle phase and metrics
• Visual timeline markers for halving dates and cycle boundaries
Perfect for long-term Bitcoin investors, cycle analysts, and traders who want to understand market psychology and timing based on historical halving patterns. Uses proven 1060-day cycle theory backed by empirical data.
Rebound Sigma Pro - IndicatorOverview
Rebound Sigma Pro is a mean-reversion indicator that detects statistically oversold conditions in trending markets.
It helps traders identify potential short-term rebounds based on momentum exhaustion and volatility-adjusted entry zones.
Concept
The indicator combines two quantitative components:
Short-term momentum to detect short-term exhaustion
Trend filter to ensure setups align with the long-term direction
When a stock in an uptrend becomes temporarily oversold, a limit-entry signal is plotted.
The trade is then tracked until short-term conditions normalize or a time-based exit occurs.
Visual Signals
Green Triangle: Suggests placing a limit order for the next session
Green Circle: Confirms entry was filled
Red Triangle: Signals an exit for the next session’s open
Orange Background: Pending order
Green Background: Position active
Red Background: Exit phase
Yellow Line: Entry reference price
User Inputs
Limit Entry (% below previous close) – Default 1 %
Use Limit Entry – Switch between limit or market entries
Enable Time Exit – Optional holding-period constraint
Maximum Holding Days
All other internal parameters (momentum length, filters) are pre-configured.
Alerts
Limit Order Signal: New setup detected
Entry Confirmed: Order filled
Exit Signal: Exit expected next day
Usage
Designed for liquid equities and ETFs
Works best in confirmed uptrends
Backtesting encouraged to adapt parameters per symbol and timeframe
Notes
Not an automated strategy; manual order execution required
Past behavior does not imply future performance
Always apply sound position sizing and risk management
Disclaimer
This indicator is provided for educational and analytical purposes only.
It does not constitute financial advice or performance assurance.
Rebound Sigma Pro - StrategyOverview
Rebound Sigma Pro is a mean-reversion indicator that detects statistically oversold conditions in trending markets.
It helps traders identify potential short-term rebounds based on momentum exhaustion and volatility-adjusted entry zones.
Concept
The indicator combines two quantitative components:
Short-term momentum to detect short-term exhaustion
Trend filter to ensure setups align with the long-term direction
When a stock in an uptrend becomes temporarily oversold, a limit-entry signal is plotted.
The trade is then tracked until short-term conditions normalize or a time-based exit occurs.
Visual Signals
Green Triangle: Suggests placing a limit order for the next session
Green Circle: Confirms entry was filled
Red Triangle: Signals an exit for the next session’s open
Orange Background: Pending order
Green Background: Position active
Red Background: Exit phase
Yellow Line: Entry reference price
User Inputs
Limit Entry (% below previous close) – Default 1 %
Use Limit Entry – Switch between limit or market entries
Enable Time Exit – Optional holding-period constraint
Maximum Holding Days
All other internal parameters (momentum length, filters) are pre-configured.
Alerts
Limit Order Signal: New setup detected
Entry Confirmed: Order filled
Exit Signal: Exit expected next day
Usage
Designed for liquid equities and ETFs
Works best in confirmed uptrends
Backtesting encouraged to adapt parameters per symbol and timeframe
Notes
Not an automated strategy; manual order execution required
Past behavior does not imply future performance
Always apply sound position sizing and risk management
Disclaimer
This indicator is provided for educational and analytical purposes only.
It does not constitute financial advice or performance assurance.
GLOBAL LIQUIDITY PROXY, G5 Total Liquidity (CBBS + M2) - USDG5 Total Liquidity (CBBS + M2) - USD
G5 (US, CN, EU, JP, GB)
Somma Balance Sheet Central Banks e M2 convertiti in USD
BND Trader (By Vahid.Jz) 🇮🇷🎉 The first Persian indicator on TradingView, released for free to celebrate my daughter's birthday. 🎉
**Trading Assistant (by Vahid.Jz)** is an all-in-one tool designed to simplify analysis and improve accuracy. It acts as an intelligent trading partner.
**Features:**
- Market Structure detection
- Multi-Timeframe “Third Eye” analysis
- Professional Order Blocks recognition
- Fair Value Gaps (FVGs) detection
- Customizable alerts
- Fully Persian interface
- Create Custom Alarm
Developed with love by **Vahid.Jz**, a trader and Pine Script enthusiast.
*“Trading is not a destination; it’s the journey — a path of learning, growth, and experience.”*
Gold Raider Pro [Plazo Sullivan Roche Capital]Core logic
During the London kill-zone, the script locks in the session high/low (LKZ).
After London ends, it looks for a liquidity sweep (price pokes beyond LKZ high/low) then a BOS (break of the first opposing swing) to confirm reversal.
Trades are only valid with higher-timeframe bias (D1 & H4 above/below EMA-50 in agreement).
Optional filters block weak signals: time gate (NY cutoff), ADR (skip if the day’s move is already stretched), and VWAP alignment (Midnight/Weekly/Monthly).
Output is a unified signal: BUY after low sweep + BOS in bull HTF, SELL after high sweep + BOS in bear HTF; labels + dashboard summarize state and reasons.
Best setup & usage
Chart & broker: XAUUSD on a high-liquidity feed (ICMarkets/FXPro/OANDA). Use 2m–5m for executions; confirm with 15m market structure.
Session: Set timezone to America/New_York. Default London kill-zone 02:30–04:30 NY; stop taking new signals after 11:00 NY (toggle in inputs).
HTF bias: Keep EMA length = 50 on D & H4 (default). Only toggle off bias if you’re deliberately testing counter-trend sweeps (not recommended live).
Structure/BOS: Use Swing Length = 3. Leave “Require BOS after the sweep” = ON for the cleanest signals; turn “Require close back inside LKZ” ON only if you want ultra-conservative entries.
VWAP filters: Keep Midnight VWAP = ON; add Weekly/Monthly only on trend days to avoid over-filtering range sessions.
ADR guardrail: Enable ADR filter once you go live; start with ADR Threshold = 0.9 and Lookback 14. This blocks chasing extended moves.
Execution playbook:
BUY: Wait for low sweep of LKZ → BOS up → dashboard shows BULL bias, Time/ADR OK, VWAP pass. Enter on the next pullback or at close; SL below BOS invalidation (or fixed 0.5–0.8× ADR14 of XAU).
SELL: Mirror logic after a high sweep in BEAR bias; SL above BOS invalidation.
TP: Scale at 1R, leave runner to 2–3R or to Midnight/Weekly VWAP touch; hard exit by NY lunchtime or on bias flip.
Risk: 0.25–0.5% per trade (XAU is spiky). One trade per direction per session; if ADR block triggers post-entry, manage to BE or flatten if structure weakens.
Alerts & dashboard: Turn on runtime alerts once parameters are set. Read the Last Signal / Filters row; only act when it shows your direction and “L:OK / S:OK” for your side.
Validation & tuning: Forward-test 3–4 weeks. If over-filtered, relax VWAP Weekly/Monthly first; if too chatty, enforce close-back-inside and keep NY cutoff tight.
Don’ts: Don’t trade during major news spikes, don’t counter the D1/H4 agreement, and don’t enter before BOS—sweeps without structure confirmation are bait.
Devil Marks - Multi TimeframeA handy completely new script that shows Devil Marks for several time frames on the current time frame.
Devil Marks are where candles have no wick at one end of the candlestick. These levels are seen as areas that price needs to go back to at some point to re-balance the imbalance. These levels can add confluence to a trade idea.
A table is included that shows the closest devil mark for each time frame.
Devil Marks should show until that level is mitigated by price trading at that level.






















