Ultimate iFVG SuiteThis is a combined indicator of:
ICT Killzones + Pivots by tradeforopp
Marks FVGs by MarkTools
and my own custom indicator that automatically marks out the 50% of the daily range from the high and low at the 6pmEST open to current time. Dynamically updating as the day progresses.
This line is a solid yellow line with no way to customize it because I am too lazy to adjust the code.
Only works on the 30s - M15 timeframes
Indikator dan strategi
Volume Profile With HVN & LVN detectorVolume Profile Indicator
Based on the works of tradeforopp
Overview
The Volume Profile Indicator is a powerful technical analysis tool that visually represents the distribution of trading volume over price levels within a specified timeframe. It helps traders identify key support and resistance zones, high-volume trading areas, and low-volume rejection zones. The indicator includes customizable settings for Volume Point of Control (VPOC), High Volume Nodes (HVNs), and Low Volume Nodes (LVNs), making it a versatile tool for price action analysis and volume-based decision-making.
Key Features
🔹 Customizable Volume Profile
Adjustable number of rows to define the resolution of the volume profile.
Configurable timeframe aggregation for profile calculation (e.g., Daily, Weekly).
Selectable price resolution timeframe for precise profile construction.
Extendable volume profile for future sessions.
Fully customizable profile color and transparency settings.
🔹 Volume Point of Control (VPOC)
Displays the most traded price level within the selected timeframe.
Option to extend multiple VPOCs across the chart.
Adjustable VPOC line width and color customization.
Option to display VPOC labels when working with higher timeframe profiles.
🔹 High Volume Nodes (HVNs)
Identifies high-volume price levels where significant trading activity has occurred.
Configurable HVN strength to adjust detection sensitivity.
Two display modes:
Lines: Plots HVN levels as horizontal lines.
Areas: Highlights HVN regions with colored boxes.
Separate bullish and bearish HVN color settings.
🔹 Low Volume Nodes (LVNs)
Identifies low-volume price levels, which often act as rejection zones.
Configurable LVN strength to fine-tune detection.
Two display modes:
Lines: Marks LVN levels as horizontal lines.
Areas: Highlights LVN regions with shaded boxes.
Separate bullish and bearish LVN color settings.
🔹 Optimized for Performance
Efficient use of arrays for data storage and retrieval.
Global functions for HVN and LVN detection.
Uses security calls to access lower timeframe price and volume data.
Use Cases
✅ Identify Support & Resistance Levels
The indicator highlights key price levels where significant buying or selling interest exists.
✅ Detect Breakout & Reversal Zones
Low-volume areas (LVNs) often indicate price rejection zones, while high-volume areas (HVNs) suggest strong price acceptance zones.
✅ Improve Trade Entries & Exits
Traders can use the Volume Point of Control (VPOC) and volume clusters to refine entry and exit points.
✅ Enhance Price Action Strategies
By incorporating volume-based analysis, this indicator provides deeper market insights beyond traditional support/resistance and trendlines.
Customization & Settings
📌 Volume Profile Settings:
Rows: Defines the granularity of the volume profile.
Profile Timeframe: Specifies the aggregation period (e.g., Daily, Weekly).
Resolution Timeframe: Determines the price resolution for volume analysis.
Profile Extend %: Controls how much the profile extends into the next session.
📌 Volume Point of Control (VPOC):
Enable/Disable VPOC visualization.
Extend past VPOC levels to the right.
Display VPOC labels for higher timeframe profiles.
Adjustable VPOC line width and color.
📌 High Volume Nodes (HVNs):
Enable/Disable HVN detection.
Define HVN strength (volume threshold).
Choose between Line Mode or Area Mode.
Configure bullish and bearish HVN colors.
📌 Low Volume Nodes (LVNs):
Enable/Disable LVN detection.
Define LVN strength (volume threshold).
Choose between Line Mode or Area Mode.
Configure bullish and bearish LVN colors.
kurd fx Dynamic EMA StrategyDynamic EMA Strategy Explanation
This TradingView Pine Script indicator, "Dynamic EMA Strategy," is designed to plot Exponential Moving Averages (EMAs) dynamically based on the selected timeframe. It adjusts the EMA periods depending on whether the trader is scalping, swing trading, or position trading.
Functionality
1. Defining EMA Periods Based on Timeframe
The script determines appropriate EMA values based on the selected chart timeframe:
Scalping (1m, 3m, 5m)
Uses EMA 9, EMA 21, and EMA 50 for fast-moving market conditions.
Swing Trading (15m, 30m, 45m)
Uses EMA 50 and EMA 100, suitable for medium-term trend identification.
EMA 3 is disabled (na) in this mode.
Position Trading (1H and higher)
Uses EMA 100 and EMA 200 to identify long-term trends.
EMA 3 is disabled (na) in this mode.
2. EMA Calculation
The script calculates EMA values dynamically:
emaLine1 = ta.ema(close, ema1): Computes the first EMA.
emaLine2 = ta.ema(close, ema2): Computes the second EMA.
emaLine3 = not na(ema3) ? ta.ema(close, ema3) : na: Computes the third EMA only if applicable.
3. Plotting the EMAs
The script overlays the EMAs on the chart:
Blue Line (EMA 1) → Represents the fastest EMA.
Orange Line (EMA 2) → Represents the medium EMA.
Red Line (EMA 3) → Represents the slowest EMA (if applicable).
Each EMA is plotted using plot() with a specific color, linewidth of 2, and plot.style_line for a clean visualization.
Use Case
Scalpers can identify short-term momentum changes.
Swing traders can detect medium-term trends.
Position traders can spot long-term market trends.
This strategy helps traders adjust their EMA settings dynamically without manually changing them for different timeframes.
Drawings_publicLibrary "Drawings_public"
: Functions to manage drawings on the chart
extend_line(lineId, labelId)
: Extend specific line with its label
Parameters:
lineId (line)
labelId (label)
update_line_coordinates(lineId, labelId, x1, y1, x2, y2)
: Update specific line coordinates with its label
Parameters:
lineId (line)
labelId (label)
x1 (int)
y1 (float)
x2 (int)
y2 (float)
update_label_coordinates(labelId, value)
: Update coordinates of a label
Parameters:
labelId (label)
value (float)
delete_line(lineId, labelId)
: Delete specific line with its label
Parameters:
lineId (line)
labelId (label)
update_box_coordinates(boxId, labelId, left, top, right, bottom)
: Update specific box coordinates with its label
Parameters:
boxId (box)
labelId (label)
left (int)
top (float)
right (int)
bottom (float)
delete_box(boxId, labelId)
: Delete specific box with its label
Parameters:
boxId (box)
labelId (label)
Volume Metrics & Market CapitalizationThis Pine Script indicator provides a comparative view of volume metrics and market capitalization to help traders analyze relative volume strength in the context of a stock’s overall size.
Key Features:
Volume Formatting:
Converts numerical values into readable units (K for thousand, M for million, B for billion, T for trillion).
Volume Metrics:
Displays current bar volume, cumulative daily volume, and 30-day average volume.
Market Capitalization Calculation:
Uses the outstanding shares multiplied by closing price to estimate market cap.
Table Display:
Shows all these values in an easy-to-read table in the bottom-right of the chart.
How It Helps Compare Relative Volume to Market Cap
Relative Volume Strength
By comparing current volume and 30-day average volume, traders can quickly gauge if today’s volume is unusually high or low.
If daily volume exceeds the 30-day average, it suggests increased market interest in the stock.
Market Cap Context
Market cap provides a reference for whether a stock is large-cap, mid-cap, or small-cap, influencing how volume should be interpreted.
A high volume surge in a low market cap stock may indicate stronger momentum compared to the same volume change in a large-cap stock.
Liquidity and Volatility Signals
Comparing volume to market cap helps determine liquidity—stocks with low market cap but high volume may be more volatile.
Example: A small-cap stock with $50M market cap trading $20M daily volume is seeing 40% turnover, a significant indicator of strong movement.
Practical Use Case
Day Traders: Spot stocks experiencing unusual volume surges relative to their market cap, identifying potential breakout or momentum plays.
Swing Traders: Assess if a stock is trading at above-average volume levels, confirming strength in trends.
Investors: Understand liquidity and potential institutional interest in stocks, as larger players typically trade in high market-cap names with sustained volume.
This indicator is a quick-glance tool for identifying high-volume stocks relative to their size, helping traders make more informed decisions on potential opportunities. 🚀
Custom MA CrossoverThis is a MA crossover indicator. The 2 MAs can be customized to your own preference. The screen shot shows the MA short 1 period yellow and the long MA 20 period purple.
You can adjust the line thickness, color, labels, label color also the font color in the buy sell label.
Wait for the candle to close after it crosses. Set your stop at the opposite side of the crossing candle. Take profit as you see fit. Some people take profit when the MA crosses back over. I would trail a stop and try to extract as much profit as possible off the primary push. Still others may let the crossover ride all day.
As you can see you'll get stopped out like any other strategy but if you choose a relatively short candle crossing your stop loss will be relatively small. Adjust the moving averages to your style of trading.
Easy Peazy Lemon Squeazy!!!!
Monthly H/L Cross AlertCreate alerts for when price crosses the previous month's high and low.
You also have the option of plotting the monthly high and low the lower time frame charts.
A Dũng sport RSI PK tăng giảm + biên 10-20-80-90Em Đoàn Ánh Dương
fb: https://www.( )facebook.com/anh.duong151199 ( bỏ ngoặc )
code tặng anh Dũng Sport chỉ báo RSI PK tăng giảm + biên 10-20-80-90
Candles Fully Outside Bollinger BandsHow This Script Works
✅ Triggers an alert when a 1-hour candle closes above the upper Bollinger Band or below the lower Bollinger Band.
✅ Highlights the candle in green if it closes above the upper BB and red if it closes below the lower BB.
✅ Plots the Bollinger Bands for reference.
Dynamic Support and ResistanceThis script tracks the highs and the lows and plots an editable line on your chart. It also shows the highs and lows of the past candles.
RSI Tops and Bottoms with AlertsBased on RSI Tops and Bottoms from @LonesomeTheBlue - but added alerts for RSI crossing the bands.
FVG Radar [Mr_Rakun]The FVG Radar indicator is designed to automatically detect Fair Value Gaps (FVG) on your TradingView chart. It visually highlights bullish and bearish gaps with colored boxes and provides alerts when specific conditions are met.
How It Works
Fair Value Gap (FVG) Detection:
The script identifies gaps based on previous price action. A bullish FVG is recognized when there is a gap below a higher low candle, and a bearish FVG when there is a gap above a lower high candle.
Radar Area:
A yellow “Radar Area” box is drawn on the chart using upper and lower bands defined as a percentage above and below the current price. This area helps you visualize where the price is relative to these bands.
Alerts:
Alerts are triggered based on user-defined conditions:
When price crosses half of the gap (if the "Clear FVG When Price Reaches Half" option is enabled).
When price fully fills the gap (if the option is disabled).
The alert will only be activated after waiting a specified number of bars post-gap formation (as set by the "Wait X Bars After FVG Formation" parameter).
Input Parameters
Radar Upper Band (%):
Sets the upper threshold percentage relative to the current price for the radar area.
Radar Lower Band (%):
Sets the lower threshold percentage relative to the current price for the radar area.
Minimum FVG Size (%):
Determines the minimum size (as a percentage) for a gap to be recognized as a valid FVG.
Clear FVG When Price Reaches Half:
If enabled, the FVG will be cleared when the price reaches the midpoint of the gap. If disabled, the entire gap must be filled before it is cleared.
Wait X Bars After FVG Formation:
Specifies the number of bars to wait after an FVG is detected before triggering an alert. This delay helps to avoid premature alerts.
Bullish and Bearish FVG Colors and Opacity:
Customize the appearance of the FVG boxes for bullish (green) and bearish (red) gaps, including the opacity of these visual elements.
How to Use
Add the Indicator:
Load the FVG Radar indicator on your TradingView chart.
Customize Settings:
Adjust the input parameters based on your trading style and the market’s volatility. The radar area settings help you set your own visual reference for price deviations.
Monitor the Chart:
Watch for the colored boxes that represent FVGs. The boxes will display the size of the gap as a percentage.
Respond to Alerts:
When an alert is triggered after the specified number of bars, it indicates that the price has interacted with the gap. Use this information to guide your trading decisions.
Türkçe --------------------------------------------
FVG Radar göstergesi, TradingView grafiğinizde Fair Value Gap (FVG) – yani adil değer boşluklarını – otomatik olarak tespit etmek için tasarlanmıştır. Bu boşluklar, yükseliş ve düşüş boşluklarını farklı renkli kutularla vurgular ve belirli koşullar sağlandığında uyarılar verir.
Nasıl Çalışır
Fair Value Gap (FVG) Tespiti:
Gösterge, önceki fiyat hareketlerine dayalı olarak boşlukları belirler. Yükseliş boşluğu, düşük seviyenin yukarıdaki mumun altındaki boşlukla oluştuğu durumlarda; düşüş boşluğu ise, yüksek seviyenin aşağıdaki mumun üstünde boşluk oluştuğunda tespit edilir.
Radar Alanı:
Grafikte, mevcut fiyata göre belirlenen üst ve alt yüzde bantlarına dayalı olarak sarı renkte “Radar Alanı” kutusu çizilir. Bu alan, fiyatın bu bantlara göre nerede olduğunu görsel olarak anlamanıza yardımcı olur.
Uyarılar:
Kullanıcının belirlediği koşullara göre uyarılar verilir:
Fiyat, boşluğun yarısına ulaştığında (eğer "FVG'nin yarısına ulaştığında temizle" seçeneği etkinse).
Fiyat boşluğu tamamen doldurduğunda (seçenek devre dışı bırakıldığında).
Uyarı, boşluk oluşumundan sonra belirlenen bar sayısı kadar bekledikten sonra tetiklenir ("FVG Oluşumundan Sonra X Bar Bekle" parametresi).
Giriş Parametreleri
Radar Upper Band (%):
Mevcut fiyata göre radar alanı için üst eşik yüzdesini ayarlar.
Radar Lower Band (%):
Mevcut fiyata göre radar alanı için alt eşik yüzdesini ayarlar.
Minimum FVG Size (%):
Bir boşluğun geçerli bir FVG olarak tanınabilmesi için gereken minimum boyutu (yüzde olarak) belirler.
FVG'nin yarısına ulaştığında temizle:
Etkinse, fiyat boşluğun orta noktasına ulaştığında boşluk temizlenir. Devre dışı bırakılırsa, boşluğun tamamen doldurulması gerekir.
FVG Oluşumundan Sonra X Bar Bekle:
Bir FVG tespit edildikten sonra uyarı tetiklenmeden önce beklenmesi gereken bar sayısını belirler. Bu gecikme, erken uyarıların önüne geçmeyi amaçlar.
Yükseliş ve Düşüş FVG Renkleri ve Opaklık:
Yükseliş boşlukları (yeşil) ve düşüş boşlukları (kırmızı) için kutuların görünümünü ve opaklığını özelleştirmenize olanak tanır.
Nasıl Kullanılır
Göstergeyi Ekleyin:
FVG Radar göstergesini TradingView grafiğinize ekleyin.
Ayarları Özelleştirin:
Ticaret tarzınıza ve piyasanın oynaklığına göre giriş parametrelerini ayarlayın. Radar alanı ayarları, fiyat sapmalarını kendi görsel referansınızla tanımlamanıza yardımcı olur.
Grafiği İzleyin:
FVG’leri temsil eden renkli kutuları takip edin. Kutular, boşluğun yüzdelik büyüklüğünü gösterecektir.
Uyarılara Tepki Verin:
Belirlenen bar sayısı sonrasında tetiklenen uyarı, fiyatın boşluk ile etkileşime girdiğini gösterir. Bu bilgiyi, ticaret kararlarınızı yönlendirmek için kullanın.
[3Commas] HA & MAHA & MA
🔷What it does: This tool is designed to test a trend-following strategy using Heikin Ashi candles and moving averages. It enters trades after pullbacks, aiming to let profits run once the risk-to-reward ratio reaches 1:1 while securing the position.
🔷Who is it for: It is ideal for traders looking to compare final results using fixed versus dynamic take profits by adjusting parameters and trade direction—a concept applicable to most trading strategies.
🔷How does it work: We use moving averages to define the market trend, then wait for opposite Heikin Ashi candles to form against it. Once these candles reverse in favor of the trend, we enter the trade, using the last swing created by the pullback as the stop loss. By applying the breakeven ratio, we protect the trade and let it run, using the slower moving average as a trailing stop.
A buy signal is generated when:
The previous candle is bearish (ha_bear ), indicating a pullback.
The fast moving average (ma1) is above the slow moving average (ma2), confirming an uptrend.
The current candle is bullish (ha_bull), showing trend continuation.
The Heikin Ashi close is above the fast moving average (ma1), reinforcing the bullish bias.
The real price close is above the open (close > open), ensuring bullish momentum in actual price data.
The signal is confirmed on the closed candle (barstate.isconfirmed) to avoid premature signals.
dir is undefined (na(dir)), preventing repeated signals in the same direction.
A sell signal is generated when:
The previous candle is bullish (ha_bull ), indicating a temporary upward move before a potential reversal.
The fast moving average (ma1) is below the slow moving average (ma2), confirming a downtrend.
The current candle is bearish (ha_bear), showing trend continuation to the downside.
The Heikin Ashi close is below the fast moving average (ma1), reinforcing bearish pressure.
The real price close is below the open (close < open), confirming bearish momentum in actual price data.
The signal is confirmed after the candle closes (barstate.isconfirmed), avoiding premature entries.
dir is undefined (na(dir)), preventing consecutive signals in the same direction.
In simple terms, this setup looks for trend continuation after a pullback, confirming entries with both Heikin Ashi and real price action, supported by moving average alignment to avoid false signals.
If the price reaches a 1:1 risk-to-reward ratio, the stop will be moved to the entry point. However, if the slow moving average surpasses this level, it will become the new exit point, acting as a trailing stop
🔷Why It’s Unique
Easily visualizes the benefits of using risk-to-reward ratios when trading instead of fixed percentages.
Provides a simple and straightforward approach to trading, embracing the "keep it simple" concept.
Offers clear visualization of DCA Bot entry and exit points based on user preferences.
Includes an option to review the message format before sending signals to bots, with compatibility for multi-pair and futures contract pairs.
🔷 Considerations Before Using the Indicator
⚠️Very important: The indicator must be used on charts with real price data, such as Japanese candlesticks, line charts, etc. Do not use it on Heikin Ashi charts, as this may lead to unrealistic results.
🔸Since this is a trend-following strategy, use it on timeframes above 4 hours, where market noise is reduced and trends are clearer. Also, carefully review the statistics before using it, focusing on pairs that tend to have long periods of well-defined trends.
🔸Disadvantages:
False Signals in Ranges: Consolidating markets can generate unreliable signals.
Lagging Indicator: Being based on moving averages, it may react late to sudden price movements.
🔸Advantages:
Trend Focused: Simplifies the identification of trending markets.
Noise Reduction: Uses Heikin Ashi candles to identify trend continuation after pullbacks.
Broad Applicability: Suitable for forex, crypto, stocks, and commodities.
🔸The strategy provides a systematic way to analyze markets but does not guarantee successful outcomes. Use it as an additional tool rather than relying solely on an automated system.
Trading results depend on various factors, including market conditions, trader discipline, and risk management. Past performance does not ensure future success, so always approach the market cautiously.
🔸Risk Management: Define stop-loss levels, position sizes, and profit targets before entering any trade. Be prepared for potential losses and ensure your approach aligns with your overall trading plan.
🔷 STRATEGY PROPERTIES
Symbol: BINANCE:BTCUSDT (Spot).
Timeframe: 4h.
Test Period: All historical data available.
Initial Capital: 10000 USDT.
Order Size per Trade: 1% of Capital, you can use a higher value e.g. 5%, be cautious that the Max Drawdown does not exceed 10%, as it would indicate a very risky trading approach.
Commission: Binance commission 0.1%, adjust according to the exchange being used, lower numbers will generate unrealistic results. By using low values e.g. 5%, it allows us to adapt over time and check the functioning of the strategy.
Slippage: 5 ticks, for pairs with low liquidity or very large orders, this number should be increased as the order may not be filled at the desired level.
Margin for Long and Short Positions: 100%.
Indicator Settings: Default Configuration.
MA1 Length: 9.
MA2 Length: 18.
MA Calculations: EMA.
Take Profit Ratio: Disable. Ratio 1:4.
Breakeven Ratio: Enable, Ratio 1:1.
Strategy: Long & Short.
🔷 STRATEGY RESULTS
⚠️Remember, past results do not guarantee future performance.
Net Profit: +324.88 USDT (+3.25%).
Max Drawdown: -81.18 USDT (-0.78%).
Total Closed Trades: 672.
Percent Profitable: 35.57%.
Profit Factor: 1.347.
Average Trade: +0.48 USDT (+0.48%).
Average # Bars in Trades: 13.
🔷 HOW TO USE
🔸 Adjust Settings:
The default values—MA1 (9) and MA2 (18) with EMA calculation—generally work well. However, you can increase these values, such as 20 and 40, to better identify stronger trends.
🔸 Choose a Symbol that Typically Trends:
Select an asset that tends to form clear trends. Keep in mind that the Strategy Tester results may show poor performance for certain assets, making them less suitable for sending signals to bots.
🔸 Experiment with Ratios:
Test different take profit and breakeven ratios to compare various scenarios—especially to observe how the strategy performs when only the trade is protected.
🔸This is an example of how protecting the trade works: once the price moves in favor of the position with a 1:1 risk-to-reward ratio, the stop loss is moved to the entry price. If the Slow MA surpasses this level, it will act as a trailing stop, aiming to follow the trend and maximize potential gains.
🔸In contrast, in this example, for the same trade, if we set a take profit at a 1:3 risk-to-reward ratio—which is generally considered a good risk-reward relationship—we can see how a significant portion of the upward move is left on the table.
🔸Results Review:
It is important to check the Max Drawdown. This value should ideally not exceed 10% of your capital. Consider adjusting the trade size to ensure this threshold is not surpassed.
Remember to include the correct values for commission and slippage according to the symbol and exchange where you are conducting the tests. Otherwise, the results will not be realistic.
If you are satisfied with the results, you may consider automating your trades. However, it is strongly recommended to use a small amount of capital or a demo account to test proper execution before committing real funds.
🔸Create alerts to trigger the DCA Bot:
Verify Messages: Ensure the message matches the one specified by the DCA Bot.
Multi-Pair Configuration: For multi-pair setups, enable the option to add the symbol in the correct format.
Signal Settings: Enable whether you want to receive long or short signals (Entry | TP | SL), copy and paste the the messages for the DCA Bots configured.
Alert Setup:
When creating an alert, set the condition to the indicator and choose "alert() function call only.
Enter any desired Alert Name.
Open the Notifications tab, enable Webhook URL, and paste the Webhook URL.
For more details, refer to the section: "How to use TradingView Custom Signals".
Finalize Alerts: Click Create, you're done! Alerts will now be sent automatically in the correct format.
🔷 INDICATOR SETTINGS
MA 1: Fast MA Length
MA 2: Slow MA Length
MA Calc: MA's Calculations (SMA,EMA, RMA,WMA)
TP Ratio: This is the take profit ratio relative to the stop loss, where the trade will be closed in profit.
BE Ratio: This is the breakeven ratio relative to the stop loss, where the stop loss will be updated to breakeven or if the MA2 is greater than this level.
Strategy: Order Type direction in which trades are executed.
Use Custom Test Period: When enabled signals only works in the selected time window. If disabled it will use all historical data available on the chart.
Test Start and End: Once the Custom Test Period is enabled, here you select the start and end date that you want to analyze.
Check Messages: Enable the table to review the messages to be sent to the bot.
Entry | TP | SL: Enable this options to send Buy Entry, Take Profit (TP), and Stop Loss (SL) signals.
Deal Entry and Deal Exit : Copy and paste the message for the deal start signal and close order at Market Price of the DCA Bot. This is the message that will be sent with the alert to the Bot, you must verify that it is the same as the bot so that it can process properly so that it executes and starts the trade.
DCA Bot Multi-Pair: You must activate it if you want to use the signals in a DCA Bot Multi-pair in the text box you must enter (using the correct format) the symbol in which you are creating the alert, you can check the format of each symbol when you create the bot.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.
Time-based Alerts for Trading Windows🌟 Time-based Alerts for Trading Windows 🌐📈
This is a re-uploaded script as the previous one got hidden.
This Time-based Alerts for Trading Windows script is a highly customizable and reliable tool designed to assist traders in managing automated strategies or manually monitoring specific market conditions. Inspired by CrossTrade's Time-based Alert, this script is tailored for those who rely on precise time windows to trigger actions, such as sending webhook signals or managing Expert Advisors (EAs).
Whether you are a scalper, day trader, or algorithmic trader, this script empowers you to stay on top of your trades with fully customizable time-based alerts.
🛠️ Customizable Time Alerts
This indicator allows you to create up to 12 unique time windows by specifying the exact hour and minute for each alert. Each time window corresponds to an individual alert condition, making it perfect for managing trades during specific market sessions or key time periods.
For example:
Alert 1 can be set at 9:30 AM (market open).
Alert 2 can be set at 3:55 PM (just before market close).
Each alert can be toggled on or off in the indicator settings, allowing you to manage alerts without having to reconfigure your script.
You can adjust the colours to fit any colour scheme you like!
🕒 Odd and Even Time Alerts
The script comes with three built-in alert type categories:
Odd Alerts (marked with a green triangle on the chart): These correspond to odd-numbered inputs like Alert 1, Alert 3, Alert 5, and so on.
Even Alerts (marked with a red triangle on the chart): These correspond to even-numbered inputs like Alert 2, Alert 4, Alert 6, and so on.
You can also customize all 12 alerts individually to include a custom alert message
These alerts serve as a convenient way to differentiate between multiple trading strategies or market conditions. You can customize alert messages for odd and even alerts directly from TradingView’s alert panel.
🔗 Webhook Integration for Automation
This script is fully compatible with webhook-based automation. By configuring your alerts in TradingView, you can send signals to trading bots, EAs, or any third-party system. For example, you can:
Turn off an EA at a specific time (e.g., 3:55 PM EST).
Send buy/sell signals to your bot during predefined trading windows.
Simply use TradingView’s alert message editor to format webhook payloads for your automation system.
🌐 Timezone Flexibility
Trading happens across multiple time zones, and this script accounts for that. You can toggle between:
Eastern Time (New York): Ideal for most US-based markets.
Central Time (Exchange): Useful for futures and commodities traders.
This ensures your alerts are always in sync with your preferred time zone, eliminating confusion.
🎨 Visual Indicators
The script plots visual markers directly on your chart to indicate active alerts:
Up Facing Triangles: Represent odd-numbered alerts, providing a quick reference for these time windows.
Down Facing Triangles: Represent even-numbered alerts, helping you track different strategies or conditions.
These visual markers make it easy to see when alerts are triggered, even at a glance.
📈 Practical Use Case
Let’s say you’re trading the USTEC index on a 1-minute chart. You want to:
Turn off your trading bot at 16:55 EST to avoid after-market volatility.
Trigger a re-entry signal at 17:30 EST to capture moves during the Asian session.
Visually monitor these actions on your chart for easy reference.
This script makes it possible with precision alerts and webhook integration. Simply configure the time windows in the settings and set up your alerts in TradingView.
🚨 How to Set Up Alerts
Enable or Disable Alerts: Use the script’s settings to toggle specific alerts on or off as needed.
Set Custom Time Windows: Define the hour and minute for each alert in the settings panel.
Create Alerts in TradingView:
Go to the TradingView alert panel.
Select the condition (e.g., "Odd Time-based Alert (Green)" or "Even Time-based Alert (Red)").
Customize the alert message for webhook integration or personal notification.
Choose the trigger type: Once Per Bar or Once Per Bar Close to keep the alert active.
Integrate with Webhooks: Use the alert message field to format payloads for automation systems like MT4, MT5, or third-party bots.
📋 Key Notes
Alerts can trigger indefinitely if set to "Once Per Bar" or "Once Per Bar Close".
Always ensure the expiration date is set far in the future to avoid unexpected alert deactivation.
Test webhook messages and alert configurations thoroughly before using them in live trading.
This script is a powerful addition to your trading toolbox, offering precision, flexibility, and automation capabilities. Whether you’re turning off an EA, managing trades during market sessions, or automating strategies via webhooks, this script is here to support you.
Start using the Time-based Alerts for Trading Windows today and trade with confidence! 🚀✨
TPO IQ [TradingIQ]Hello Traders!
Introducing "TPO IQ"!
TPO IQ offers a Time Price Opportunity profile with several customization options that packs several related features to help traders navigate the generated profiles!
Features
TPO Profiles
Single Print identification
Initial Balance Identification
Can be anchored to timeframe change
Can be anchored to fixed time interval
Last profile detailed visuals
Customizable value area percentage
POC identification
Mid-point identification
TPO Profiles
A TPO profile is a market profile visualization that details how much time was spent at each price level throughout the time interval.
The image above further explains what a TPO Profile is!
Each letter corresponds to a candlestick. With this information, traders are able to visualize how much time was spent at each price area.
With customizable gradient colors, specifically in this example, blocks colored red are the earliest times in the profile, blocks colored green are in the beginning half of the time midpoint of the profile. Blue blocks represent the first half of the end of the time period, and purple blocks correspond to the end of the time period.
Please note that this form of TPO profile generation will only occur when the most recent profile uses less than 500 alphabet characters! If more than 500 characters are preset, TPO IQ will revert to using labels!
Initial Balance
TPO IQ also identifies the initial balance range and all alphabet characters that form within it!
The image above exemplifies this feature. The initial balance range is denoted by a a neon-blue line, with a blue circle showing the opening price. All characters within the initial balance range are highlighted blue, which is a feature that can be disabled with customizable colors.
POC
TPO IQ also identifies the point of control (POC) of the TPO Profile.
The point of control for the profile is labeled yellow by default, and shows where price spent the most time throughout the time period.
The image above shows the POC for the time period being identified by TPO IQ.
Value Area
TPO IQ also identifies the value area of the profile. A customizable percentage that is 70% by default, the value area of a TPO profile shows where price traded the majority of the time.
The image above further explains this feature. For this example, with the value area percentage being set to 70%, the value area high and value area low show the price zone that prices traded at 70% of the time throughout the profile.
TPO Midpoint
In addition to the POC, the TPO profile midpoint is also identified by TPO IQ.
The TPO midpoint simply corresponds to the middle price between the session's high and low!
Fixed Interval Mode
By default, TPO IQ recalculates every day, but this can also be changed to a customizable session time, such as 4 hours. If 4 hours is selected, then a new TPO profile will be generated every 4 hours.
However, in Fixed Interval mode, a TPO profile will be generated through a user-defined time range, such as 1300-1700.
In the image above, Fixed Interval mode is applied with a time range of 1300-1700 and, consequently, TPO IQ generates a new profile throughout every 1300-1700 time range!
This feature allows traders to specify time ranges of interest to generate TPO profiles for!
TPO Overview Label
The TPO overview label shows key statistics for the TPO profile generated throughout the trading session!
The "TPO Count" statistic shows how many alphabetical letters were generated for the profile, which is an adequate method to determine the session's volatility and price range.
The "Tick Levels" statistic shows how many tick levels were used to create the profile - another method to determine the volatility and price range of the session.
The "Top Letter" statistic shows which letter appears most throughout the profile. In this example, the top letter was "f", which means throughout creation of the profile, the letter "f" appeared the most!
And that's all for now!
If you have any feedback or new feature ideas for TPO IQ please feel free to share them with us!
Thank you traders!
ICT Balanced Price Range - Double FVG with VolumeThis is an FVG indicator combined with volume to identify moments when a sudden volume spike creates a price gap.
Additionally, I've added the ICT Balanced Price Range, which occurs when two opposing FVGs form a connected gap. This gap has a high probability of reversal and is one of the key signs of liquidity sweeps.
Unlike other FVG indicators that filter FVGs based on ATR, average price, or range, I believe such methods lead to overfitting and may not work across multiple pairs with a single setting. Instead, I only filter FVGs when there are consecutive overlapping FVGs.
The indicator includes full functionality:
Candle color customization
FVG line color customization
FVG fill color customization
BPR color customization
Adjustable average volume and volume threshold
Highlighting candles with abnormal volume
Enjoy and make sure to backtest thoroughly before using!
Timeframe Display Table with CustomizationsPlaces a single cell table in the top right of the chart to display the currently viewed timeframe at all times on the chart.
BTIC Range MidpointsThis code analyzes and displays price ranges from 15:15-15:44 ET, the Basis Trade at Index Close session.
It draws horizontal lines showing:
The high of each session
The low of each session
The midpoint (50%) of each session
Connections between different session ranges (50% points between highs and lows)
Key features include:
Works only on 15-minute timeframes or lower
Stores up to 20 days of historical sessions (configurable)
Filters out ranges too far from current price
Color-codes different session ranges
Provides customizable line styles and colors
Labels each range with identifiers
The indicator essentially helps traders identify important price levels from BTIC sessions, which could serve as potential support/resistance areas for future price action.
beanBean's Multi-Instrument Pattern Scanner.
This indicator scans H1 timeframe for specific technical patterns. Here's how each pattern is detected:
PATTERN DETECTION CRITERIA:
1. Hammer
- Body Size: ≤ 30% of total candle length
- Lower Wick: > 50% of total candle length
- Upper Wick: < 20% of total candle length
- Formula:
* bodySize = |close - open|
* upperWick = high - max(open, close)
* lowerWick = min(open, close) - low
* totalLength = high - low
2. Shooting Star
- Body Size: ≤ 30% of total candle length
- Upper Wick: > 50% of total candle length
- Lower Wick: < 20% of total candle length
- Uses same measurements as Hammer but inverted
3. Outside/Inside (OI)
Checks three consecutive bars:
- Outside Bar: Bar2 high ≥ Bar3 high AND Bar2 low ≤ Bar3 low
- Inside Bar: Bar1 high ≤ Bar2 high AND Bar1 low ≥ Bar2 low
Pattern confirms when both conditions are met
4. Bullish/Bearish Umbrella
Checks two consecutive bars:
Bullish:
- Current bar's high ≤ previous bar's high
- Current body high ≤ previous bar's high
- Current body low ≥ previous body high
Bearish:
- Current bar's low ≥ previous bar's low
- Current body low ≥ previous bar's low
- Current body high ≤ previous body low
5. Three Bar Triangle (3BT)
Checks three consecutive bars:
- Current bar's high ≤ max(previous two highs)
- Current bar's low ≥ min(previous two lows)
- Indicates price compression
DISPLAY AND ALERTS:
- Patterns are displayed in real-time in the table
- Multiple patterns can be detected simultaneously
- Pattern detection resets each new H1 candle
CONFIGURATION:
- Each row can be independently configured
- Patterns are checked on H1 timeframe close
- Alert frequency: Once per H1 bar close
Note: All measurements use standard OHLC values from only completed H1 candles.
Tweezer Bull Bear
## Tweezer Patterns Indicator
This indicator detects and displays two candlestick patterns: Tweezer Top (Bearish) and Tweezer Bottom (Bullish).
### Features:
- Detects Tweezer Top and Tweezer Bottom patterns
- Uses SMA for trend detection (customizable)
- Visual indicators: labels and background colors
- Tooltips with pattern explanations
- Configurable alerts
### Tweezer Top (Bearish):
- Occurs in uptrends
- Two-candle pattern: long green followed by red
- Nearly identical highs
- Potential bearish reversal signal
### Tweezer Bottom (Bullish):
- Occurs in downtrends
- Two-candle pattern: long red followed by green
- Nearly identical lows
- Potential bullish reversal signal
### Customization:
- Choose trend detection method: SMA50 or SMA50 + SMA200
- Adjustable label colors
This indicator helps traders identify potential market reversal points with clear visual cues and explanations.
Higher Time Frame Fair Value Gap [ZeroHeroTrading]A fair value gap (FVG) highlights an imbalance area between market participants, and has become popular for technical analysis among price action traders.
A bullish (respectively bearish) fair value gap appears in a triple-candle pattern when there is a large candle whose previous candle’s high (respectively low) and subsequent candle’s low (respectively high) do not fully overlap the large candle. The space between these wicks is known as the fair value gap.
The following script aims at identifying higher timeframe FVG's within a lower timeframe chart. As such, it offers a unique perspective on the formation of FVG's by combining the multiple timeframe data points in the same context.
You can change the indicator settings as you see fit to achieve the best results for your use case.
Features
It draws higher timeframe bullish and bearish FVG's on the chart.
For bullish (respectively bearish) higher timeframe FVG's, it adds the buying (respectively selling) pressure as a percentage ratio of the up (respectively down) volume of the second higher timeframe bar out of the total up (respectively down) volume of the first two higher timeframe bars.
It adds a right extended trendline from the most recent lowest low (respectively highest high) to the top (respectively bottom) of the higher timeframe bullish (respectively bearish) FVG.
It detects and displays higher timeframe FVG's as early as one starts forming.
It detects and displays lower timeframe (i.e. chart's timeframe) FVG's upon confirmation.
It allows for skipping inside first bars when evaluating FVG's.
It allows for dismissing higher timeframe FVG's if there is no update for any period of the chart's timeframe. For instance, this can occur at lower timeframes during low trading activity periods such as extended hours.
Settings
Higher Time Frame FVG dropdown: Selects the higher timeframe to run the FVG detection on. Default is 15 minutes. It must be higher than, and a multiple of, the chart's timeframe.
Higher Time Frame FVG color select: Selects the color of the text to display for higher timeframe FVG's. Default is black.
Show Trend Line checkbox: Turns on/off trendline display. Default is on.
Show Lower Time Frame FVG checkbox: Turns on/off lower timeframe (i.e. chart's timeframe) FVG detection. Default is on.
Show Lower Time Frame FVG color select: Selects the color of the border for lower timeframe (i.e. chart's timeframe) FVG's. Default is white.
Include Inside Bars checkbox: Turns on/off the inclusion of inside first bars when evaluating FVG's. Default is on.
With Consistent Updates checkbox: Turns on/off consistent updates requirement. Default is on.
MA Deviation with Volatility ThresholdsPrice Deviation from MA with Dynamic Thresholds - TradingView Script Description
Overview
The Price Deviation from Moving Average (MA) with Dynamic Thresholds indicator is designed to measure and visualize how far the current price deviates from a chosen moving average (SMA or EMA) in percentage terms. It provides traders with valuable insights into whether the asset is significantly overbought or oversold relative to its historical mean.
One of the standout features of this indicator is its ability to dynamically adjust overbought and oversold thresholds based on historical volatility, making it more adaptable across different asset classes and market conditions.
Key Features
✅ Customizable Moving Average
Choose between Simple Moving Average (SMA) or Exponential Moving Average (EMA).
Adjustable MA period (default: 200).
Select the timeframe for the MA calculation (default: Daily).
✅ Percentage-Based Deviation Measurement
Measures how much the price has deviated from the selected moving average in percentage terms.
Helps to identify extreme price movements relative to historical trends.
✅ Static & Dynamic Overbought/Oversold Thresholds
Static Thresholds: Users can set fixed percentage levels for overbought and oversold conditions (default: ±20%).
Dynamic Thresholds (enabled by default): Automatically adjust based on historical volatility.
Uses standard deviation of price changes over a specified period (default: 200 candles).
Thresholds are calculated as volatility × a user-defined multiplier (default: 10).
✅ Visual Enhancements
Background Highlighting:
Red when the price exceeds the overbought threshold.
Green when the price drops below the oversold threshold.
Area Chart Representation: The deviation is plotted as a filled orange area (30% opacity) to enhance visual clarity.
Zero Line in Yellow: Helps in quickly identifying when the price is near the moving average.
How to Use
📌 Trend Confirmation & Mean Reversion Trading:
If the deviation is consistently positive, it indicates an uptrend, while negative values suggest a downtrend.
If the price significantly deviates from the MA and enters the overbought/oversold zone, a potential mean reversion opportunity may arise.
📌 Volatility-Adaptive Thresholds:
When enabled, dynamic thresholds help to adjust for different asset volatilities.
Suitable for traders dealing with assets that exhibit varying levels of price fluctuations.
📌 Combining with Other Indicators:
Works well with RSI, Bollinger Bands, and MACD to confirm trend strength or potential reversals.
Can be used in conjunction with support & resistance levels for added confirmation.
Customization Options
Moving Average Type: SMA or EMA.
Moving Average Period & Timeframe Selection.
Static Overbought/Oversold Levels.
Dynamic Thresholds:
Toggle ON/OFF.
Set the Lookback Period for volatility calculation.
Adjust the Volatility Multiplier for fine-tuning threshold sensitivity.
Why Use This Indicator?
🔹 Adaptive to Different Markets: Works with stocks, forex, crypto, commodities, and indices.
🔹 Useful for Both Trend-Following & Mean Reversion Strategies.
🔹 Volatility-Based Adjustments Ensure Market-Relevant Thresholds.
🔹 Enhances Market Awareness by Identifying Extreme Price Deviations.
Final Thoughts
The Price Deviation from MA with Dynamic Thresholds indicator is a powerful tool for traders who want to gauge price extremes and identify potential turning points in the market. With both static and dynamic threshold options, it can be tailored to different trading styles and asset behaviors.
💡 Tip: Experiment with different MA types, periods, and volatility multipliers to find settings that best suit your preferred trading strategy. 🚀