BFG.dzDescription:
This script is a trading strategy built on multiple technical indicators:
1. Exponential Moving Averages (EMA): It uses two EMAs, a fast EMA (9-period) and a slow EMA (21-period), to identify trends and generate buy or sell signals based on their crossovers.
2. Relative Strength Index (RSI): The RSI is used to assess whether the market is overbought (RSI > 70) or oversold (RSI < 30), providing additional confirmation for entry and exit signals.
3. MACD (Moving Average Convergence Divergence): The MACD line crossing over the signal line indicates a potential buy, while crossing under signals a potential sell.
4. Volume: A high volume condition is added, where a volume higher than 150% of the average volume over the last 20 bars is considered a confirmation of the signal.
Candlestick analysis
MA Candle Color with Buy/Sell Alerts & Reference LinesMA Candle Color with Buy/Sell Alerts & Reference Lines
S/R + Reversal + Smart Breakouts [Lite]Support and Resistance Level Break Alert System, best used in confluence with Ichimoku Cloud.
My script 1. Inside Bar Detection:
• The strategy identifies an inside bar pattern where the current (or higher timeframe) bar’s high is lower than the previous bar’s high and its low is higher than the previous bar’s low.
• It only considers setups where the bar’s range exceeds a minimum percentage of the ATR, and the potential reward-to-risk (R-multiple) meets or exceeds a user-defined threshold.
2. Setup and Order Management:
• When a valid inside bar setup is detected (with long setups when the price is bullish and short setups when bearish), the strategy displays a small setup indicator on the chart (a green triangle below the bar for long setups and a red triangle above for short setups).
• It draws bold horizontal lines representing the proposed entry level, stop-loss, and take-profit levels. These lines extend to the right to show the price levels at which orders would be placed if the setup is triggered.
• If a new valid setup is detected while no trade is active, any pending orders from a previous setup are canceled (using a setup cancellation logic with a tracking variable).
3. Trade Execution:
• Once the market reaches the calculated entry level (as determined by the inside bar and the user-specified offsets), the strategy places a stop order to enter a trade.
• It then sets exit orders for both take-profit and stop-loss based on the levels defined by the inside bar’s range.
4. Trade Tracking and Visualization:
• When a trade is triggered, the strategy creates a new set of “trade lines” (entry, stop-loss, and take-profit lines) that are updated in real time.
• When the trade exits (either through profit or a stop loss), these trade lines are frozen (their extension is stopped) and a trade box is drawn to mark the period of the trade.
• Closed trades remain on the chart as visual markers, allowing you to review historical trades.
5. CSV Export via Alerts:
• When a trade exits, the strategy constructs a CSV‐formatted string containing details such as the symbol, trade direction, entry price, exit price, and the realized R-multiple.
• An alert is fired with this CSV message. This message can be captured via a webhook, which is useful for logging trade performance or integrating with other systems.
6. 200 EMA and Multi-Timeframe Scanner:
• A 200-period exponential moving average (EMA) is plotted on the chart to help identify trend direction.
• The strategy also includes a scanner table that shows whether an inside bar is currently forming on multiple resolutions (from 1 minute up to 1 month). This scanner helps provide context and additional confirmation of market conditions.
Overall, this strategy combines technical pattern recognition (inside bars) with robust order management, visual feedback (via setup indicators, trade lines, and historical trade boxes), and external trade logging using CSV alerts. It is designed to work on a higher timeframe (with an option to use multi-timeframe data) and helps traders both execute and review inside bar-based trades with clear risk/reward considerations.
Falcon SignalsThis script is a TradingView Pine Script for a trading strategy called "Falcon Signals." It combines multiple technical indicators and strategies to generate buy and sell signals. Here’s a breakdown of what the script does:
1. Supertrend Indicator:
The script calculates the Supertrend indicator using the Average True Range (ATR) and a specified multiplier (factor). The Supertrend is used to define the trend direction, with a green line for an uptrend and a red line for a downtrend.
2. EMA (Exponential Moving Average):
Two EMAs are used: a fast EMA (9-period) and a slow EMA (21-period). The script checks for crossovers of the fast EMA above or below the slow EMA as a basis for buying and selling signals.
3. RSI (Relative Strength Index):
The RSI (14-period) is used to measure the momentum of the price. A buy signal is generated when the RSI is less than 70, while a sell signal is generated when it’s greater than 30.
4. Take Profit (TP) and Stop Loss (SL):
The script allows users to set custom percentages for take profit and stop loss. The take profit is set at a certain percentage above the entry price for buy signals, and the stop loss is set at a percentage below the entry price, and vice versa for sell signals.
5. Trailing Stop:
A trailing stop can be enabled, which dynamically adjusts the stop loss level as the price moves in the favorable direction. If the price moves against the position by a certain trailing percentage, the position will be closed.
6. Engulfing Patterns:
The script checks for bullish and bearish engulfing candlestick patterns, indicating potential reversals. A bullish engulfing pattern is marked with a teal label ("🔄 Reversal Up"), and a bearish engulfing pattern is marked with a fuchsia label ("🔄 Reversal Down").
7. Plotting:
The script plots various indicators and signals:
Entry line: Shows where the buy or sell signal is triggered.
Take profit and stop loss levels are plotted as lines.
EMA and Supertrend lines are plotted on the chart.
Trailing stop line, if enabled, is also plotted.
8. Buy and Sell Labels:
The script places labels on the chart when buy or sell signals are triggered, indicating the price at which the order should be placed.
9. Exit Line:
The script plots an exit line when the trailing stop is hit, signaling when a position should be closed.
10. Alerts:
Alerts are set for both buy and sell signals, notifying the trader when to act based on the strategy's conditions.
This strategy combines trend-following (Supertrend), momentum (RSI), and price action patterns (EMA crossovers and engulfing candlestick patterns) to generate trade signals. It also offers the flexibility of take profit, stop loss, and trailing stop features.
30-Min Trap Reversal Strategy (Long Only, Cleaned)Apply on 30 min charts with any ticker with volatility. Mag 7 usually give good resutls
Custom Volume Indicator (v6)Candle is green if volume is more than average line and it closes more than current days open and previous days close.
candle is red if opposite is true
candle is blue if current days close is less than todays open but is more than previous days close.
quarterly low volume is displayed with orange.
Forex Majors - Bullish/Bearish Pin Bars & Marubozu with ATRFor the guys at Binguru.
The indicator displays notification or alerts when certain events are triggered. In the indicator itself these events are Pin bar or Maribozu events. But you can edit yourself what events you want. You can add indicators or any other condition.
12 Week Low and Cummulative 5 Week dropThis script is designed to identify and visually highlight specific candlestick bars on a TradingView chart where two custom conditions overlap:
Additionally, it filters and flags only the latest overlapping candle within the last 5 candles.
5-Minute Price Action Scalper5-Minute Scalping Strategy Based on Price Action:
Timeframe & Chart Setup:
Chart Timeframe: 5-minute chart for analysis.
Indicators (if any): Although price action is key, you could use simple tools like trendlines and support/resistance levels for additional context. For your strategy, we can skip most indicators to keep the setup minimal.
Price Action Setup:
Candlestick Patterns: Focus on common patterns like pin bars, engulfing candles, inside bars, and doji patterns. These patterns are significant for potential reversals or continuation signals.
Support & Resistance Levels: Mark clear levels of support and resistance on the 5-minute chart. These levels will be crucial for identifying entry points.
Break of Structure (BoS): Identify market structure shifts. For instance, if the price breaks above a recent high (uptrend), it could signal a continuation of the trend.
Trend Confirmation (Optional):
Higher Timeframe Trend Analysis (15-minute or 1-hour): To avoid trading against the trend, check the higher timeframe (15-minute) for a broader trend. This ensures you're trading with the market’s momentum.
Trendlines: Draw trendlines to capture the overall market direction. If the market is trending up, look for buy signals at support. If it's trending down, look for sell signals at resistance.
Entry Strategy:
Buy Entry: Look for a strong bullish candlestick pattern near a support level. Entry should be taken after the candlestick pattern is confirmed, with a stop loss placed just below the support zone.
Sell Entry: Similarly, look for a bearish candlestick pattern near a resistance level. A sell can be triggered once the pattern is confirmed, with a stop loss above the resistance zone.
Breakout Strategy: If the price breaks out above resistance or below support with a strong candlestick (like an engulfing candle), consider entering in the direction of the breakout.
Exit Strategy:
Target 1-2 R:R (Risk-Reward Ratio): Set a target that provides a good risk-reward ratio (typically 1:1 to 1:2).
Exit at Opposing Zone: You could exit at the next key support or resistance level, or if you see price action signaling exhaustion, such as a long upper wick on a bullish candle or a strong reversal pattern.
Risk Management:
Stop Loss: Always place a stop loss below/above key levels (support/resistance) depending on whether you're in a buy or sell trade.
Position Size: Ensure proper position sizing to risk a small percentage of your account (usually 1-2%) on each trade
FOR EDUCATIONAL PURPOSE ONLY
Bullish/Bearish Reversal Bars Indicator [ik]To address the issue where the labels (BULL and BEAR) were not appearing, the following corrections and improvements have been made to the Pine Script code:
Corrected the Money Flow Index (MFI) Calculation: The original MFI calculation was incorrect. It has been replaced with the standard MFI formula using the typical price and Wilder's moving average (RMA).
Fixed AO Conditions: The conditions involving the Awesome Oscillator (AO) were reversed. Bullish reversal now requires AO to be rising (diff > 0), and bearish reversal requires AO to be falling (diff < 0).
Adjusted Label Management: Ensured labels are only removed when invalidation conditions are met, preventing premature deletion.
Gap Days Identifier📌 Gap Days Identifier – Pine Script
This script identifies Gap Up and Gap Down days based on user-defined percentage thresholds. It is designed for daily charts and helps traders spot significant opening gaps relative to the previous day’s close.
🔍 Key Features:
Customizable Thresholds: Input your desired % gap for both Gap Up and Gap Down detection.
Visual Markers: Displays label arrows with actual % gap on the chart (green for Gap Up, red for Gap Down).
Live Statistics Table: Shows total count of Gap Up and Gap Down days based on your filters.
Clean Overlay: Designed to be non-intrusive and easy to interpret for any instrument.
✅ Use Case:
Perfect for traders who track gap-based breakout strategies, news/event impact, or want to filter days with strong overnight sentiment shifts.
ATR Amplitude RatioATR Amplitude Ratio
The ATR Amplitude Ratio indicator measures price volatility by comparing the current candle's amplitude (high-low range) to the Average True Range (ATR). This helps traders identify when price movement exceeds typical volatility thresholds, potentially signaling unusual market activity.
Key Features:
Displays the ratio between current candle height and ATR as color-coded histogram bars
Customizable ATR calculation with multiple smoothing methods (SMA, EMA, RMA, WMA)
Visual reference lines at 1x, 2x, 3x, 4x, and 5x ATR levels
Dynamic color coding based on volatility intensity (5 customizable threshold colors)
Real-time display of current ratio and ATR values
How to Use:
Volatility Assessment: Quickly identify if price action is within normal volatility ranges or exhibiting unusual movement
Breakout Confirmation: Higher ratios can confirm genuine breakouts versus false moves
Entry/Exit Timing: Consider entries when volatility returns to normal ranges after spikes
Risk Management: Adjust position sizing based on current volatility ratios
Settings:
ATR Length: Determines the lookback period for ATR calculation (default: 14)
ATR Smoothing Type: Choose from SMA, EMA, RMA, or WMA methods
Color Thresholds: Customize colors for different volatility ranges
This indicator helps traders make more informed decisions by providing context about current price action relative to recent historical volatility.
MMXM ICT [TradingFinder] Market Maker Model PO3 CHoCH/CSID + FVGMMXM ICT Market Maker Model PO3 CHoCH/CSID + FVG
This comprehensive indicator is designed for traders leveraging ICT (Inner Circle Trader) concepts, particularly the Market Maker Model, to identify high-probability trade setups based on institutional price delivery behavior. It combines multiple structural elements, fair value inefficiencies, and entry signals to assist with PO3 (Power of 3), CHoCH, and Market Structure analysis.
🔹 Key Features:
CHoCH / BOS Detection:
Automatically identifies Change of Character (CHoCH) and Break of Structure (BOS) using swing highs and lows. Useful for recognizing early trend reversals or continuations.
Fair Value Gaps (FVG):
Highlights imbalances between buyers and sellers by detecting unfilled price gaps, signaling potential areas of price drawdown or support/resistance.
Market Structure (HH/LL):
Plots Higher Highs and Lower Lows to visually assist with trend analysis and structural shifts.
Buy & Sell Signals:
Entry signals are generated when CHoCH aligns with the prevailing trend direction, helping to confirm high-probability trade entries.
⚙️ Customizable Inputs:
FVG Lookback and Size Thresholds
CHoCH Swing Sensitivity
Market Structure Swing Detection
Toggle Display Options for All Visual Elements
🎯 Use Case:
Ideal for day traders and swing traders seeking to trade with the "smart money." When FVG zones align with CHoCH and confirmed trend direction, this tool helps uncover potential sniper entries and exits.
Enhanced Elliott Wave + SMCThe Pine Script you provided is a sophisticated trading strategy called "Enhanced Elliott Wave + SMC" (Smart Money Concepts) that combines multiple technical analysis concepts to generate trade signals. Here's a breakdown of its key components and functionality:
1. Core Concepts
Elliott Wave Theory: Identifies potential wave patterns using a 50-period SMA to determine trend direction and Fibonacci extensions (1.618 ratio) for price targets.
Smart Money Concepts (SMC): Focuses on institutional trading patterns like liquidity sweeps, supply/demand zones, and fair value gaps (FVGs).
2. Key Features
Liquidity Sweep Detection:
Identifies false breakouts where price briefly exceeds recent highs/lows before reversing.
Confirms institutional "stop hunts" to trap retail traders.
Supply/Demand Zones:
Marks areas of concentrated buying/selling pressure.
Zones persist on the chart (up to max_zones_displayed) and are triggered by liquidity sweeps.
Fair Value Gaps (FVG):
Detects price voids between candles, indicating potential reversal zones.
Bullish FVG (gap below) and Bearish FVG (gap above) highlighted.
Market Structure Lines:
Horizontal lines showing recent swing highs/lows (10-period extremes).
3. Indicators & Filters
RSI & CMO: Momentum filters (RSI >50/<50, CMO positive/negative).
Volume Confirmation: Optional filter requiring volume spikes (1.5x 20-period average).
ATR-Based Risk Management: Dynamic stop-loss and take-profit levels based on volatility.
4. Entry Conditions
Long Entry:
Price crosses above demand zone.
Bullish momentum (RSI >50, CMO >0).
Confirmed bullish liquidity sweep.
Volume spike (if enabled).
Short Entry:
Price crosses below supply zone.
Bearish momentum (RSI <50, CMO <0).
Confirmed bearish liquidity sweep.
Volume spike (if enabled).
5. Risk Management
Stop-Loss: Fixed percentage (2%) of price or ATR-based.
Risk/Reward Ratio: 3:1 profit targets derived from stop-loss distance.
6. Visualization
Colored lines/zones for Elliott Wave projections, FVGs, supply/demand areas, and market structure.
Labels and alerts for key events (liquidity sweeps, zone entries).
7. Strategy Logic
Bullish Scenario:
After a bearish liquidity sweep (trap shorts), enter long when price reclaims demand zone with momentum.
Target Fibonacci extension levels or supply zones.
Stop below recent swing low/ATR level.
Bearish Scenario:
After a bullish liquidity sweep (trap longs), enter short when price breaks below supply zone.
Target demand zones or Fibonacci projections.
Stop above recent swing high/ATR level.
8. Use Case
This strategy aims to:
Identify institutional order blocks (liquidity sweeps).
Catch reversals at key supply/demand zones.
Use Elliott Wave principles for profit targets.
Filter false signals with volume/momentum confirmation.
It's designed for swing trading and requires combining price action confirmation with the automated signals. The visual elements help traders quickly assess market structure and key levels.
EMA5 vs EMA13 Crossover (1D)1dklık ema5 vs ema13 crossover deneme bununla 1 dk lık al sat verısı ıncelıyorum
Statistical OHLC Projections [neo|]█ OVERVIEW
Statistical OHLC Projections is an indicator designed to offer users a customizable deep-dive on measuring historical price levels for any timeframe. The indicator separates price into two distinct levels, "Manipulation" and "Distribution", where the idea is that for higher timeframe candles, e.g. an up-close candle, the distance from the open to the bottom of the wick would constitute the Manipulation, and the rest would be considered the Distribution. By measuring out these levels, we can gain insight on how far the market may move from higher timeframe opens to their manipulations and distributions, and apply this knowledge to our analysis.
IMPORTANT: Since levels are based on the lookback available on your chart, if the levels aren't being displayed this likely means you don't have enough lookback for your selected timeframe. To check this, enable the stat table to see how many values are available for your timeframe, and either reduce the lookback or increase your chart timeframe.
█ CONCEPTS
The core concept revolves around understanding market behavior through the lens of historical candle structure. The indicator dissects OHLC data to provide statistical boundaries of expected price movement.
- Manipulation Levels: These represent the areas typically seen as liquidity grabs or false moves where price extends in one direction before reversing.
- Distribution Levels: These highlight where the bulk of directional movement tends to occur, often following the manipulation move.
The tool aggregates this data across your selected timeframe to inform you of potential levels associated with it.
█ FEATURES
Multiple Display Types: Display statistical data through two sleek styles, areas or lines. Where areas represent the area between two customizable lookback values, and lines represent one average value.
Adjustable Timeframe Selection: Whether you want to see data based on the 1D chart, or the 1W chart, anything is possible. Simply change the timeframe on the dropdown menu and if there is sufficient lookback the indicator will adjust to your requested timeframe.
Customizable Historical Lookback: By default, the indicator will measure the average 60 values of your requested timeframe, however this may be adjusted to be higher or lower based on your preference. If you want to measure recent moves, 10-20 lookback may be better for you, or if you want more data for less volatile instruments, a value of 100 may be better.
Historical Display: Prevent historical levels from being removed by unchecking the "Remove Previous Drawings" option, this will allow you to examine how the levels previously interacted with price.
NY Midnight Anchoring: By checking the "Use NY Midnight" option, you may see the projection anchored to the New York midnight open time, which is often a significant level on indices.
Alerts: You may enable alerts for any of the indicator's provided levels to stay informed, even when off the charts.
█ How to use
To use the indicator, simply apply it to your chart and modify any of your desired inputs.
By default, the indicator will provide levels for the "1D" timeframe, with a desired lookback of 60, on most instruments and plans this can be gotten when you are on the 30 minute timeframe or above.
When price reaches or extends beyond a manipulation level, observe how it reacts and whether it rejects from that level, if it does this may be an indication that the candle for the timeframe you selected may be reversing.
█ SETTINGS AND OPTIONS
Customize the indicator’s behavior, timeframe sources, and visual appearance to fit your analysis style. Each setting has been designed with flexibility in mind, whether you're working on lower or higher timeframes.
Display Mode: Switch between different display styles for levels: - Default: Shows all statistical levels as individual lines.
- Areas: Plots filled zones between two customizable lookbacks to represent the range between them.
This is ideal for visually mapping high-probability zones of price activity.
Timeframe Settings:
- Show First/Second Timeframe: Choose to show one or both timeframe projections simultaneously.
- First Timeframe / Second Timeframe: Define the higher timeframe candle you want to base calculations on (e.g., 1D, 1W).
- Use NY Midnight: When enabled and using the daily timeframe, the levels will be anchored to the New York Midnight Open (00:00 EST), a key institutional timing reference, especially useful for indices and forex.
Calculation Settings:
- Main Lookback Period: The number of historical candles used in the statistical calculations. A lower number focuses on recent price action, while a higher number smooths results across broader history.
- First Lookback / Second Lookback: Used when “Areas” mode is selected to define the range of the shaded zone. For example, an area from 20 to 60 candles creates a band between short- and long-term price behavior averages.
Visual Settings:
- Line Style: Set your preferred visual style: Solid, Dashed, or Dotted.
- Remove Previous Drawings: When enabled, only the most recent projection is shown on the chart. Disable to retain previous levels and visually backtest their reactions over time.
Color Settings:
Customize each level independently to match your chart theme:
- Manipulation High/Low
- Distribution High/Low
- Open Level
- Label Text Color
Premium/Discount Zones:
- Enable Premium/Discount Zones: Overlay price zones above and below equilibrium to visualize potential overbought (premium) and oversold (discount) areas.
- Premium/Discount Colors: Fully customizable zone colors for clarity and emphasis.
Table Settings:
- Show Statistics Table: Adds an on-chart table summarizing key levels from your active timeframe(s).
- Table Cell Color: Set the background color of the table cells for visibility.
- Table Position: Choose from preset chart locations to position the table where it works best for your layout.
Alerts:
Stay on top of price interactions with key levels even when you're away from the charts.
- Manipulation Hits (High)
- Manipulation Hits (Low)
- Distribution Hits (High)
- Distribution Hits (Low)
BUY AND SELL SIGNALSThis script gives Buy and Sell signals that are 98% accurate. Load the script and see for yourself.
EMA Crossover + RSI Confirmation (XAUUSD M15)Fast EMA: ใช้ EMA ระยะสั้น (Fast EMA) กับค่า 9 เพื่อจับทิศทางสั้นๆ ของราคา
Slow EMA: ใช้ EMA ระยะยาว (Slow EMA) กับค่า 21 เพื่อจับทิศทางระยะยาวของราคา
RSI: ใช้ RSI ระยะเวลา 14 เพื่อดูสภาวะการซื้อขายที่เกินจากกรอบปกติ (Overbought / Oversold)
Buy Condition: เกิดเมื่อ Fast EMA ข้ามขึ้นเหนือ Slow EMA และ RSI ต่ำกว่า Overbought (ค่าเริ่มต้น 70)
Sell Condition: เกิดเมื่อ Fast EMA ข้ามลงต่ำกว่า Slow EMA และ RSI สูงกว่า Oversold (ค่าเริ่มต้น 30)
Plot EMA Lines: แสดงเส้น Fast EMA (สีเขียว) และ Slow EMA (สีแดง) บนกราฟ
Fast EMA: Use a short-term Exponential Moving Average (Fast EMA) with a period of 9 to capture short-term price direction.
Slow EMA: Use a long-term Exponential Moving Average (Slow EMA) with a period of 21 to capture long-term price direction.
RSI: Use the Relative Strength Index (RSI) with a period of 14 to identify overbought and oversold conditions.
Buy Condition: Occurs when the Fast EMA crosses above the Slow EMA and the RSI is below the Overbought level (default 70).
Sell Condition: Occurs when the Fast EMA crosses below the Slow EMA and the RSI is above the Oversold level (default 30).
Plot EMA Lines: Display the Fast EMA line (green) and the Slow EMA line (red) on the chart.
Plot Buy/Sell Signals: Use plotshape to display BUY and SELL signals on the chart.
Alerts: Set up alertcondition for BUY and SELL signals to receive notifications through TradingView when a signal occurs.
Plot Buy/Sell Signals: ใช้ plotshape เพื่อแสดงสัญญาณ BUY และ SELL บนกราฟ
Alerts: ตั้งค่า alertcondition สำหรับ BUY และ SELL เพื่อให้มีการแจ้งเตือนผ่าน TradingView เมื่อเกิดสัญญาณ
Cảnh báo Breakout nâng cao (Sideway + Volume + RSI)Sideway Zone High and Low Calculation Conditions: You have used ta.highest() and ta.lowest() to calculate the high and low correctly.
Volume Spike: You have used SMA to determine if the current volume is above average.
RSI Check: The condition for RSI has also been checked correctly.