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.
การวิเคราะห์ปัจจัยพื้นฐาน
DeadMoney || OrderBlocksСкрипт от DeadMoney автоматически определяет и визуализирует бычьи (Bullish) и медвежьи (Bearish) ордер-блоки на графике.
Он основан на поиске свингов (Swing High/Low) и выделяет прямоугольные зоны, где может быть повышенная активность покупателей или продавцов.
Когда цена пробивает ордер-блок, зона отображается другим цветом и перестаёт считаться актуальной.
Основные параметры
Swing Lookback: определяет, насколько далеко назад идёт поиск свинг-точек.
Bullish OB и Bearish OB: сколько последних бычьих и медвежьих блоков отображать на графике.
Use Candle Body: если включено, логика учитывает тело свечи (open/close) вместо её экстремумов (high/low).
Использование
Добавьте скрипт на график — он автоматически построит ордер-блоки.
Параметры в меню Settings позволяют менять количество отображаемых блоков, глубину поиска свингов и учитывать/игнорировать тела свечей.
Цвета бычьих и медвежьих блоков, а также их «пробитых» состояний можно изменить в разделе Style.
Скрипт предназначен для помощи в техническом анализе, но не даёт гарантий успеха.
Перед использованием обязательно изучите принципы технического анализа и убедитесь что вы понимаете логику работы индикатора а также ордер-блоков.
Автор: DeadMoney
Контакт: @DeadMoneyKrypto (Telegram)
DİNAMİK BEAR VS BULL POWER 2025Bu indikatör şu özelliklere sahiptir:
Dinamik Hesaplama:
Belirtilen periyot içindeki fiyat hareketlerini analiz eder
Yüzdesel değişimleri kullanarak boğa ve ayı güçlerini hesaplar
RSI bazlı momentum faktörü ile değerleri düzeltir
Düzleştirme:
Ani değişimleri yumuşatmak için hareketli ortalama kullanır
Daha stabil sinyaller üretir
Görselleştirme:
Yeşil çizgi: Boğa gücü
Kırmızı çizgi: Ayı gücü
Sağ üst köşede güncel değerleri gösteren tablo
Özellikler:
Değerler 0-100 arasında değişir
Ani geçişler yerine kademeli değişim gösterir
Momentum faktörü ile trend yönünü dikkate alır. YATIRIM TAVSİYESİ NİTELİĞİNDE DEĞİLDİR.TÜM SORUMLULUK SİZE AİTTİR.TEST EDEBİLİRSİNİZ.
Cryptolabs Global Liquidity Cycle Momentum IndicatorCryptolabs Global Liquidity Cycle Momentum Indicator (LMI-BTC)
This open-source indicator combines global central bank liquidity data with Bitcoin price movements to identify medium- to long-term market cycles and momentum phases. It is designed for traders who want to incorporate macroeconomic factors into their Bitcoin analysis.
How It Works
The script calculates a Liquidity Index using balance sheet data from four central banks (USA: ECONOMICS:USCBBS, Japan: FRED:JPNASSETS, China: ECONOMICS:CNCBBS, EU: FRED:ECBASSETSW), augmented by the Dollar Index (TVC:DXY) and Chinese 10-year bond yields (TVC:CN10Y). This index is:
- Logarithmically scaled (math.log) to better represent large values like central bank balances and Bitcoin prices.
- Normalized over a 50-period range to balance fluctuations between minimum and maximum values.
- Compared to prior-year values, with the number of bars dynamically adjusted based on the timeframe (e.g., 252 for 1D, 52 for 1W), to compute percentage changes.
The liquidity change is analyzed using a Chande Momentum Oscillator (CMO) (period: 24) to measure momentum trends. A Weighted Moving Average (WMA) (period: 10) acts as a signal line. The Bitcoin price is also plotted logarithmically to highlight parallels with liquidity cycles.
Usage
Traders can use the indicator to:
- Identify global liquidity cycles influencing Bitcoin price trends, such as expansive or restrictive monetary policies.
- Detect momentum phases: Values above 50 suggest overbought conditions, below -50 indicate oversold conditions.
- Anticipate trend reversals by observing CMO crossovers with the signal line.
It performs best on higher timeframes like daily (1D) or weekly (1W) charts. The visualization includes:
- CMO line (green > 50, red < -50, blue neutral), signal line (white), Bitcoin price (gray).
- Horizontal lines at 50, 0, and -50 for improved readability.
Originality
This indicator stands out from other momentum tools like RSI or basic price analysis due to:
- Unique Data Integration: Combines four central bank datasets, DXY, and CN10Y as macroeconomic proxies for Bitcoin.
- Dynamic Prior-Year Analysis: Calculates liquidity changes relative to historical values, adjustable by timeframe.
- Logarithmic Normalization: Enhances visibility of extreme values, critical for cryptocurrencies and macro data.
This combination offers a rare perspective on the interplay between global liquidity and Bitcoin, unavailable in other open-source scripts.
Settings
- CMO Period: Default 24, adjustable for faster/slower signals.
- Signal WMA: Default 10, for smoothing the CMO line.
- Normalization Window: Default 50 periods, customizable.
Users can modify these parameters in the Pine Editor to tailor the indicator to their strategy.
Note
This script is designed for medium- to long-term analysis, not scalping. For optimal results, combine it with additional analyses (e.g., on-chain data, support/resistance levels). It does not guarantee profits but supports informed decisions based on macroeconomic trends.
Data Sources
- Bitcoin: INDEX:BTCUSD
- Liquidity: ECONOMICS:USCBBS, FRED:JPNASSETS, ECONOMICS:CNCBBS, FRED:ECBASSETSW
- Additional: TVC:DXY, TVC:CN10Y
NUBA 20 Nes2tilson t3 rsı ema50 - 200 Bu algoritma da her türlü çeşit var. tablodan özellikleri açıp kapatabilirsiniz.
Bollinger Bands + RSI Strategy//@version=5
strategy("Bollinger Bands + RSI Strategy", overlay=true,
description="This is a trading strategy based on Bollinger Bands and RSI. The strategy generates buy and sell signals based on price action and market momentum. It buys when the price crosses above the lower Bollinger Band while the RSI is below 30 (indicating oversold conditions). It sells when the price crosses below the upper Bollinger Band while the RSI is above 70 (indicating overbought conditions). Positions are closed when the price crosses the middle Bollinger Band (the moving average).")
// Bollinger Bands parameters
length = input.int(20, title="Bollinger Bands Length")
src = input(close, title="Source")
mult = input.float(2.0, title="Bollinger Bands Multiplier")
basis = ta.sma(src, length)
dev = mult * ta.stdev(src, length)
upper_band = basis + dev
lower_band = basis - dev
// RSI parameters
rsi_length = input.int(14, title="RSI Length")
rsi = ta.rsi(src, rsi_length)
// Plot Bollinger Bands
plot(upper_band, color=color.red, linewidth=2, title="Upper Bollinger Band")
plot(lower_band, color=color.green, linewidth=2, title="Lower Bollinger Band")
plot(basis, color=color.blue, linewidth=1, title="Middle Band")
// Buy Condition
buy_condition = ta.crossover(close, lower_band) and rsi < 30
if buy_condition
strategy.entry("Buy", strategy.long)
// Sell Condition
sell_condition = ta.crossunder(close, upper_band) and rsi > 70
if sell_condition
strategy.entry("Sell", strategy.short)
// Exit Conditions (optional: use the middle Bollinger Band for exits)
exit_condition = ta.cross(close, basis)
if exit_condition
strategy.close("Buy")
strategy.close("Sell")
// Optional: Plot RSI for additional insight
hline(70, "Overbought", color=color.red)
hline(30, "Oversold", color=color.green)
plot(rsi, color=color.purple, title="RSI", linewidth=1, offset=-5)
DeadMoney || LiquidityИндикатор автоматически определяет зоны ликвидности на графике на основе локальных экстремумов (high и low) и отслеживает накопленный объём торгов на этих уровнях.
1. Поиск ликвидности
- При формировании локального максимума (high) создаётся «sell»-уровень (красная линия по умолчанию).
- При формировании локального минимума (low) создаётся «buy»-уровень (зелёная линия по умолчанию).
2. Накопление объёма
- Пока цена не пробивает уровень, индикатор суммирует объём (volume) каждой новой свечи и обновляет подпись на линии.
- Когда цена пересекает уровень (пробивает его), линия становится штриховой и перестаёт обновляться (ликвидность снимается).
3. Настройки
- Sell и Buy цвета линий можно менять в параметрах: Sell, Buy.
- Pivot Length позволяет управлять чувствительностью к локальным экстремумам: чем больше значение, тем реже формируются новые уровни (14 по умолчанию).
Используйте DeadMoney || Liquidity в своей торговле, чтобы автоматически определять зоны ликвидности и видеть накопленный объём на важных уровнях!
Enhanced Interval Candle with Breakout Detection and Detailed InThis indicator visualizes the last candle of a user-defined time interval (e.g., 1 hour, 4 hours, 1 day) on the current chart, providing enhanced details and breakout detection. It fetches the open, high, low, and close prices of the interval candle and draws a stylized representation of it, offset to the right of the current bar. The candle body and wicks are colored according to whether the interval candle closed bullishly (green) or bearishly (red). In addition to the candle itself, the indicator displays horizontal dotted lines representing the high, low, and midpoint of the interval candle, along with labels showing their exact values. These labels are dynamically updated as the interval candle changes. Furthermore, the script detects and visualizes breakouts of the interval candle's high or low. When the current price closes above the interval high, a green dashed line and a "Bullish Breakout" label are displayed. Conversely, when the current price closes below the interval low, a red dashed line and a "Bearish Breakout" label are shown. The breakout lines and labels are also dynamically updated. This indicator helps traders easily track the price action of a higher timeframe candle and spot potential breakouts based on that candle's range. The user can configure the time interval to suit their trading needs.
Dynamic Fibonacci Levels with Value and Percentage LabelsThis indicator plots the most common Fibonacci retracement levels (23.6%, 38.2%, 50%, 61.8%, and 78.6%) on the price chart, using a configurable period to calculate recent high and low points. Unlike standard Fibonacci indicators, this script enhances visualization by including dynamic labels that display both the numerical value of the Fibonacci level and its corresponding percentage. The levels are calculated using a configurable "support/resistance" period and smoothed using a simple moving average to reduce noise. The user can customize the calculation period length, smoothing period, label visibility, and line thickness. Labels are dynamically updated on each new bar, showing the current values and percentages of the calculated Fibonacci levels. This indicator makes it easier to identify potential support and resistance areas based on Fibonacci retracements, providing clear and concise visual information directly on the chart.
Estrategia Binaria - EMA y RSIEste Script te ayudará en base a ciertos parametros poder obtener entradas ganadoras en opciones binarias.
Si quieres saber mas detalle sobre estos pasos sigue el siguiente link para obtener una guía paso a paso desde principante hasta avanzados pueden utilizar esta estrategia.
[COW] Tripple Backflip Confirmation"Im a simple man just trying to make my way in the galaxy..."
- Spock from the hit movie Spaceballs
An indicator I made to fit the strat that I and Santana_trades uses!
It uses a mix of the daily open/close ranges, daily bias for upside/downside, and the ema's for the 30 min, 60 min, and daily ranges. Configurable as all hell. Have fun!
<3 moo
News Breakout Strategy - GOLDThis strategy capitalizes on high-impact news events (e.g., NFP, CPI, FOMC) that cause sudden price movements in Gold (XAU/USD) and other currency pairs.
TPO Profile ilyaas//@version=6
indicator(title="TPO Profile", shorttitle="TPO", overlay=true)
// Inputs
profile_period = input.int(defval=144, title="Profile Period (bars)", minval=1)
letter_size = input.int(defval=10, title="TPO Letter Size", minval=1)
value_area_percentage = input.float(defval=70.0, title="Value Area Percentage", minval=0.0, maxval=100.0)
profile_width = input.float(defval=50.0, title="Profile Width", minval=1.0)
show_poc = input.bool(defval=true, title="Show POC")
show_value_area = input.bool(defval=true, title="Show Value Area")
poc_color = input.color(defval=color.yellow, title="POC Color")
va_color = input.color(defval=color.blue, title="Value Area Color")
// Variables
var highest_price = 0.0
var lowest_price = 0.0
var price_increment = 0.0
var total_tpos = 0
var price_count = array.new_float(0)
var count_values = array.new_int(0)
var curr_price = 0.0
// Store line and linefill references
var line poc_lines = array.new_line()
var linefill va_fills = array.new_linefill()
// Reset variables and arrays at the start of each new period
if bar_index % profile_period == 0
highest_price := high
lowest_price := low
price_increment := syminfo.mintick * letter_size
total_tpos := 0
array.clear(price_count)
array.clear(count_values)
// Update price range
highest_price := math.max(highest_price, high)
lowest_price := math.min(lowest_price, low)
// Count TPOs for current bar
curr_price := lowest_price
while curr_price <= highest_price
if curr_price >= low and curr_price <= high
price_idx = array.indexof(price_count, curr_price)
if price_idx == -1
array.push(price_count, curr_price)
array.push(count_values, 1)
else
array.set(count_values, price_idx, array.get(count_values, price_idx) + 1)
total_tpos += 1
curr_price := curr_price + price_increment
// Find POC (Point of Control)
var poc_price = 0.0
var max_count = 0
if bar_index % profile_period == profile_period - 1
max_count := 0
for i = 0 to array.size(price_count) - 1
count = array.get(count_values, i)
if count > max_count
max_count := count
poc_price := array.get(price_count, i)
// Calculate Value Area
var va_high = 0.0
var va_low = 0.0
if bar_index % profile_period == profile_period - 1 and max_count > 0
target_tpo_count = (total_tpos * value_area_percentage) / 100.0
current_count = max_count
va_high := poc_price
va_low := poc_price
for i = 0 to array.size(price_count) - 1
curr_price := array.get(price_count, i)
if curr_price > poc_price and current_count < target_tpo_count
current_count += array.get(count_values, i)
va_high := curr_price
if curr_price < poc_price and current_count < target_tpo_count
current_count += array.get(count_values, i)
va_low := curr_price
// Plotting
var int plot_width = 0
plot_width := int(time + (timeframe.multiplier * profile_width))
if show_poc and not na(poc_price)
poc_line = line.new(x1=bar_index, y1=poc_price, x2=bar_index + int(profile_width), y2=poc_price,
color=poc_color, width=2, style=line.style_solid)
array.push(poc_lines, poc_line)
if show_value_area and not na(va_high) and not na(va_low)
va_high_line = line.new(bar_index, va_high, bar_index + int(profile_width), va_high, color=va_color)
va_low_line = line.new(bar_index, va_low, bar_index + int(profile_width), va_low, color=va_color)
va_fill = linefill.new(va_high_line, va_low_line, color=color.new(va_color, 90))
array.push(va_fills, va_fill)
// Cleanup old drawings
if bar_index % profile_period == 0
if array.size(poc_lines) > 0
line.delete(array.shift(poc_lines))
if array.size(va_fills) > 0
linefill.delete(array.shift(va_fills))
Ocean's PVSRAList of features:
PVSRA Candles
Vector Candle Zones
PVSRA POCs
5/13/20/50/100/200/800 EMAs
2 Custom EMAs
13/50/200 Daily EMAs
Pivot points (S/M/R 1,2,3; PP )
Daily Open
Psychological High/Low
All of these are configurable in the indicator settings.
Usage instructions:
PVSRA Candle colors meaning:
Green (bull) and red (bear): Candles with volume >= 200% of the average volume of the 10 previous chart candles, and candles where the product of candle spread x candle volume is >= the highest for the 10 previous chart time candles.
Blue (bull) and blue-violet (bear): Candles with volume >= 150% of the average volume of the 10 previous chart candles
Vector Candle Zones:
displays unrecovered liquidity left behind on unrecovered vectors.
PVSRA POCs:
Display the POC of High Volume Candles.
EMA/Pivot Points:
- EMA retrace: Breaking these in either direction without addressing an imbalance on the opposite side requires confirmation after the break.
- Pivot-level trading operates on the same principle.
- **Note:** Pivot levels in this indicator have additional M-levels, which represent 50% markers to provide better insights into potential retraces or upward moves.
- For example: Breaking M1, retracing, and confirming at M1 with a target at M2.
Daily Open:
The daily open helps identify possible SPOT/Futures gaps (depending on the asset, such as a missing futures market over the weekend: NAS/DAX). Can display historical values too.
Psychological High/Low:
Configurable for Crypto or Forex - draws the perceived Psychological High/Low ranges for the week. Can display historical values too.
TradFi Fundamentals: Momentum Trading with Macroeconomic DataIntroduction
This indicator combines traditional price momentum with key macroeconomic data. By retrieving GDP, inflation, unemployment, and interest rates using security calls, the script automatically adapts to the latest economic data. The goal is to blend technical analysis with fundamental insights to generate a more robust momentum signal.
Original Research Paper by Mohit Apte, B. Tech Scholar, Department of Computer Science and Engineering, COEP Technological University, Pune, India
Link to paper
Explanation
Price Momentum Calculation:
The indicator computes price momentum as the percentage change in price over a configurable lookback period (default is 50 days). This raw momentum is then normalized using a rolling simple moving average and standard deviation over a defined period (default 200 days) to ensure comparability with the economic indicators.
Fetching and Normalizing Economic Data:
Instead of manually inputting economic values, the script uses TradingView’s security function to retrieve:
GDP from ticker "GDP"
Inflation (CPI) from ticker "USCCPI"
Unemployment rate from ticker "UNRATE"
Interest rates from ticker "USINTR"
Each series is normalized over a configurable normalization period (default 200 days) by subtracting its moving average and dividing by its standard deviation. This standardization converts each economic indicator into a z-score for direct integration into the momentum score.
Combined Momentum Score:
The normalized price momentum and economic indicators are each multiplied by user-defined weights (default: 50% price momentum, 20% GDP, and 10% each for inflation, unemployment, and interest rates). The weighted components are then summed to form a comprehensive momentum score. A horizontal zero line is plotted for reference.
Trading Signals:
Buy signals are generated when the combined momentum score crosses above zero, and sell signals occur when it crosses below zero. Visual markers are added to the chart to assist with trade timing, and alert conditions are provided for automated notifications.
Settings
Price Momentum Lookback: Defines the period (in days) used to compute the raw price momentum.
Normalization Period for Price Momentum: Sets the window over which the price momentum is normalized.
Normalization Period for Economic Data: Sets the window over which each macroeconomic series is normalized.
Weights: Adjust the influence of each component (price momentum, GDP, inflation, unemployment, and interest rate) on the overall momentum score.
Conclusion
This implementation leverages TradingView’s economic data feeds to integrate real-time macroeconomic data into a momentum trading strategy. By normalizing and weighting both technical and economic inputs, the indicator offers traders a more holistic view of market conditions. The enhanced momentum signal provides additional context to traditional momentum analysis, potentially leading to more informed trading decisions and improved risk management.
The next script I release will be an improved version of this that I have added my own flavor to, improving the signals.
Revenue & Profit GrowthA simple yet powerful financial tracker that helps you identify fundamental growth trends by visualizing quarterly and TTM (Trailing Twelve Months) revenue and profit data. The script combines bar and line visualizations with a dynamic growth table to provide comprehensive insights into a company's financial performance at a glance.
A business has many metrics, but revenue and profit growths - I would argue - are the primordial ones.
Why is this unique? It overlays profit and revenues in one graph and provides QoQ and YoY growth rates.
Features
Quarterly performance bars overlaid with TTM trend lines for both revenue and profit metrics
Automatic calculation of Year-over-Year (YoY) and Quarter-over-Quarter (QoQ) growth rates
Color-coded visualization: blue for revenue, green/red for profits based on positive/negative values
Alerts for revenue and profit changes
Blockchain Fundamentals: Liquidity Cycle MomentumLiquidity Cycle Momentum Indicator
Overview:
This indicator analyzes global liquidity trends by calculating a unique Liquidity Index and measuring its year-over-year (YoY) percentage change. It then applies a momentum oscillator to the YoY change, providing insights into the cyclical momentum of liquidity. The indicator incorporates a limited historical data workaround to ensure accurate calculations even when the chart’s history is short.
Features Breakdown:
1. Limited Historical Data Workaround
Function: The limit(length) function adjusts the lookback period when there isn’t enough historical data (i.e., near the beginning of the chart), ensuring that calculations do not break due to insufficient data.
2. Global Liquidity Calculation
Data Sources:
TVC:CN10Y (10-year yield from China)
TVC:DXY (US Dollar Index)
ECONOMICS:USCBBS (US Central Bank Balance Sheet)
FRED:JPNASSETS (Japanese assets)
ECONOMICS:CNCBBS (Chinese Central Bank Balance Sheet)
FRED:ECBASSETSW (ECB assets)
Calculation Methodology:
A ratio is computed (cn10y / dxy) to adjust for currency influences.
The Liquidity Index is then derived by multiplying this ratio with the sum of the other liquidity components.
3. Year-over-Year (YoY) Percent Change
Computation:
The indicator determines the number of bars that approximately represent one year.
It then compares the current Liquidity Index to its value one year ago, calculating the YoY percentage change.
4. Momentum Oscillator on YoY Change
Oscillator Components:
1. Calculated using the Chande Momentum Oscillator (CMO) applied to the YoY percent change with a user-defined momentum length.
2. A weighted moving average (WMA) that smooths the momentum signal.
3. Overbought and Oversold zones
Signal Generation:
Buy Signal: Triggered when the momentum crosses upward from an oversold condition, suggesting a potential upward shift in liquidity momentum.
Sell Signal: Triggered when crosses below an overbought condition, indicating potential downward momentum.
State Management:
The indicator maintains a state variable to avoid repeated signals, ensuring that a new buy or sell signal is only generated when there’s a clear change in momentum.
5. Visual Presentation and Alerts
Plots:
The oscillator value and signalline are plotted for visual analysis.
Overbought and oversold levels are marked with dashed horizontal lines.
Signal Markers:
Buy and sell signals are marked with green and maroon circles, respectively.
Background Coloration:
Optionally, the chart’s background bars are colored (yellow for buy signals and fuchsia for sell signals) to enhance visual cues when signals are triggered.
Conclusion
In summary, the Liquidity Cycle Momentum Indicator provides a robust framework to analyze liquidity trends by combining global liquidity data, YoY changes, and momentum oscillation. This makes it an effective tool for traders and analysts looking to identify cyclical shifts in liquidity conditions and potential turning points in the market.