لعلي بابا على ساعة Moving averages indicator for the 10 and 20 averages, relative strength index, and Bollinger Bands Moving averages indicator for the 10 and 20 averages, relative strength index, and Bollinger Bands
Göstergeler ve stratejiler
استراتيجية محسنة: تقليل الخسائر، إدارة ذكية//@version=5
strategy("استراتيجية محسنة: تقليل الخسائر، إدارة ذكية", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=10)
// الإعدادات
emaFastLen = input.int(20, title="EMA سريع")
emaSlowLen = input.int(50, title="EMA بطيء")
atrLength = input.int(14, title="طول ATR")
riskMultiplier = input.float(1.0, title="نسبة المخاطرة من ATR", step=0.1)
takeProfitRatio = input.float(1.5, title="نسبة الهدف الربحي إلى وقف الخسارة", step=0.1)
maxConsecutiveLosses = input.int(2, title="عدد الخسائر المتتالية المسموح بها")
// حساب المتوسطات والاتجاه
emaFast = ta.ema(close, emaFastLen)
emaSlow = ta.ema(close, emaSlowLen)
atr = ta.atr(atrLength)
longCondition = ta.crossover(emaFast, emaSlow)
shortCondition = ta.crossunder(emaFast, emaSlow)
// متابعة الخسائر المتتالية
var int lossCount = 0
if strategy.closedtrades > 0
lastTrade = strategy.closedtrades - 1
isLoss = strategy.closedtrades.profit(lastTrade) < 0
lossCount := isLoss ? lossCount + 1 : 0
canTrade = lossCount <= maxConsecutiveLosses
// الدخول في صفقات شراء فقط (بناء على طلب المستخدم)
if longCondition and canTrade
stopLoss = close - (atr * riskMultiplier)
takeProfit = close + ((close - stopLoss) * takeProfitRatio)
strategy.entry("Buy", strategy.long)
strategy.exit("TP/SL", from_entry="Buy", stop=stopLoss, limit=takeProfit)
// تفعيل trailing stop عند الربح
trailTrigger = input.float(0.5, title="نقطة تفعيل Trailing (%)", step=0.1) / 100
trailOffset = input.float(0.3, title="مسافة Trailing Stop (%)", step=0.1) / 100
if strategy.opentrades > 0
entryPrice = strategy.opentrades.entry_price(0)
if close > entryPrice * (1 + trailTrigger)
trailStop = close * (1 - trailOffset)
strategy.exit("Trail Exit", from_entry="Buy", stop=trailStop)
plot(emaFast, color=color.green, title="EMA سريع")
plot(emaSlow, color=color.red, title="EMA بطيء")
FAFA - Optimize v2FAFA - Optimize v2 Strategy
FAFA - Optimize v2 is a dynamic trading strategy that operates using Inverse Fisher RSI signals derived from a higher timeframe. By applying the inverse Fisher transform to the RSI indicator, it generates clearer and faster signals. The strategy can execute buy, sell, or both types of trades based on user preferences.
From a risk management perspective, the strategy features three-tiered take profit levels (TP1, TP2, TP3) and a flexible stop loss (SL) mechanism. This allows partial profits to be realized early while letting remaining positions benefit from larger market moves.
It also provides a handy performance panel that tracks essential metrics in real-time, including total trades, winning and losing trades, trades closed by stop loss, win rate, and net profit/loss.
In summary, FAFA - Optimize v2 aims to open reliable market positions with advanced risk controls to ensure sustainable performance.
Makki MultiEdge Analyzer 2000This script combines Bollinger Band interactions, RSI momentum confirmation, EMA crossovers, and divergence detection to generate filtered BUY signals. It uses 5-minute and 15-minute timeframe logic to improve timing and reduce false entries.
### 🔹 BUY signal logic:
A BUY label will only appear when:
• Price is near the lower Bollinger Band
• RSI shows a rebound or is climbing from oversold zones
• There is a strong bullish candle, a golden cross (EMA), or a positive divergence
• AND no overbought/exit filter is active
### 💎 Entry filter (diamond):
Appears when a clean bounce is detected on the 5-minute chart.
This is **not a BUY** but a preparation signal — useful to monitor for an upcoming opportunity.
### ⛔ Exit filter:
Triggers when 15m RSI is overbought (>68), price touches the 15m upper Bollinger Band, and 5m momentum weakens.
Blocks BUY signals and helps avoid entries during overextended moves.
### 🔺/🔻 Mild Support/Resistance markers:
- **🔺 Green upward triangle:** appears when RSI rebound or mild support conditions exist, but not enough for a BUY
- **🔻 Red downward triangle:** appears when bearish momentum, EMA crossdown, overbought RSI, or negative divergence is detected
### ❌ RSI Warnings:
- **Orange X above the bar:** RSI > 75 (overbought warning)
- **Orange X below the bar:** RSI < 25 (oversold warning)
### 🧠 Usage recommendation:
- Wait for a 💎 as early preparation
- Enter only if a BUY signal follows with no ⛔ warning present
- Avoid BUYs that appear after ⛔ or during RSI > 75 (orange X) unless very strong reversal confirmation exists
- 🔺 triangles can help monitor early support but are not sufficient alone
### 🕒 Timeframe:
- Best used on 5-minute chart
- Filtering logic pulls RSI and Bollinger data from 5m and 15m timeframes
- Higher timeframes (15m–1H) can be used for overall trend direction
All alerts are included for: BUY, entry filter (💎), exit warning (⛔), RSI warnings (❌), and support/resistance markers (🔺/🔻).
This script is for educational purposes only and does not constitute financial advice.
Directional ADX with Dynamic ThresholdThis indicator displays the ADX line, color-coded with a green line indicating a bullish DMI and a red line indicating a bearish DMI. The line turns grey when there is no trend. The trend threshold is determined by ATR. Settings are adjustable. Nothing earth-shattering but this has helped me quite a bit in my trading.
Ichimoku Cloud MAThis chart has a combination of the Ichimoku cloud and Moving Average. This is solely for education and I am not responsible for any losses to users' investments.
Webull-style VWAPThis is a clean, simple VWAP (Volume Weighted Average Price) indicator designed to resemble the VWAP line displayed on the Webull trading platform.
🔷 Includes all trading sessions (regular and extended hours) when enabled on your chart.
🔷 Resets daily at the start of each session.
🔷 Does not include any bands or deviations — just the core VWAP line for clarity.
🔷 Plots directly on your price candles for easy reference.
Perfect for intraday traders who rely on VWAP as a key dynamic support/resistance level and want a TradingView experience closer to Webull’s default implementation.
HeatVOLFirst and foremost, credit goes to xdecow and his great work in the Heatmap Volume indicator. I copied it to make some changes that I wanted (mainly being able to color the volume bars and candlesticks independently).
Overview:
HeatVOL uses statistical analysis to instantly identify significant volume anomalies. By calculating Z-scores (standard deviations from the moving average), it creates a visual heatmap that highlights unusual market activity in real-time. Both candlesticks and volume bars are color-coded based on customizable thresholds, making volume surges immediately visible.
🎨 Visual Heatmap System
- Color-coded candlesticks and volume bars based on volume intensity
- Five threshold levels: Extra High (4σ), High (2.5σ), Medium (1σ), Normal (-0.5σ), and Low
- Multiple display modes: backgrounds, lines, or both
- Customizable colors for all threshold levels
🔔 Smart Alerts
- Set alerts for any threshold level
- Separate alerts for up/down volume bars
- Monitor unusual volume activity across multiple instruments
Use Cases:
- Identify institutional activity and large player participation
- Spot potential breakouts or reversals with volume confirmation
- Monitor volume climax and exhaustion patterns
- Analyze volume trends across different timeframes
Anderberg SignalsThis indicator is designed to provide clear and visual buy and sell signals based on RSI reversals, with a focus on identifying when buyers or sellers re-enter the market after extended moves. It works on all markets (stocks, crypto, forex) and is optimized for both day trading and swing trading.
How the Indicator Works (Concepts and Logic)
The indicator is built on the Relative Strength Index (RSI), one of the most widely used tools for measuring momentum and overbought/oversold market conditions.
When RSI reaches certain key levels (signaling potential exhaustion), the script begins monitoring price reactions and the return of buying or selling pressure. It’s not simply reacting to RSI crossing below 30 or above 70; instead, it looks for signs that price action is shifting – indicating a potential reversal.
This approach helps filter out many of the false signals that often occur with standard RSI setups, especially in trending markets.
Signal Display
Green signal on the chart = Buy: RSI has been in oversold territory, and buyers are starting to take control again.
Red signal = Sell: RSI has been overbought, and sellers begin stepping back in.
Signals are plotted directly on the chart for easy visual recognition.
Can be used as entry or exit signals depending on your strategy.
Usage & Strategy
Timeframes: Works on all timeframes – from 5-minute scalping to 1D/1W swing setups.
Markets: Suitable for all markets, including stocks, crypto, commodities, and forex.
Strategy: Ideal for traders who prefer reversals or momentum shifts near key support/resistance levels.
UltraTrend Pro - Phoenix Engine EditionUltraTrend Pro – Phoenix Engine Edition
Overview
This is a technical analysis tool designed to help identify the current market trend and provide context on the market's "personality." It is built around a proprietary Phoenix Engine that analyzes price action to classify the market into distinct regimes—such as strong trends, weak trends, or choppy conditions—and then adapts its core algorithm accordingly.
Technical Features
The indicator is built on these main ideas:
1. The Phoenix Engine (Market Regime Classification):
Instead of using a one-size-fits-all approach, the Phoenix Engine constantly analyzes price volatility, strength, and stability to classify the current market into one of several regimes:
* Strong Trend (Up/Down): Clear, high-momentum directional movement.
* Medium/Weak Trend (Up/Down): Developing or fading directional movement.
* Ranging: Sideways price action with low volatility.
* Volatile: Large price swings but with no clear direction.
* Choppy: Unpredictable, messy price action to be cautious of.
This classification is displayed in real-time in the on-screen "Market Regime Display."
2. AI-Style Adaptive Trend Algorithm:
When "AI-Style Adaptation" is enabled, the core trend-following algorithm automatically adjusts its own internal parameters (Sensitivity and Period) based on the regime detected by the Phoenix Engine.
* In strong trends, it becomes less sensitive to ride the trend longer.
* In choppy or volatile markets, it becomes more conservative to help filter out noise.
This allows the indicator to dynamically adapt its behavior to the ever-changing personality of the market.
3. Adaptive Fibonacci TP/SL System:
The indicator's Take Profit (TP) and Stop Loss (SL) levels can operate in two modes:
* Standard Mode: Uses fixed Risk-Reward ratios set by the user.
* Adaptive Mode: This is the AI-style feature. It analyzes the historical success rate of signals within the current market regime to calculate and display:
* Adjusted TP/SL Levels: Levels are automatically widened or tightened based on what has historically worked best in that specific regime (e.g., wider TPs in strong trends, tighter TPs in ranging markets).
* Success Probabilities: An estimated probability (%) of reaching each TP level is shown on the chart.
* Expected Duration: An estimated time-to-target (in bars) is displayed for each TP, helping with trade management expectations.
4. Built-in Backtest & Data Analysis Engine:
To power the adaptive system, the indicator includes a powerful backtest engine that scans historical signals. It can operate in two modes:
* Deep Historical Scan: Analyzes thousands of past candles to build a robust statistical baseline.
* Recent Signals Only: Focuses only on the most recent signals within each regime, allowing the system to adapt more quickly to changing market character.
The results are displayed in a comprehensive on-screen "Backtest Statistics Table."
5. Multi-Layered Filtering System:
To qualify signals, the indicator allows for additional filters, including:
* Dual Moving Averages: Ensure signals align with a broader market trend (e.g., above the 200 SMA).
* Trading Session Filter: Restricts signals to specific user-defined trading hours.
How to Use This Indicator
1. Use the Feature Control Panel: The settings menu has been simplified. The top sections allow you to quickly toggle major visual components on or off to customize your chart.
2. Enable AI-Style Adaptation (Recommended): For the indicator to use the Phoenix Engine to its full potential, ensure "Enable AI-Style Adaptation" is checked.
3. Observe the Market Regime Display: This on-screen table is your guide to the current market's personality. It tells you the detected regime, its strength, and how the indicator is adapting.
4. Watch for Signals: A "BUY" or "SELL" signal indicates that the trend algorithm has detected a potential shift in direction.
5. Assess Adaptive TP/SL Levels: When a signal appears, observe the on-chart TP levels. The displayed probabilities and expected durations provide valuable context for managing the trade. For example, a high-probability TP1 with a short duration might be a good scalping target.
6. Use Tables for Deeper Insight: The "Backtest Statistics Table" provides a detailed breakdown of how signals have historically performed in each market regime, helping you decide which setups to trust more.
Intended Use & Limitations
* Recommended Assets: Designed for use on all assets. The Phoenix Engine's adaptive nature allows it to adjust to different market types automatically.
* Timeframes: Can be used on all timeframes.
Limitations:
* This is a tool to support analysis. It does not generate automatic buy or sell advice.
* The indicator is not a standalone strategy and does not guarantee results. Users are responsible for their own trading decisions.
* Probabilities and statistics are based on historical data and do not predict future results.
* Always use this tool in combination with your own analysis and a robust risk management plan.
We believe that no indicator is a magic solution. Technical analysis tools provide value through their convenience, adaptability, and unique logic. Combining these elements can help a trader make more educated and planned decisions, hopefully contributing to their overall success.
Highlight Candles Between Times (with Timezone Offset)Indicator to highlight specific candles in order to clearly show ORB breakout candles etc
Keltner BandWidthThis script measures the bandwidth of Keltner Channels using the same formula as is typical for Bollinger Bandwidth - (Upper band - Lower Band)/Basis where basis is the 20 period moving average. In the case of Keltner Channels, the basis uses the exponential moving average and a 10-period Average True Range as the multiplier. My use case for the indicator is to compare Bollinger Bandwidth to three different KC parameters (multipliers of 1x, 1.5x and 2x) for the identification of squeeze conditions used in the Simpler Trading Squeeze Pro indicator.
JD-MONEY 2 ENTRADAS/DIAJD-MONEY FIXED Strategy - For Intraday Trading
A simple and straightforward strategy, with clear rules and optimized parameters for intraday trading.
**Features:**
✅ **Two configurable trading times**
✅ **Defined risk management** (fixed stop and take)
✅ **Clear logic** for entries and exits
✅ No rebounds or pyramiding
Ideal for traders seeking a disciplined and straightforward approach.
*Configure the times according to your preference and let the strategy identify opportunities!*
*Note: Always trade with appropriate risk management. Past results do not guarantee future performance.*
CME_MINI:NQ1!
*Script by José Doroteu*
NY Liquidity Reversal - Debug Mode70 percent 1 rate strategy, no red folder news, trades from only 730 to noon, 20 EMA plus voluntarily breakout, 1 and one entry per direction per session per asset
Live ATR vs EOD ATR (Colored Histogram + Alerts)This indicator compares real-time intraday volatility against yesterday's established volatility (EOD ATR) – a powerful benchmark most tools ignore. It answers: "Is today's price action more volatile than yesterday's range?"
🔑 Core Innovations:
EOD ATR Benchmark
Uses yesterday's Daily ATR (calculated at market close) as a reference point.
Unlike standard ATR (which updates intraday), this anchors volatility to a fixed, objective daily value.
Live Intraday Range Tracking
Dynamically measures today’s high-low range as the session progresses.
Resets automatically at each new trading day.
Intuitive Color-Coded Histogram
Blue: <50% of yesterday’s ATR (low volatility).
Yellow: 50-75% (building momentum).
Orange: 75-99% (approaching high volatility).
Red: ≥100% (today’s range EXCEEDED yesterday’s volatility).
Smart Threshold Alerts
Triggers once-per-day alerts at key milestones:
50%: Early volatility expansion signal.
75%: Momentum warning.
100%: Critical breakout/breakdown threshold.
Resets alerts daily to avoid duplicates.
💡 Why Traders Love It:
Anticipate Breakouts: Spot accelerating volatility before price makes large moves.
Contextualize Volatility: Know if today’s action is "normal" vs. abnormal relative to the prior session.
Day Trading Edge: Gauge exhaustion (e.g., red histogram) or accumulation (blue histogram).
⚙️ Inputs:
ATR Period: Adjust sensitivity (default: 14).
📊 Features:
Visual Threshold Lines: 50% (dotted), 75% (dashed), 100% (solid red).
Alerts: Customizable notifications for volatility milestones.
Pro Tip: Combine with price action! A red histogram + breakout above today’s high = high-probability trend confirmation.
🎯 Free for use on TradingView – feedback welcomed!
⚠️ Disclaimer: For educational purposes only. Trade at your own risk.
JD-MONEY 2 ENTRADAS/DIAJD-MONEY FIXED Strategy - For Intraday Trading
A simple and straightforward strategy, with clear rules and optimized parameters for intraday trading.
**Features:**
✅ **Two configurable trading times**
✅ **Defined risk management** (fixed stop and take)
✅ **Clear logic** for entries and exits
✅ No rebounds or pyramiding
Ideal for traders seeking a disciplined and straightforward approach.
*Configure the times according to your preference and let the strategy identify opportunities!*
*Note: Always trade with appropriate risk management. Past results do not guarantee future performance.*
CME_MINI:NQ1!
*Script by José Doroteu*
Split Volume Histogram (Real Volume)v2 better volume indicator showing you exactly how much is buy or sell volume at the same time
DAO - Directional ATR OscillatorDAO - Directional ATR Oscillator. it combines trenddirection and strength by simply splitting the Average True Range in both directions over an oscilators zeroline with two MAs to make it easier to spot the overall trenddirection together with momentum and strength but it also works great for spotting divergences and possible trendreversals early. have fun with this everything indicator !
AI Smart Liquidity Signal Gold SMCver1 🚀AI Smart Liquidity Signal Gold
Description:
This indicator is a comprehensive technical analysis tool designed to identify potential trading opportunities. It combines two core methodologies: a primary signal engine based on pivot trendline breakouts, and a sophisticated confirmation layer using classic technical indicators. Additionally, it includes a separate module for plotting ICT-based market structure for discretionary analysis. This document provides a detailed, transparent explanation of all underlying logic and calculations.
1. Core Engine: Pivot-Based Liquidity Trendline Signals
The indicator's foundational signal is generated from a custom method we call "Liquidity Trendlines," which aims to identify potential shifts in momentum.
How It Works:
The script first identifies significant swing points in the price using the ta.pivothigh() and ta.pivotlow() functions.
It then draws a trendline connecting consecutive pivot points (e.g., two pivot highs).
A "Liquidity Breakout" signal (liquidity_plup for buy, liquidity_pldn for sell) is generated when the price closes decisively across this trendline, forming the basis for a potential trade.
2. The Signal Confirmation Process: A Multi-Layered Filtering System
A raw Liquidity Breakout signal is only a starting point. To enhance reliability and reduce false positives, the signal must pass through a series of user-enabled filters. A final Buy or Sell signal is only plotted on the chart if all active filter conditions are met simultaneously.
General & Smart Trend Filters: These filters use a combination of moving averages (50, 100, 200 EMA), DMI (ADX), and market structure (higher highs/lower lows) to define the short-term and long-term trend. A signal must align with the calculated trend direction to be valid.
RSI & MACD Filters: These are used for momentum confirmation. For example, a buy signal can be configured to be valid only if the MACD line is above its signal line and the RSI is below a certain threshold.
ATR (Volatility) Filter: Ensures trades are considered only when market volatility is sufficient, calculated as the ATR value relative to the closing price.
Support & Resistance (S&R) Filter: Blocks buy signals forming too close to a resistance zone and sell signals near a support zone.
Higher Timeframe (HTF) Filter: Provides confluence by checking that the trend on higher timeframes (e.g., 1H, 4H) aligns with the signal on the current timeframe.
3. ICT-Based Structure & Premium/Discount Zones (Visual Aid)
Separate from the automated signal filtering system, the indicator also includes a module for plotting key ICT (Inner Circle Trader) concepts. This part of the script is for visual and discretionary analysis only and does not directly influence the Buy/Sell signals.
ICT Market Structure: It plots labels for Change of Character (CHoCH), Shift in Market Structure (SMS), and Break of Market Structure (BMS). This is based on a Donchian-channel-like logic that tracks the highest and lowest price over a user-defined period (ict_prd) to identify structural shifts.
ICT Premium & Discount Zones: When enabled, it draws colored zones on the chart corresponding to Premium (for selling), Discount (for buying), and Equilibrium levels. These are calculated based on the range between the highest high and lowest low over the defined ICT period.
4. Risk Management & Additional Features
TP/SL Calculations: Automatically calculates Take Profit (TP) and Stop Loss (SL) levels for every valid signal based on the Average True Range (ATR).
Multi-Timeframe (MTF) Scanner: A dashboard that monitors and displays the final Buy/Sell signal status across multiple timeframes.
Session Filter & Alerts: Allows for restricting trades to specific market sessions and configuring alerts for any valid signal.
By combining pivot-based breakout detection with a rigorous confirmation process, this indicator provides a structured and transparent approach to identifying trading opportunities.
Order-Flow Market StructureOrder-Flow Market Structure by The_Forex_Steward
A precision tool for visualizing internal shifts, swing structure, BOS events, Fibonacci levels, and multi-timeframe alerts.
What It Does
The Order-Flow Market Structure indicator intelligently tracks and visualizes price structure using higher timeframe candles. It automatically detects:
• Internal bullish and bearish structure shifts
• Swing highs and lows (HH, HL, LH, LL)
• Break of Structure (BoS) confirmations
• Fibonacci retracement levels from recent swing moves
• Real-time alerts across LTF, MTF, and HTF modes
It’s a complete tool for traders who follow Smart Money Concepts, ICT, or institutional price action strategies.
How It Works
• You select a Higher Timeframe (HTF) to set the structural context
• Internal shifts are identified using HTF candle closes
• The indicator scans for swing highs/lows after each internal shift
• Breaks of previous swing points confirm BoS and plot horizontal lines
• Zigzag lines visually connect structural points (swings and BoS)
• Fibonacci levels are drawn between the latest swings
• Alerts can be configured for structure shifts, BoS events, and fib level breaks
How to Use It
Set your preferred HTF (e.g., 1H while trading on 5-minute)
Enable Fibonacci levels to visualize retracement zones
Watch for:
• Bullish internal shifts → HL to HH
• Bearish internal shifts → LH to LL
• BOS → Breakout confirmation
Enable alerts to catch structural events in real-time
Adjust the "Safe History Offset" if working with long lookbacks or volatile assets
Who It's For
• Traders using Smart Money, ICT, or market structure-based systems
• Scalpers, day traders, and swing traders
• Anyone needing precise structural insight across multiple timeframes
Features
• BoS detection with custom line styles and width
• HH, HL, LH, LL label plotting
• Optional Fibonacci retracement zones
• Custom alerts for swing shifts and fib level breaks
• LTF, MTF, and HTF alert modes
Stay aligned with structure, trade with precision, and get alerted to key shifts in real time.