Overlay Hourly Candle [odnac] * This script overlays 1-hour candlestick representations on the chart.
* It captures the open, close, high, and low prices for each hourly period.
* The script dynamically updates as new hourly candles form and adjusts the
* box and wick positions accordingly.
*
* Features:
* - Draws an hourly candle with body and wicks.
* - Colors bullish candles in green and bearish candles in red.
* - Updates dynamically as new hourly candles form.
* - Uses TradingView's box and line functions to represent candle structures.
*
* Usage:
* - Add the script to your TradingView chart as an overlay.
* - Observe how the hourly candles appear distinctly on any timeframe.
Trend Analysis
HSI Futures Big CandleThis Pine Script indicator is designed to help traders identify and highlight significant candlestick patterns at specific times during the Hong Kong Time (HKT) market sessions. It focuses on detecting large bullish or bearish candles based on user-defined criteria, such as price gaps and volume thresholds, and provides clear visual markers and detailed labels to make key market movements easy to spot.
這個 Pine Script 指標專為交易者設計,旨在幫助識別香港時間(HKT)市場時段內特定時間點的重要燭台模式。它能檢測大陽燭或大陰燭,並根據用戶設定的條件(如價格差距和成交量)進行篩選,同時提供視覺標記和詳細標籤,讓交易者輕鬆掌握市場的關鍵動向。
Time-Based Filtering
the options in the "Select Time to Filter" dropdown menu:
"0915": Only show large bullish and bearish candles at HKT 09:15.
"0930": Only show large bullish and bearish candles at HKT 09:30.
"0915 & 0930": Show large bullish and bearish candles at both HKT 09:15 and 09:30.
"Day Session": Show large bullish and bearish candles during the Day Session (HKT 09:15 to 16:29).
"Night Session": Show large bullish and bearish candles during the Night Session (HKT 17:30 to 02:59).
"All Day": Show large bullish and bearish candles at all times.
時間篩選
"Select Time to Filter" 下拉選單,提供以下選項:
"0915":僅顯示 HKT 09:15 的大陽燭和大陰燭。
"0930":僅顯示 HKT 09:30 的大陽燭和大陰燭。
"0915 & 0930":顯示 HKT 09:15 和 09:30 的大陽燭和大陰燭。
"Day Session":顯示 HKT 09:15 至 16:29 的大陽燭和大陰燭。
"Night Session":顯示 HKT 17:30 至 02:59 的大陽燭和大陰燭。
"All Day":顯示所有時間的大陽燭和大陰燭。
Visual Tools:
Plots a green upward triangle for large bullish candles and a red downward triangle for large bearish candles.
Adds a detailed label to each qualifying candle, showing:
Candle type (Bullish or Bearish)
Time in HKT (e.g., "09:15")
Open price
Price difference (Close - Open)
Close price
Midpoint price
Volume
視覺化工具
大陽燭:顯示綠色上三角形。
大陰燭:顯示紅色下三角形。
在符合條件的燭台上附加標籤,顯示以下資訊:
燭台類型(Bullish 或 Bearish)
HKT 時間(如「09:15」)
開盤價
價格差異(收盤價 - 開盤價)
收盤價
中間價
成交量
Optimized Supertrend Intraday StrategyThis Optimized Supertrend Intraday Strategy for TradingView is designed for precise intraday trading with the following key modifications:
Entry Timing:
Trades only start at 9:20 AM and stop at 3:15 PM, ensuring trades align with market liquidity.
Entry Conditions (No Crossover):
Instead of relying on ta.crossover or ta.crossunder, this strategy enters trades when the price is positioned relative to the Supertrend:
Long Entry: When price is above both the Supertrend and the higher timeframe Supertrend.
Short Entry: When price is below both Supertrend levels.
Risk & Trade Management:
Uses ATR-based position sizing to control risk.
Incorporates daily loss tracking to stop trading if the loss limit is reached.
Closes all positions at the end of the trading session.
Additional Filters:
RSI Condition: Optional filter to ensure strong trend confirmation.
Volume Filter: Trades only if volume is higher than the 20-period average.
EMA Condition: Optional filter to avoid counter-trend trade
Long Entry/Exit FlagsThis script flags long entry and exit points based on a simple EMA crossover strategy. A green triangle appears when the short EMA crosses above the long EMA (entry), and a red triangle marks when it crosses below (exit). Designed for clean trend-following signals across any timeframe. Alerts are included for both entry and exit conditions.
ICT Breakers (BOS / MSS - Market Structure) [ICTProTools]The Breakers (Market Structure) indicator is designed to help traders identify true breaker structures , a key concept in Inner Circle Trader (ICT) methodology. In market structure, Breakers represent powerful shifts where a key high or low is broken, leading to a reversal in market direction. Most tools misinterpret structure shifts, using internal structure , leading to fake breakouts. This tool solves that problem by filtering out false signals , providing clear & structured insights , all with multi-timeframe compatibility.
💎 Key Features
⚡️ Breakers in action
The indicator shows the structure following ICT instructions. A breaker is defined by two lines:
The first line confirms the previous trend (it could be interpreted as a BOS).
The second line highlights the moment price breaks structure (with candle body or wick based on your chosen settings), signaling a shift in trend direction (like an MSS).
Furthermore, it’s important to note that a breaker not only shows the structure, but also defines a potential Point of Interest (POI), an area where price may retrace before continuing its trend.
Here, we can observe two clear structure shifts.
On the far left, the market was in a bearish trend, illustrated by the first visible (dotted and red) line. Shortly after, the second (solid and green) line appears, showing a break that initiates a new bullish trend.
This upward movement continues, with the last confirmation marked by a top structure line. And finally, the structure is broken once again indicating a transition back into a bearish trend.
💪 Real Structure with True Highs / Lows
Unlike many indicators that detect internal breakouts , this tool follows ICT’s true market structure rules .
In a bearish trend , a bullish breaker is only confirmed when the high that created the low is broken , and conversely for a bullish scenario.
Fake breakouts are ignored, preventing misleading signals.
In the image above, the white breakout is correctly ignored by the indicator, as it doesn't align with ICT’s structural rules. That white high is simply part of the internal structure, not the true swing point. Instead, the green line highlights the key level that truly matters, the one whose rupture would have confirmed a real change in market structure.
🔔 Smart Alerts for Structure Updates
Stay one step ahead with customizable alerts designed to notify you instantly when market structure changes occur.
Get notified for BOS (Continuation) and / or MSS (Breaker) events.
Set alerts for bullish , bearish , or both directions.
Choose between once or repeated alerts , based on your strategy.
This feature allows traders to remain focused and reactive , even when monitoring multiple markets.
In the alert settings, select which structure shifts you want to be notified of. Whether you're a scalper or a swing trader, the alerts keep you connected to key moments without needing to constantly monitor the chart.
⏳ Multi-Timeframe Structure
All features of the indicator are fully compatible with higher timeframes .
Get a broader view of market structure without switching timeframes.
Monitor higher timeframe structures and receive alerts, all without leaving your analysis chart .
In this example, the market structure of the 30m timeframe is displayed while on a 5m chart, providing a clearer perspective.
✨ Customization & User Control
Make it yours! The indicator allows full customization:
Swing bars (to confirm high / low)
Select your mode for Breakers (MSS) , using the candle body only or body / wick
Line style (type, width, color)
Choice of displayed timeframe
Activate any alert , with the frequency you want
🎯 Conclusion
✅ Avoid false signals by focusing on true ICT Breakers
✅ Smart alerts to never miss a structural shift
✅ Multi-timeframe support for enhanced analysis
✅ Clean & professional design for an optimal trading experience
gMan Confirmed PivotsYet another pivot point indicator! But this indicator paints the pivots in white initially, and changes them to green/red upon confirmation.
Straggling higher and lower + FIBOSimple indicator displaying straggling higher and lower and fibonacci levels to optimize the buy point and stoploss.
Defaut value use for 5sec timeframe
Enjoy
Correlation TableThis indicator displays a vertical table that shows the correlation between the asset currently loaded on the chart and up to 32 selected trading pairs. It offers the following features:
Chart-Based Correlation: Correlations are calculated based on the asset you have loaded in your chart, providing relevant insights for your current market focus.
Configurable Pairs: Choose from a list of 32 symbols (e.g., AUDUSD, EURUSD, GBPUSD, etc.) with individual checkboxes to include or exclude each pair in the correlation analysis.
Custom Correlation Length: Adjust the lookback period for the correlation calculation to suit your analysis needs.
Optional EMA Smoothing: Enable an Exponential Moving Average (EMA) on the price data, with a configurable EMA length, to smooth the series before calculating correlations.
Color-Coded Output: The table cells change color based on the correlation strength and direction—neutral, bullish (green), or bearish (red)—making it easy to interpret at a glance.
Clear Table Layout: The indicator outputs a neatly organized vertical table with headers for "Pair" and "Correlation," ensuring the information is displayed cleanly and is easy to understand.
Ideal for traders who want a quick visual overview of how different instruments correlate with their current asset, this tool supports informed multi-asset analysis
ITALIANO:
Questo indicatore visualizza una tabella verticale che mostra la correlazione tra l'asset attualmente caricato sul grafico e fino a 32 coppie di trading selezionate. Offre le seguenti funzionalità:
Correlazione basata sul grafico: le correlazioni vengono calcolate in base all'asset caricato nel grafico, fornendo informazioni pertinenti per il tuo attuale focus di mercato.
Coppie configurabili: scegli da un elenco di 32 simboli (ad esempio, AUDUSD, EURUSD, GBPUSD, ecc.) con caselle di controllo individuali per includere o escludere ciascuna coppia nell'analisi della correlazione.
Lunghezza di correlazione personalizzata: regola il periodo di lookback per il calcolo della correlazione in base alle tue esigenze di analisi.
Smoothing EMA opzionale: abilita una media mobile esponenziale (EMA) sui dati dei prezzi, con una lunghezza EMA configurabile, per smussare la serie prima di calcolare le correlazioni.
Output codificato a colori: le celle della tabella cambiano colore in base alla forza e alla direzione della correlazione, neutra, rialzista (verde) o ribassista (rosso), rendendola facile da interpretare a colpo d'occhio.
Clear Table Layout: l'indicatore genera una tabella verticale ordinatamente organizzata con intestazioni per "Coppia" e "Correlazione", assicurando che le informazioni siano visualizzate in modo chiaro e siano facili da comprendere.
Ideale per i trader che desiderano una rapida panoramica visiva di come diversi strumenti siano correlati con il loro asset corrente, questo strumento supporta un'analisi multi-asset informata
Ichimoku Cloud"Script enhanced with negative values. In addition to the standard Lagging Span line settings, negative values have been added which, when set to -9, -26, -52, suggest when to exit short positions in the short, medium, and long term."
Stacked EMA Candle Colors - Enhanced📊 Stacked EMA Candle Colors – Trend Strength Visualizer
Description:
🚀 Overview:
The Stacked EMA Candle Colors – Trend Strength Visualizer is a simple yet powerful indicator that helps traders identify market trends using Exponential Moving Averages (EMAs). By dynamically coloring candles based on the strength and alignment of multiple EMAs, this tool makes it easier to spot bullish and bearish trends at a glance, without cluttering your chart with multiple EMA lines.
🔹 Key Features:
✅ Four Customizable EMA lengths (adjust in settings)
✅ Candles change color based on EMA stacking (adjustable)
✅ Four-part gradient-based strength visualization for momentum confirmation (adjustable)
✅ Works on all timeframes and asset classes
🎨 How It Works:
When shorter EMAs (e.g., 9, 21) are above longer EMAs (e.g., 50, 200), the trend is bullish, and candles turn green/lime based on momentum strength.
When shorter EMAs are below longer EMAs, the trend is bearish, and candles turn red/pink depending on trend intensity.
If no clear trend is detected, candles remain gray for neutrality.
📈 Ideal for:
✔️ Trend traders who want a clear visual representation of momentum
✔️ Scalpers, day traders, and swing traders looking for quick trend confirmation
✔️ Anyone who wants to enhance their chart readability
🔧 Customization:
Easily adjust the EMA periods in the settings menu to fit your preferred trading strategy!
🚀 Add this indicator to your TradingView chart and spot trends with confidence!
Trendline Breaks with Multi Fibonacci Supertrend StrategyTMFS Strategy: Advanced Trendline Breakouts with Multi-Fibonacci Supertrend
Elevate your algorithmic trading with institutional-grade signal confluence
Strategy Genesis & Evolution
This advanced trading system represents the culmination of a personal research journey, evolving from my custom " Multi Fibonacci Supertrend with Signals " indicator into a comprehensive trading strategy. Built upon the exceptional trendline detection methodology pioneered by LuxAlgo in their " Trendlines with Breaks " indicator, I've engineered a systematic framework that integrates multiple technical factors into a cohesive trading system.
Core Fibonacci Principles
At the heart of this strategy lies the Fibonacci sequence application to volatility measurement:
// Fibonacci-based factors for multiple Supertrend calculations
factor1 = input.float(0.618, 'Factor 1 (Weak/Fibonacci)', minval = 0.01, step = 0.01)
factor2 = input.float(1.618, 'Factor 2 (Medium/Golden Ratio)', minval = 0.01, step = 0.01)
factor3 = input.float(2.618, 'Factor 3 (Strong/Extended Fib)', minval = 0.01, step = 0.01)
These precise Fibonacci ratios create a dynamic volatility envelope that adapts to changing market conditions while maintaining mathematical harmony with natural price movements.
Dynamic Trendline Detection
The strategy incorporates LuxAlgo's pioneering approach to trendline detection:
// Pivotal swing detection (inspired by LuxAlgo)
pivot_high = ta.pivothigh(swing_length, swing_length)
pivot_low = ta.pivotlow(swing_length, swing_length)
// Dynamic slope calculation using ATR
slope = atr_value / swing_length * atr_multiplier
// Update trendlines based on pivot detection
if bool(pivot_high)
upper_slope := slope
upper_trendline := pivot_high
else
upper_trendline := nz(upper_trendline) - nz(upper_slope)
This adaptive trendline approach automatically identifies key structural market boundaries, adjusting in real-time to evolving chart patterns.
Breakout State Management
The strategy implements sophisticated state tracking for breakout detection:
// Track breakouts with state variables
var int upper_breakout_state = 0
var int lower_breakout_state = 0
// Update breakout state when price crosses trendlines
upper_breakout_state := bool(pivot_high) ? 0 : close > upper_trendline ? 1 : upper_breakout_state
lower_breakout_state := bool(pivot_low) ? 0 : close < lower_trendline ? 1 : lower_breakout_state
// Detect new breakouts (state transitions)
bool new_upper_breakout = upper_breakout_state > upper_breakout_state
bool new_lower_breakout = lower_breakout_state > lower_breakout_state
This state-based approach enables precise identification of the exact moment when price breaks through a significant trendline.
Multi-Factor Signal Confluence
Entry signals require confirmation from multiple technical factors:
// Define entry conditions with multi-factor confluence
long_entry_condition = enable_long_positions and
upper_breakout_state > upper_breakout_state and // New trendline breakout
di_plus > di_minus and // Bullish DMI confirmation
close > smoothed_trend // Price above Supertrend envelope
// Execute trades only with full confirmation
if long_entry_condition
strategy.entry('L', strategy.long, comment = "LONG")
This strict requirement for confluence significantly reduces false signals and improves the quality of trade entries.
Advanced Risk Management
The strategy includes sophisticated risk controls with multiple methodologies:
// Calculate stop loss based on selected method
get_long_stop_loss_price(base_price) =>
switch stop_loss_method
'PERC' => base_price * (1 - long_stop_loss_percent)
'ATR' => base_price - long_stop_loss_atr_multiplier * entry_atr
'RR' => base_price - (get_long_take_profit_price() - base_price) / long_risk_reward_ratio
=> na
// Implement trailing functionality
strategy.exit(
id = 'Long Take Profit / Stop Loss',
from_entry = 'L',
qty_percent = take_profit_quantity_percent,
limit = trailing_take_profit_enabled ? na : long_take_profit_price,
stop = long_stop_loss_price,
trail_price = trailing_take_profit_enabled ? long_take_profit_price : na,
trail_offset = trailing_take_profit_enabled ? long_trailing_tp_step_ticks : na,
comment = "TP/SL Triggered"
)
This flexible approach adapts to varying market conditions while providing comprehensive downside protection.
Performance Characteristics
Rigorous backtesting demonstrates exceptional capital appreciation potential with impressive risk-adjusted metrics:
Remarkable total return profile (1,517%+)
Strong Sortino ratio (3.691) indicating superior downside risk control
Profit factor of 1.924 across all trades (2.153 for long positions)
Win rate exceeding 35% with balanced distribution across varied market conditions
Institutional Considerations
The strategy architecture addresses execution complexities faced by institutional participants with temporal filtering and date-range capabilities:
// Time Filter settings with flexible timezone support
import jason5480/time_filters/5 as time_filter
src_timezone = input.string(defval = 'Exchange', title = 'Source Timezone')
dst_timezone = input.string(defval = 'Exchange', title = 'Destination Timezone')
// Date range filtering for precise execution windows
use_from_date = input.bool(defval = true, title = 'Enable Start Date')
from_date = input.time(defval = timestamp('01 Jan 2022 00:00'), title = 'Start Date')
// Validate trading permission based on temporal constraints
date_filter_approved = time_filter.is_in_date_range(
use_from_date, from_date, use_to_date, to_date, src_timezone, dst_timezone
)
These capabilities enable precise execution timing and market session optimization critical for larger market participants.
Acknowledgments
Special thanks to LuxAlgo for the pioneering work on trendline detection and breakout identification that inspired elements of this strategy. Their innovative approach to technical analysis provided a valuable foundation upon which I could build my Fibonacci-based methodology.
This strategy is shared under the same Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license as LuxAlgo's original work.
Past performance is not indicative of future results. Conduct thorough analysis before implementing any algorithmic strategy.
US Day Session Previous OHLCThis indicator is designed for US Market,
which shows the previous day session OHLC.
** Work ONLY in 1/3/5/15/30 minutes timeframe
** Default: Daylight Saving Time (DST)
** Untick the DST checkbox for Winter Time
33 EMA Crossover StrategyBuy/Sell at crossover of 33 day EMA. below 33 day EMA Look for and take short positions. above 33 day EMA Look for and take Long positions
Multi EMA Cloud (13, 48, 200 EMAs)WORKS BEST ON THE 2 MIN
you’ll see the bullish and bearish areas filled based on the interaction between the 13 EMA and the 48 EMA,
The color changes help traders quickly identify trend shifts and potential trade opportunities.
This indicator is great for trend-following traders who want a visual representation of momentum shifts for better entry and exit decisions
leave anything in the comments for suggestions or new indicators to make.
Multi EMA Cloud (Bullish & Bearish)How It Works
1. EMAs Used:
8 EMA (Short-term) → Reacts quickly to price changes
20 EMA (Medium-term) → Provides a smoother trend
50 EMA (Longer-term) → Indicates overall trend direction
200 EMA (Major trend) → Acts as a key long-term support/resistance level
2. Cloud Fills for Trend Strength
Bullish Clouds (Uptrend Confirmation)
Blue Fill: When the 8 EMA is above the 20 EMA → Strong short-term trend
Green Fill: When the 20 EMA is above the 50 EMA → Confirms bullish momentum
Bearish Clouds (Downtrend Confirmation)
Red Fill: When the 8 EMA is below the 20 EMA → Short-term bearish signal
Orange Fill: When the 20 EMA is below the 50 EMA → Confirms downtrend
3. Trading Insights
When the 8 EMA and 20 EMA are stacked above the 50 EMA and 200 EMA, it signals a strong uptrend.
When the 8 EMA and 20 EMA fall below the 50 EMA and 200 EMA, it signals a strong downtrend.
The color changes help traders quickly identify trend shifts and potential trade opportunities.
This indicator is great for trend-following traders who want a visual representation of momentum shifts for better entry and exit decisions
Dynamic Heat Levels [BigBeluga]This indicator visualizes dynamic support and resistance levels with an adaptive heatmap effect. It helps traders identify key price interaction zones and potential mean reversion opportunities by displaying multiple levels that react to price movement.
🔵Key Features:
Multi-Level Heatmap Channel:
- The indicator plots multiple dynamic levels forming a structured channel.
- Each level represents a historical price interaction zone, helping traders identify critical areas.
- The channel expands or contracts based on market conditions, adapting dynamically to price movements.
Heatmap-Based Strength Indication:
- Levels change in transparency and color intensity based on price interactions for the length period .
- The more frequently price interacts with a level, the more visible and intense the color becomes.
- When a level reaches a threshold (count > 10), it starts to turn red, signaling a high-heat zone with significant price activity.
🔵Usage:
Support & Resistance Analysis: Identify price levels where the market frequently interacts, making them strong areas for trade decisions.
Heatmap Strength Assessment: More intense red levels indicate areas with heavy price activity, useful for detecting key liquidity zones.
Dynamic Heat Levels is a powerful tool for traders looking to analyze price interaction zones with a heatmap effect. It offers a structured visualization of market dynamics, allowing traders to gauge the significance of key levels and detect mean reversion setups effectively.
TR FVG & Swing High Low FinderTR FVG & Swing Level Finder
Overview:
The TR FVG & Swing Level Finder is a powerful Pine Script indicator designed for traders who want to identify Fair Value Gaps (FVGs) and Swing Highs/Lows on their charts. This indicator combines two essential technical analysis tools into one, helping traders spot potential areas of support, resistance, and trend reversals. FVGs are price gaps that often act as areas of interest for price to return to, while swing highs and lows help identify key turning points in the market. The indicator is highly customizable, allowing users to adjust colors, limits, and display options to suit their trading style.
Key Features:
1: Fair Value Gap (FVG) Detection:
- Identifies Bullish FVGs: Occur when the high of two candles ago is lower than the low of the current candle, indicating a potential upward price movement.
- Identifies Bearish FVGs: Occur when the low of two candles ago is higher than the high of the current candle, indicating a potential downward price movement.
- Displays FVGs as colored boxes on the chart, with customizable border and fill colors based on the timeframe.
- Labels each FVG box with the corresponding timeframe (e.g., "1m FVG", "1h FVG", "Daily FVG").
2: Swing High and Swing Low Detection:
- Detects Swing Highs: A 3-candle pattern where the middle candle's high is higher than the highs of the candles on either side.
- Detects Swing Lows: A 3-candle pattern where the middle candle's low is lower than the lows of the candles on either side.
- Draws a solid black line with 50% opacity at each swing high and low, extending 5 bars to the right for better visibility.
- Adds a small Swing High or Swing Low label at the right end of each line, colored according to user-defined settings.
3: Timeframe-Specific FVG Visualization:
- FVGs are color-coded based on the chart's timeframe, making it easy to distinguish between FVGs on different timeframes.
- Each timeframe has its own fill color for bullish and bearish FVGs, with adjustable transparency for better chart clarity.
- A dashed black line is drawn in the middle of each FVG box to highlight the midpoint of the gap.
4: Customizable Display Options:
- FVG Limit: Control the maximum number of FVGs displayed on the chart (from 1 to 20).
- Extend Options for FVG Boxes:
- "None": FVG boxes extend only 2 bars to the right.
- "Limited": FVG boxes extend a user-defined number of candles to the right (1 to 100 candles).
- "Default": FVG boxes extend 3 bars to the right of the current bar.
- Color Customization:
- Set border colors for bullish and bearish FVGs.
- Adjust fill colors for FVGs on different timeframes (1m, 5m, 15m, 30m, 1h, 4h, Daily, Weekly, Monthly).
- Customize the colors of swing high and swing low labels.
5: Performance Optimization:
- The indicator only plots FVGs and swings on the last confirmed bar (barstate.islastconfirmedhistory), ensuring efficient performance and reducing chart clutter.
- Limits the number of displayed FVGs and swings to the user-defined fvgLimit, keeping the chart clean and focused on the most recent price action.
6: Inputs and Customization:
- Number of FVGs to Show (fvgLimit): Set the maximum number of FVGs and swings to display (default: 3, range: 1 to 20).
- Bullish FVG Border Color (bullishColor): Choose the border color for bullish FVGs (default: green).
- Bearish FVG Border Color (bearishColor): Choose the border color for bearish FVGs (default: red).
- Swing High Color (swingHighColor): Set the color for swing high labels (default: blue).
- Swing Low Color (swingLowColor): Set the color for swing low labels (default: purple).
- Extend Options:
- Extend Option (extendOption): Choose how far FVG boxes extend to the right ("None", "Limited", or "Default"; default: "Default").
- Extend Candles (extendCandles): If "Limited" is selected, specify the number of candles to extend FVG boxes (default: 8, range: 1 to 100).
- Timeframe-Specific Fill Colors:
- Customize fill colors for bullish and bearish FVGs on various timeframes (1m, 5m, 15m, 30m, 1h, 4h, Daily, Weekly, Monthly).
- Each fill color has a default transparency (e.g., 93% for most timeframes, 90% for 30m), which can be adjusted as needed.
How to Use:
1: Add the Indicator to Your Chart:
- Open TradingView, go to the Pine Editor, and paste the script.
- Click "Add to Chart" to apply the indicator to your current chart.
2: Adjust Settings:
- Open the indicator settings by clicking the gear icon next to the indicator name on your chart.
- Modify the inputs to suit your preferences:
- Set the number of FVGs and swings to display.
- Choose your preferred colors for FVGs and swings.
- Adjust the extend options for FVG boxes.
3: Interpret the Indicator:
- FVG Boxes: Look for colored boxes on the chart, which represent Fair Value Gaps. Bullish FVGs (green borders by default) suggest potential buying opportunities, while bearish FVGs (red borders by default) suggest potential selling opportunities. The label inside each box indicates the timeframe of the FVG.
- Swing Highs and Lows: Identify key turning points with solid black lines (50% opacity) at swing highs and lows. Each line extends 5 bars to the right, with an "SH" (Swing High) or "SL" (Swing Low) label at the end. Swing highs can act as resistance levels, while swing lows can act as support levels.
4: Combine with Your Strategy:
- Use FVGs to identify areas where price might return to fill the gap, often acting as support or resistance.
- Use swing highs and lows to spot potential trend reversals or to set stop-loss and take-profit levels.
- Combine the indicator with other tools (e.g., trendlines, moving averages) for a more comprehensive trading strategy.
Notes:
- The indicator works on all timeframes, but the appearance of FVGs and swings will vary depending on the chart's timeframe.
- For best results, use the indicator on a clean chart to avoid visual clutter, especially if you increase the fvgLimit.
- The swing high/low lines are drawn with 50% opacity to ensure they don’t overpower other chart elements, but they are still clearly visible.
Author’s Note:
This script was developed to help traders identify key price levels with ease. I hope it adds value to your trading! If you have any feedback or suggestions for improvement, feel free to leave a comment. Happy trading!
Exact Dynamic Yield SpreadYield Spread Overlay
"Yield Spread Overlay" is an indicator that displays the yield spread between two currencies based on their respective 10-year bond yields. It overlays directly onto the Forex chart, allowing real-time visualization of the relationship between the yield spread and the currency pair's price movements.
This indicator saves time by avoiding the manual addition of bond yields. Unlike manual methods, it supports smaller timeframes (1h, 4h, etc.), making it particularly useful.
Several customization options are available to suit individual preferences:
Custom Display: Adjust the line thickness and color.
Scale Position: Choose between displaying the scale on the right or left side of the chart.
This indicator helps traders better understand currency relationships and can serve as an additional tool within a Forex trading strategy.
All feedback, suggestions, and critiques—positive or negative—are welcome to continually improve this tool.
NY Midnight Strategy with Advanced OptionsThe purpose of this script was originally to test one of ICT 's statements and check where it works best. In this case it was to set positions towards the direction of the New York midnight opening price inside ICT Killzones .
The default settings of this script work best with S&P E-mini futures (ES!), but can work just as well with other instruments. Often the parameters need to be adjusted.
To see results, use the 1h chart in the Tradingview strategy tester.
SuperTrend AI (Clustering) [LuxAlgo] - 15minThis strategy is update version for 15 mins trading and reduce the noise / whipswas.
9 & 15 EMA Scalping StrategyScalping Strategy on 9 & 15 EMA
📌 How to Use This Script
Copy & Paste into TradingView’s Pine Editor.
Click "Add to Chart" to apply it.
Set Alerts to get notified of trade signals.
Adjust Risk-Reward Ratio (1:1.5 default) & ATR-based SL if needed.
📌 Features of This Script
✅ Clear Buy/Sell Entries after confirmation
✅ Dynamic Stop-Loss using ATR for better risk management
✅ Take-Profit set to 1:1.5 RR by default (adjustable)
✅ Alerts for automated notifications
Would you like any modifications, such as higher timeframe confirmation? 🚀
You said:
add this script to your created 9 15 ema scalping strategy combine it
ChatGPT said:
Here's your complete 9 & 15 EMA Scalping Strategy combined with the TradingView Pine Script for easy execution. 🚀
It includes:
✅ Buy/Sell rules for scalping
✅ TradingView Pine Script with proper arguments
✅ Entry after candle closes above/below EMAs
✅ Stop-loss & take-profit (1:1.5 RR)
✅ Alerts for trade signals
📌 9 & 15 EMA Scalping Strategy
🔹 Timeframe:
📌 1-minute / 3-minute (for scalping)
🔹 Indicators Required:
✅ 9 EMA (Fast EMA)
✅ 15 EMA (Slow EMA)
✅ ATR (for stop-loss calculation)
✅ Support & Resistance (Optional for confluence)
🟢 Buy Side (Long Entry)
1️⃣ 9 EMA crosses above 15 EMA (Bullish crossover).
2️⃣ Price closes above both EMAs (Confirmation).
3️⃣ Enter BUY on next candle open after confirmation.
4️⃣ Stop-loss: Below recent swing low OR 1x ATR below entry.
5️⃣ Take-profit: 1:1.5 risk-reward ratio.
6️⃣ Exit: When 9 EMA crosses below 15 EMA.
🔴 Sell Side (Short Entry)
1️⃣ 9 EMA crosses below 15 EMA (Bearish crossover).
2️⃣ Price closes below both EMAs (Confirmation).
3️⃣ Enter SELL on next candle open after confirmation.
4️⃣ Stop-loss: Above recent swing high OR 1x ATR above entry.
5️⃣ Take-profit: 1:1.5 risk-reward ratio.
6️⃣ Exit: When 9 EMA crosses above 15 EMA.