Croisement EMA 8/13/21 > EMA55 (non simultané)Pour du SWING H4 mini
Entrée et sortie sur chaque croisement de la 55 avec toutes les autres EMA
Indicatori e strategie
A-B-C-D Levels with Customizable Pct & Price LineA-B-C-D Levels with Customizable Pct & Price Line
This indicator plots four dynamic “fall” levels (A, B, C and D) based on percentage dips from your chosen pivot, plus an optional live price line. Use it to see at a glance exactly how far price has retraced from a recent high (or other reference).
Features:
• Customizable Dip Percentages – Define your own fall % for Levels A, B, C and D
• Flexible Pivot Source – Reference the highest high, lowest low, close or any other series
• Price Line Overlay – Optionally display a continuous current‐price line for real-time context
• Style & Visibility Controls – Independently tweak colors, widths and line styles
• Alert Conditions – Trigger alerts when price crosses above or below any fall level
• Universal Compatibility – Works on any timeframe or instrument
How to Use:
1. Open Inputs and set your desired dip percentages (e.g. A = 10%, B = 20%, etc.).
2. Choose your pivot source and lookback period.
3. Toggle “Show Price Line” to overlay the live price.
4. (Optional) In the “Create Alert” dialog, set alerts on any level crossing.
Interpretation Guide:
- **Level A** = first dip from pivot (e.g. 10% fall)
- **Level B** = deeper retracement (e.g. 20% fall)
- **Level C/D** = even deeper fall benchmarks (e.g. 30%, 40%)
- The **Price Line** shows current price relative to your fall levels
Happy trading!
#TradingView #PineScript #DipLevels #PriceLine #TechnicalAnalysis
Tweezer Top & Bottom (Adjustable Wick & Body Filter)🛠️ How It Works:
tickTolerance lets you define how many ticks difference is allowed between highs/lows.
bodyMinTicks ensures the second candle's body is large enough (default: 10 ticks = 0.10 on CL).
Only if both the tweezer condition and body size pass will the signal be marked.
Gap % Distribution Table (2% Bins)Description
This indicator displays a Gap % Distribution Table categorized in 2% bins ranging from `< -20%` to `> +20%`. It calculates the gap between today’s open and the previous day’s close, and groups occurrences into defined bins. The table includes:
Gap range, count, and percentage for each bin
A total row summarizing all entries
Customizable appearance including:
Font color, cell background fill (with transparency), and table border color
Column headers and full outer border
Date filtering using selectable start and end dates
Position control for placing the table on the chart area
Ideal for analyzing the historical behavior of opening gaps for any instrument.
Relative Strength Index (RSI)Key Components in the Script:
rsiLength: The number of periods used in the RSI calculation (default is 14).
rsiSource: The price source (typically close) used for calculations.
ta.rsi(...): TradingView’s built-in RSI function.
plot(...): Draws the RSI line on the chart.
hline(...): Horizontal lines at 70 (overbought), 30 (oversold), and 50 (neutral).
Adaptive Cycle Oscillator with EMADescription of the Adaptive Cycle Oscillator with EMA Pine Script
This Pine Script, titled "Adaptive Cycle Oscillator with EMA", is a custom technical indicator designed for TradingView to help traders analyze market cycles and identify potential buy or sell opportunities. It combines an Adaptive Cycle Oscillator (ACO) with multiple Exponential Moving Averages (EMAs), displayed as colorful, wavy lines, and includes features like buy/sell signals and divergence detection. Below is a beginner-friendly explanation of how the script works, adhering to TradingView's Script Publishing Rules.
What This Indicator Does
The Adaptive Cycle Oscillator with EMA helps you:
Visualize market cycles using an oscillator that adapts to price movements.
Track trends with seven EMAs of different lengths, plotted as a rainbow of wavy lines.
Identify potential buy or sell signals when the oscillator crosses predefined thresholds.
Spot divergences between the oscillator and price to anticipate reversals.
Use customizable settings to adjust the indicator to your trading style.
Note: This is a technical analysis tool and does not guarantee profits. Always combine it with other analysis methods and practice risk management.
Step-by-Step Explanation for New Users
1. Understanding the Indicator
Adaptive Cycle Oscillator (ACO): The ACO analyzes price data (based on high, low, and close prices, or HLC3) to detect market cycles. It smooths price movements to create an oscillator that swings between overbought and oversold levels.
EMAs: Seven EMAs of different lengths are applied to the ACO and scaled based on the market's dominant cycle. These EMAs are plotted as colorful, wavy lines to show trend direction.
Buy/Sell Signals: The script generates signals when the ACO crosses above or below user-defined thresholds, indicating potential entry or exit points.
Divergence Detection: The script identifies bullish or bearish divergences between the ACO and the fastest EMA, which may signal potential reversals.
Visual Style: The indicator uses a rainbow of seven colors (red, orange, yellow, green, blue, indigo, violet) for the EMAs, with wavy lines for a unique visual effect. Static levels (zero, overbought, oversold) are also wavy for consistency.
2. How to Add the Indicator to Your Chart
Open TradingView and load the chart of any asset (e.g., stock, forex, crypto).
Click on the Indicators button at the top of the chart.
Search for "Adaptive Cycle Oscillator with EMA" (or paste the script into TradingView’s Pine Editor if you have access to it).
Click to add the indicator to your chart. It will appear in a separate panel below the price chart.
3. Customizing the Indicator
The script offers several input options to tailor it to your needs:
Base Cycle Length (Default: 20): Sets the initial period for calculating the dominant cycle. Higher values make the indicator slower; lower values make it more sensitive.
Alpha Smoothing (Default: 0.07): Controls how much the ACO smooths price data. Smaller values produce smoother results.
Show Buy/Sell Signals (Default: True): Toggle to display green triangles (buy) and red triangles (sell) on the chart.
Threshold (Default: 0.0): Defines overbought (above threshold) and oversold (below threshold) levels. Adjust to widen or narrow signal zones.
EMA Base Length (Default: 10): Sets the starting length for the fastest EMA. Other EMAs are incrementally longer (12, 14, 16, etc.).
Divergence Lookback (Default: 14): Determines how far back the script looks to detect divergences.
To adjust these:
Right-click the indicator on your chart and select Settings.
Modify the inputs in the pop-up window.
Click OK to apply changes.
4. Reading the Indicator
Oscillator and EMAs: The ACO and seven EMAs are plotted in a separate panel. The EMAs (colored lines) move in a wavy pattern:
Red (fastest) to Violet (slowest) represent different response speeds.
When the faster EMAs (e.g., red, orange) are above slower ones (e.g., blue, violet), it suggests bullish momentum, and vice versa.
Zero Line: A gray wavy line at zero acts as a neutral level. The ACO above zero indicates bullish conditions; below zero indicates bearish conditions.
Overbought/Oversold Lines: Red (overbought) and green (oversold) wavy lines mark threshold levels. Extreme ACO values near these lines may suggest reversals.
Buy/Sell Signals:
Green Triangle (Bottom): Appears when the ACO crosses above the oversold threshold, suggesting a potential buy.
Red Triangle (Top): Appears when the ACO crosses below the overbought threshold, suggesting a potential sell.
Divergences:
Green Triangle (Bottom): Indicates a bullish divergence (price makes a lower low, but the EMA makes a higher low), hinting at a potential upward reversal.
Red Triangle (Top): Indicates a bearish divergence (price makes a higher high, but the EMA makes a lower high), hinting at a potential downward reversal.
5. Using Alerts
You can set alerts for key events:
Right-click the indicator and select Add Alert.
Choose a condition (e.g., "ACO Buy Signal", "Bullish Divergence").
Configure the alert settings (e.g., notify via email, app, or pop-up).
Click Create to activate the alert.
Available alert conditions:
ACO Buy Signal: When the ACO crosses above the oversold threshold.
ACO Sell Signal: When the ACO crosses below the overbought threshold.
Bullish Divergence: When a potential upward reversal is detected.
Bearish Divergence: When a potential downward reversal is detected.
6. Tips for Using the Indicator
Combine with Other Tools: Use the indicator alongside support/resistance levels, candlestick patterns, or other indicators (e.g., RSI, MACD) for confirmation.
Test on Different Timeframes: The indicator works on any timeframe (e.g., 1-minute, daily). Shorter timeframes may produce more signals but with more noise.
Practice Risk Management: Never rely solely on this indicator. Set stop-losses and position sizes to manage risk.
Backtest First: Use TradingView’s Strategy Tester (if you convert the script to a strategy) to evaluate performance on historical data.
Compliance with TradingView’s Script Publishing Rules
This description adheres to TradingView’s Script Publishing Rules (as outlined in the provided link):
No Performance Claims: The description avoids promising profits or specific results, emphasizing that the indicator is a tool for analysis.
Clear Instructions: It provides step-by-step guidance for adding, customizing, and using the indicator.
Risk Disclaimer: It notes that trading involves risks and the indicator should be used with other analysis methods.
No Misleading Terms: Terms like “buy” and “sell” are used to describe signals, not guaranteed actions.
Transparency: The description explains the indicator’s components (ACO, EMAs, signals, divergences) without exaggerating its capabilities.
No External Links: The description avoids linking to external resources or soliciting users.
Educational Tone: It focuses on educating users about the indicator’s functionality.
Limitations
Not a Standalone System: The indicator is not a complete trading strategy. It provides insights but requires additional analysis.
Lagging Nature: As with most oscillators and EMAs, signals may lag behind price movements, especially in fast markets.
False Signals: Signals and divergences may not always lead to successful trades, particularly in choppy markets.
Market Dependency: Performance varies across assets and market conditions (e.g., trending vs. ranging markets).
MACD (12, 26, 9)MACD Line: Difference between the 12- and 26-period EMAs.
Signal Line: 9-period EMA of the MACD line.
Histogram: Difference between MACD and Signal line (shows momentum).
Color-coded histogram bars: Green = bullish, Red = bearish.
Zero Line: Indicates equilibrium point between bulls and bears.
Trading Signals:
Bullish Signal: MACD crosses above Signal → Buy
Bearish Signal: MACD crosses below Signal → Sell
Histogram expanding: Momentum strengthening in direction of move
Relative Strength Index (RSI)Key Components in the Script:
rsiLength: The number of periods used in the RSI calculation (default is 14).
rsiSource: The price source (typically close) used for calculations.
ta.rsi(...): TradingView’s built-in RSI function.
plot(...): Draws the RSI line on the chart.
hline(...): Horizontal lines at 70 (overbought), 30 (oversold), and 50 (neutral).
Movement WatcherMovement Watcher – Intraday Price Change Alert
This indicator tracks the percentage price movement of a selected symbol (e.g., VIX) from a configurable start time. If the intraday movement crosses a defined threshold (up or down), it triggers a one-time alert per day.
Key Features:
Monitors intraday % change from the specified start time.
Triggers one-time alerts for upper or lower threshold crossings.
Optional end time for monitoring period.
Visual plots and alert markers.
Useful for automated trading via webhook integrations.
This script was designed to work with automated trading tools such as the Trading Automation Toolbox. You can use it to generate alerts based on intraday volatility and route them via webhook for automated strategies.
Gold Mini Strategy: EMA | RSI | MACD | VWAP | BB | PAGood Script to view all the important indicator into one
Refined Order Block StrategyThis strategy combines Order Blocks and Fair Value Gaps (FVG) to identify potential high-probability trading opportunities. It is designed for trend-following traders and uses the EMA 200 as a trend filter to ensure trades are aligned with the overall market direction.
The strategy provides:
Entry Signals:
BUY: Triggered when the price breaks above a bullish order block during an uptrend.
SELL: Triggered when the price breaks below a bearish order block during a downtrend.
Exit Points:
Take Profit (TP): Based on a configurable Risk-Reward Ratio (e.g., 1:2).
Stop Loss (SL): Placed slightly above/below the order block to minimize risk.
Visual Highlights:
Order Blocks: Highlighted zones where institutional traders are likely active.
Fair Value Gaps (FVG): Marked areas of price inefficiency, often acting as targets.
ES 1m MA Envelope (200 SMA)This indicator plots a Moving Average Envelope around the 200-period Simple Moving Average (SMA) for use on the 1-minute chart of the E-mini S&P 500 futures (ES).
It features asymmetric bands to highlight short-term overbought/oversold zones and potential reversion setups:
Upper Band: +0.23% above the 200 SMA
Lower Band: -0.28% below the 200 SMA
This envelope is ideal for traders who recognize the “Stairs Up, Elevator Down” behavior of the S&P 500 — where price tends to grind up slowly and fall quickly.
🔍 Key Features:
Designed specifically for the 1-minute ES chart
Asymmetric thresholds for better fit with ES intraday dynamics
Supports mean reversion and breakout detection
Can be used to identify stretched price conditions or short-term entries/exits
Suggested Use:
Look for fade setups near the bands during ranging sessions
Combine with volume, RSI, or order flow tools for confirmation
Use alerts for quick reactions to overextended price moves
Risk and Position Sizing📏 Why Position Size Should Be Based on Risk?
Let’s say you are ready to lose 1,000 in a trade. Based on your stop loss level, you can calculate how many shares (or quantity) to buy, so that if the stop hits, you only lose that ₹1,000.
This is called risk-based position sizing. It makes your trade size dynamic — small when SL is wide, bigger when SL is tight. No more random position sizes — just systematic.
Portfolio size is multiplied by the selected risk % to get money risk per trade.
This amount is then used to calculate how many shares can be bought for the given stop-loss.
So chose your portfolio size in settings. Default Portfolio size is 1,00,000 .
You can select your risk % per portfolio in the settings — for example:
0.25% for conservative style
0.5% to 1% for balanced traders
1.25% or 1.5% for aggressive ones (not recommended for beginners)
This script will automatically calculate how much quantity you should buy, for each stop-loss scenario.
📈 Progressive & Inverse-Progressive Risk Styles
Some traders follow progressive position sizing — they start with small risk when the trend is just starting, and increase the risk % as the trend confirms.
Others follow inverse-progressive sizing — they take high risk at early stages of a bull market, and reduce risk as the trend matures (when upside becomes limited).
📌 This script allows you to manually control the risk % in settings, so you can adjust it based on your trading phase and style.
📋 Three SL Scenarios – Choose What Matches Your Style
The table shows three different stop-loss conditions, and for each one it calculates:
Today’s Low – tightest stop loss
Yesterday’s Low – slightly safer, ideal for short-term swing trades
EMA Stop (configurable) – gives more breathing room.
You can visually compare all 3 in the table and choose whichever fits your strategy and comfort.
Also, you can customize:
Theme: dark or light
Font size
Table position (upper/lower corners)
🧠 Designed for traders who take risk management seriously.
Let this script handle the math. You focus on execution.
Happy Trading!
– LensOfChartist
LilSpecCodes1. Killzone Background Highlighting:
It highlights 4 key market sessions:
Killzone Time (EST) Color
Silver Bullet 9:30 AM – 12:00 PM Light Blue
London Killzone 2:00 AM – 5:00 AM Light Green
NY PM Killzone 1:30 PM – 4:00 PM Light Purple
Asia Open 7:00 PM – 11:00 PM Light Red
These are meant to help you focus during high-probability trading times.
__________________________________________________
2. Previous Day High/Low (PDH/PDL):
Plots green line = PDH
Plots red line = PDL
Tracks the current day’s session high/low and sets it as PDH/PDL on a new trading day
CHANGES WITH ETH/RTH
3. Inside Bar Marker:
Plots a small black triangle under bars where the high is lower than the previous bar’s high and the low is higher than the previous bar’s low (inside bars)
Useful for spotting potential breakout or continuation setups
4. Vertical Time Markers (White Dashed Lines)
Time (EST) Label
4:00 AM End of London Silver Bullet
9:30 AM NYSE Open
10:00 AM Start of NY Silver Bullet
11:00 AM End of NY Silver Bullet
11:30 AM (Customizable Input)
3:00 PM PM Killzone Ends
3:15 PM Futures Market Close
7:15 PM Asia Session Watch
FVG fill with immediate rebalance [LuciTech]The "FVG fill with immediate rebalance AKA Golden Arrow" indicator is designed to identify Fair Value Gaps (FVGs) and detect immediate rebalances to highlight potential trading opportunities. It uses colored boxes to mark FVGs and triangular markers to signal bullish or bearish setups, helping traders pinpoint key price levels where imbalances occur and price reactions are likely.
Key Features
FVG Detection: Spots bullish and bearish Fair Value Gaps based on price action, with customizable width settings.
Golden Arrow Signals: Displays triangular markers when price fills an FVG and immediately rebalances, indicating potential reversal or continuation zones.
Customizable Colors: Bullish FVGs appear in green and bearish FVGs in red by default, with options to tweak colors in the settings.
Time Filter: Allows signals to be restricted to a specific time window, highlighted by a background fill for clarity.
Alert System: Supports TradingView alerts for "Bullish Golden Arrow" and "Bearish Golden Arrow" signals to keep traders updated on setups.
How It Works
FVG Calculation: Analyzes gaps between candles to identify FVGs, with user-defined minimum width options (points, percentages, or ATR-based).
Signal Generation: Triggers a Golden Arrow signal when price fills the FVG and rebalances immediately, based on wick penetration and closing conditions.
Visual Aids:
Bullish FVGs are shown as green boxes, bearish FVGs as red boxes.
Upward triangles mark bullish signals, downward triangles mark bearish signals.
Time-Based Filtering: Optionally limits signals to specific hours, with a background fill showing the active period.
Marx Current Trend DisplayMarx Current Trend Display
Identify trend direction instantly on any timeframe
This indicator gives you a clear, visual confirmation of the current market trend — Bullish or Bearish — based on price action relative to a customisable Exponential Moving Average (EMA).
⸻
✅ Features
• Dynamically determines trend using a user-defined EMA (default: 200)
• Shows a floating label above price:
• 🟢 “BULLISH TREND” when price is above EMA
• 🔴 “BEARISH TREND” when price is below EMA
• Optional color-coded background to make trend state even more obvious
• Works on any market and timeframe
• Simple, clean, and easy to interpret
⸻
🧠 How It Works
• Bullish Trend: Current price is above the EMA
• Bearish Trend: Current price is below the EMA
• EMA is plotted directly on the chart for additional clarity
⸻
⚙️ Customisable Settings
• EMA length (default: 200)
• Show/hide trend labels
• Toggle background color on/off
⸻
This is a perfect tool for traders who want quick confirmation of trend bias without clutter. Pair it with your entry/exit system or use it as a filter to stay aligned with market momentum.
Soportes y Resistencias por Máximo Rebote con FiltroSupport and resistance lines are key strengths; they can be configured based on your needs or trading style, indicating levels of higher or lower risk.
13/20 EMA Crossover + Trend Check//@version=5
indicator("13/20 EMA Crossover + Trend Check", overlay=true)
ema13 = ta.ema(close, 13)
ema20 = ta.ema(close, 20)
ema100 = ta.ema(close, 100)
plot(ema13, color=color.green, title="EMA 13")
plot(ema20, color=color.orange, title="EMA 20")
plot(ema100, color=color.blue, title="EMA 100")
crossover = ta.crossover(ema13, ema20) and ema13 > ema20 and ema20 > ema100
bgcolor(crossover ? color.new(color.green, 80) : na, title="Buy Signal Background")
Fall from Recent Top & ATH (Latest Only)Fall from Recent Top & ATH (Latest Only)
This indicator calculates and displays the percentage drop from two key peaks—the most recent swing high and the all-time high (ATH)—but only for the latest occurrences. Use it to instantly assess how far price has retraced from these critical levels.
Features:
• Recent Top Fall % – Measures the drop from the last pivot high over your chosen lookback
• ATH Fall % – Shows the decline from the highest price on the chart (or a defined range)
• Latest Only Mode – Automatically clears prior values so you only see the current falls
• Custom Pivot Settings – Pick your data source (high, close, etc.) and lookback period
• Inline Labels & Data Window – Display fall percentages directly on the chart or in the info panel
• Style Controls – Adjust font size, label position, line styles and colors independently
• Alert Support – Set alerts when either fall exceeds your specified threshold
How to Use:
1. Open the indicator’s Inputs and set “Pivot Lookback” for recent swing detection.
2. Choose your “Source” series (default = high).
3. Toggle “Show Recent Top Fall” and “Show ATH Fall” on or off.
4. Enable “Latest Only” to remove old labels and focus on the newest data.
5. (Optional) In the Create Alert dialog, choose “Fall from Recent Top” or “Fall from ATH” and set your threshold.
Interpretation Guide:
- **Recent Top Fall %** helps gauge short-term retracement strength—ideal for timing entries after pullbacks.
- **ATH Fall %** reveals long-term correction severity, useful for spotting major support zones or oversold conditions.
#TradingView #PineScript #Retracement #ATH #SwingHigh #TechnicalAnalysis
Marx Current Trend DisplayMarx Current Trend Display
Identify trend direction instantly on any timeframe
This indicator gives you a clear, visual confirmation of the current market trend — Bullish or Bearish — based on price action relative to a customisable Exponential Moving Average (EMA).
⸻
✅ Features
• Dynamically determines trend using a user-defined EMA (default: 200)
• Shows a floating label above price:
• 🟢 “BULLISH TREND” when price is above EMA
• 🔴 “BEARISH TREND” when price is below EMA
• Optional color-coded background to make trend state even more obvious
• Works on any market and timeframe
• Simple, clean, and easy to interpret
⸻
🧠 How It Works
• Bullish Trend: Current price is above the EMA
• Bearish Trend: Current price is below the EMA
• EMA is plotted directly on the chart for additional clarity
⸻
⚙️ Customisable Settings
• EMA length (default: 200)
• Show/hide trend labels
• Toggle background color on/off
⸻
This is a perfect tool for traders who want quick confirmation of trend bias without clutter. Pair it with your entry/exit system or use it as a filter to stay aligned with market momentum.