Fibs Has Lied What This Indicator Is
This indicator represents a reverse-engineered version of the popular FibsDontLie trading strategy that typically costs traders $100 per month in subscription fees . I've decoded the core mechanics of their EMA-based entry system and made it available for free to the trading community.
The Strategy Explained
The system identifies potential trade entries using two fundamental methods:
The creator of the strategy suggests using 3min/10min timeframe on YM (Dow Jones)
EMA Cross Method: Waits for the 100 EMA to cross above the 200 EMA, then looks for the first pullback to the 100 EMA as an entry opportunity.
EMA Reset Method: Activates when price makes a deeper retracement after an EMA cross. When price dips below the 200 EMA after a bullish cross (or above after a bearish cross), then returns above the 100 EMA, the indicator generates entry signal.
The indicator automatically should be adjusted to the parameters based on the index you're trading (US30, NQ, or SPX) in the settings, with customizable time filtering to focus on the most productive market hours.
Performance Claims vs. Reality
The original strategy creator claims an impressive 87% win rate "if you avoid consolidations" – a significant caveat that introduces discretionary elements not easily programmed.
Without this discretion, they suggest the strategy delivers a 50-65% win rate following signals mechanically.
While these numbers sound promising, our extensive backtesting reveals a different picture.
The raw mechanical signals don't consistently produce the suggested win rates across various market conditions and timeframes.
Why Share This?
My goal is to democratize trading knowledge and allow traders to make informed decisions before investing in expensive subscriptions. This indicator gives you the core mechanics to evaluate whether this approach aligns with your trading style.
Important Disclaimer
This is not financial advice. All trading involves risk. While this indicator reproduces the mechanical aspects of the original strategy, it cannot capture the discretionary elements that may significantly impact performance. Always conduct your own testing and trade responsibly.
Click the link below for comprehensive backtest results that show the strategy's actual performance across different market conditions.
Siklus
Benner Cycles📜 Overview
The Benner Cycles indicator is a visually intuitive overlay that maps out one of the most historically referenced market timing models—Samuel T. Benner’s Cycles—directly onto your chart. This tool highlights three distinct types of market years: Panic, Peak, and Buy years, based on the rhythmic patterns first published by Benner in the late 19th century.
Benner's work is legendary among financial historians and cycle theorists. His original charts, dating back to the 1800s, remarkably anticipated economic booms, busts, and recoveries by following repeating year intervals. This modern adaptation brings that ancient rhythm into your TradingView workspace.
🔍 Background
Samuel T. Benner (1832–1913) was an Ohioan ironworks businessman and farmer who, after losing everything in the Panic of 1873, sought to uncover the secrets of economic cycles. His work led to the famous Benner's Cycle Chart, which forecasts business activity using repeatable intervals of panic, prosperity, and opportunity.
Benner’s method was based on a combination of numerological, agricultural, and empirical observations—not unlike early forms of technical and cyclical analysis. His legacy survives through a set of three rotating intervals for each market condition.
George Tritch was the individual responsible for preserving and publishing Samuel T. Benner’s economic cycle charts after Benner's death. While Benner was the original creator of the Benner Cycle, Tritch is known for reproducing and circulating the Benner chart in the early 20th century, helping it gain broader recognition among traders, economists, and financial historians.
🛠️ Features
Overlay Background Highlights shades the chart background to reflect the current year's cycle type
Configurable Year Range defines your own historical scope using Start Year and End Year
Fully Customizable Colors & Opacity
Live Statistics Table (optional) displays next projected Panic, Peak, and Buy years as well as current year’s market phase
Cycle Phase Logic (optional) prioritizes highlighting in order of Panic > Peak > Buy if overlaps occur
📈 Use Cases
Macro Timing Tool – Use the cycle phases to align with broader economic rhythms (especially useful for long-term investors or cycle traders).
Market Sentiment Guide – Panic years may coincide with recessions or major selloffs; Buy years may signal deep value or accumulation opportunities.
Overlay for Historical Studies – Perfect for comparing past major market movements (e.g., 1837, 1929, 2008) with their corresponding cycle phase. See known limitations below.
Forecasting Reference – Identify where we are in the repeating Benner rhythm and prepare for what's likely ahead.
⚠️ Limitations
❗ Not Predictive in Isolation: Use in conjunction with other tools.
❗ Calendar-Based Only: This indicator is strictly time-based and does not factor in price action, volume, or volatility.
❗ Historical Artifact, Not a Guarantee
❗ Data Availability: This indicator's historical output is constrained by the available price history of the underlying ticker. Therefore, it cannot display cycles prior to the earliest candle on the chart.
RSI Phan Ky FullThe RSI divergence indicator is like a magnifying glass that spots gaps between price swings and momentum. When price keeps climbing but RSI quietly sags, it’s a flashing U‑turn sign: the bulls are winded, and the bears are lacing up their boots. Flip it around—price is sliding yet RSI edges higher—and you’ve got bulls secretly stockpiling. Hidden divergences shore up the trend; regular divergences hint at a pivot. Blend those signals with overbought/oversold zones, support‑resistance, and volume, and RSI divergence turns into a radar that helps traders jump in with swagger and bail out just in time.
Opening Range 15 min (US Market Hours)📘 Opening Range 15 min
This script plots the Opening Range (OR) High and Low based on the first 15 minutes of the US regular session (9:30–9:45 EST), and extends those levels through the remainder of the trading day.
🔑 Key Features:
Displays OR lines on all timeframes using accurate 15-minute data
Extends horizontal lines from 9:30 to 16:00 (U.S. market hours)
Adds clear, auto-updating labels at the end of each line (ORH and ORL)
Fully customizable colors for lines, fill, borders, and labels
SAN VWAP and Stoch RSI Crypto StrategyCreate a pine script strategy for crypto trading, using the VWAP and the stochastic RSI only on the 15min chart. Short condition only if price closes entirely above VWAP upper band #2 or upper band #3, the stochastic RSI is above 85 need and enter on the first red candle close. take profit condition is to take 100% of the profit whenever the Stoch RSI is below 20 and the blue line is crossing over the red line. Buy condition only if price closes entirely below VWAP lower band #2 or lower band #3, the stochastic RSI is below 12 and enter on the first green candle close. take profit condition is to take 100% of the profit whenever the Stoch RSI is above 80 and the blue line is crossing below the red line
Ma stratégie
ANTHONY,
✅ KEY FEATURES:
VWAP Breakouts (Daily + Weekly), Midnight Open, and Initial Balance
PO3 Analysis Daily Only
Visible Absorption (Orange Zones)
Precise Entries Filtered by Institutional Volume
FMCB-Ultimate Quant Full StrategyFast Momentum Channel Breakout (FMCB) Strategy – Seeking Feedback & Optimization
Overview
Momentum Filter: RSI (Relative Strength Index) with a 14-period lookback; long when RSI crosses above 35, short when RSI crosses below 65 to confirm directional bias (Wilder, 1978).
Breakout Signal: Donchian-style channel over the past 10 bars; enter long on close > highest high, enter short on close < lowest low (Brock, Lakonishok, & LeBaron, 1992; Connors & Alvarez, 2016).
Risk Management:
Stop-loss = 1 × ATR(14) from entry.
Profit target = 2 × ATR(14) from entry.
Position Sizing: 10 % of equity per trade.
Pine Script Implementation
pinescript
Copy
Edit
//@version=6
strategy("FMCB Strategy", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=10)
// Inputs
lengthRSI = input.int(14, title="RSI Length")
rsiLower = input.int(35, title="RSI Lower Threshold")
rsiUpper = input.int(65, title="RSI Upper Threshold")
breakoutWindow = input.int(10, title="Breakout Window")
atrLength = input.int(14, title="ATR Length")
// Indicators
rsi = ta.rsi(close, lengthRSI)
upperBB = ta.highest(high, breakoutWindow)
lowerBB = ta.lowest(low, breakoutWindow)
atr = ta.atr(atrLength)
// Entry Conditions
longCondition = ta.crossover(rsi, rsiLower) and close > upperBB
shortCondition = ta.crossunder(rsi, rsiUpper) and close < lowerBB
if longCondition
strategy.entry("Long", strategy.long)
strategy.exit("Exit Long", from_entry="Long", stop=close - atr, limit=close + 2 * atr)
if shortCondition
strategy.entry("Short", strategy.short)
strategy.exit("Exit Short", from_entry="Short", stop=close + atr, limit=close - 2 * atr)
Areas for Feedback
Parameter Optimization
Would alternative RSI thresholds (e.g., 30/70) or breakout lengths (e.g., 20 bars) improve edge?
Exit Logic Enhancements
Suggestions for dynamic exits (e.g., trailing stops, time-based exits)?
Code Efficiency & Syntax
How to avoid “end of line without line continuation” errors and streamline the script?
Backtesting Realism
Best practices to incorporate slippage, commission, and realistic order fills?
Additional Filters
Could VWAP or volume-profile filters reduce false breakouts and increase win rate?
I appreciate any insights on logic tweaks, scripting improvements, or backtest robustness. Thank you in advance for your expertise!
References
Brock, W., Lakonishok, J., & LeBaron, B. (1992). Simple technical trading rules and the stochastic properties of stock returns. Journal of Finance, 47(5), 1731–1764.
Connors, L., & Alvarez, M. (2016). High Probability ETF Trading: 7 Professional Strategies to Improve Your ETF Trading. Wiley.
Wilder, J. W. (1978). New Concepts in Technical Trading Systems. Trend Research.
Sessions & DaysThis indicator is designed to help traders visualize different market sessions and track days of the week directly on their charts .
What This Indicator Does
The indicator performs two main functions:
1. Highlights Trading Sessions : It displays colored boxes showing the price range during specific market sessions (Asian, London, New York, and a custom session).
2. Marks Days of the Week : It places day labels (MON, TUE, WED, etc.) at the bottom or top of your chart, making it easy to track which day you're looking at.
Why Trading Sessions Matter
Financial markets have different characteristics during different times of the day:
- Asian Session : Often has lower volatility, range-bound movements
- London Session : Increased volatility as European traders enter
- New York Session : High liquidity when US and European markets overlap
- **Custom Session** : Customizable for your specific trading needs
By visualizing these sessions, you can:
- Identify which sessions have the best trading opportunities for your strategy
- Recognize pattern differences between sessions
- Plan your trading around session opens and closes
- Avoid trading during slower periods if you prefer volatility
Day-of-Week Markers
The day markers appear at a specific time each day at the bottom of your chart. These markers help you:
- Quickly identify which day you're looking at without counting candles
- Spot day-of-week patterns (like "Monday reversals" or "Friday profit-taking")
- Plan your trading around specific days that historically perform better for your strategies
Extended-hours Volume vs AVOL// ──────────────────────────────────────────────────────────────────────────────
// Extended-Hours Volume vs AVOL • HOW IT WORKS & HOW TO TRADE IT
// ──────────────────────────────────────────────────────────────────────────────
//
// ░ What this indicator is
// ------------------------
// • It accumulates PRE-MARKET (04:00-09:30 ET) and AFTER-HOURS (16:00-20:00 ET)
// volume on intraday charts and compares that running total with the stock’s
// 21-day average daily volume (“AVOL” by default).
// • Three live read-outs are shown in the data-window/table:
//
// AH – volume traded since the 16:00 ET close
// PM – volume traded before the 09:30 ET open
// Ext – AH + PM (updates in pre-market only)
// %AVOL – Ext ÷ AVOL × 100 (updates in pre-market)
//
// • It is intended for U.S. equities but the session strings can be edited for
// other markets.
//
// ░ Why it matters
// ----------------
// Big extended-hours volume almost always precedes outsized intraday range.
// By quantifying that volume as a % of “normal” trade (AVOL), you can filter
// which gappers and news names deserve focus *before* the bell rings.
//
// ░ Quick-start trade plan (educational template – tune to taste)
// ----------------------------------------------------------------
// 1. **Scan** the watch-list between 08:30-09:25 ET.
// ► Keep charts on 1- or 5-minute candles with “Extended Hours” ✔ checked.
// 2. **Filter** by `Ext` or `%AVOL`:
// – Skip if < 10 % → very low interest
// – Flag if 20-50 % → strong interest, Tier-1 candidate
// – Laser-focus if > 50 % → crowd favourite; expect liquidity & range
// 3. **Opening Range Breakout (long example)**
// • Preconditions: Ext ≥ 20 % & price above yesterday’s close.
// • Let the first 1- or 5-min bar complete after 09:30.
// • Stop-buy 1 tick above that bar (or pre-market high – whichever higher).
// • Initial stop below that bar low (or pre-market low).
// • First target = 1R or next HTF resistance.
// 4. **Red-to-Green reversal (gap-down long)**
// • Ext ≥ 30 % but pre-market gap is negative.
// • Enter as price reclaims yesterday’s close on live volume.
// • Stop under reclaim bar; scale out into VWAP / first liquidity pocket.
// 5. **Risk** – size so the full stop is ≤ 1 R of account. Volume fade or
// loss of %AVOL slope is a reason to tighten or exit early.
//
// ░ Tips
// ------
// • AVOL look-back can be changed in the input panel (21 days ⇒ ~1 month).
// • To monitor several symbols, open a multi-chart layout and sort your
// watch-list by %AVOL descending – leaders float to the top automatically.
// • Replace colour constants with hex if the namespace ever gets shadowed.
//
// ░ Disclaimer
// ------------
// For educational purposes only. Not financial advice. Trade your own plan.
//
// ──────────────────────────────────────────────────────────────────────────────
Raam Strategy TemplateAll combined strategy best to try, RSI+MACD+EMA all combined best strategy, Back tested and got higher winning results.
Stage 2 Uptrend Detector (Minervini Style)Minervini template for stage 2 uptrend with everything except relative strength since relative strength rating is proprietary to IBD, comparing a stock against all other stocks cannot be done on tradingview. Another option is using relative strength against the SPY or NDQ, This would just not be the same metric. Therefore this is a 7/8 template.
SuperTrend CorregidoThis script implements a SuperTrend indicator based on the Average True Range (ATR). It is designed to help traders identify trend direction and potential buy/sell opportunities with visual signals on the chart.
🔧 Key Features:
ATR-Based Trend Detection: Calculates trend shifts using the ATR and a user-defined multiplier.
Buy/Sell Signals: Displays "Buy" and "Sell" labels directly on the chart when the trend changes direction.
Visual Trend Lines: Plots green (uptrend) and red (downtrend) SuperTrend lines to highlight the current market bias.
Trend Highlighting: Optionally fills the background to emphasize whether the market is in an uptrend or downtrend.
Customizable Settings:
ATR period and multiplier
Option to switch ATR calculation method
Toggle for signal visibility and trend highlighting
🔔 Alerts Included:
SuperTrend Buy Signal
SuperTrend Sell Signal
SuperTrend Direction Change
This indicator is useful for identifying entries and exits based on trend momentum and can be used across various timeframes.
10 Monday's 1H Avg Range + 30-Day Daily Range🇬🇧 English Version
This script is especially useful for traders who need to measure the range of the first four 15-minute candles of the week.
It provides three key pieces of information :
🕒 Highlights the First 4 Candles
Marks the first four 15-minute candles of the week and displays the total range between their high and low.
📊 10-Week Average (Yellow Line)
Shows the average range of those candles over the last 10 weeks, allowing you to compare the current week with past patterns.
📈 30-Day Daily Candle Average (Green Line)
Displays the average range of the last 30 daily candles.
This is especially useful when setting the Stop Loss, as a range greater than 1/3 of the daily average may make it difficult for the trade to close on the same day.
Feel free to contact me for upgrades or corrections.
– Bernardo Ramirez
🇵🇹 Versão em Português (Corrigida e Estilizada)
Este script é especialmente útil para traders que precisam medir o intervalo das quatro primeiras velas de 15 minutos da semana.
Ele oferece três informações principais :
🕒 Destaque das 4 Primeiras Velas
Marca as primeiras quatro velas de 15 minutos da semana e exibe o intervalo total entre a máxima e a mínima.
📊 Média de 10 Semanas (Linha Amarela)
Mostra a média do intervalo dessas velas nas últimas 10 semanas, permitindo comparar a semana atual com padrões anteriores.
📈 Média dos Últimos 30 Candles Diários (Linha Verde)
Exibe a média do intervalo das últimas 30 velas diárias.
Isso é especialmente útil para definir o Stop Loss, já que um valor maior que 1/3 da média diária pode dificultar que a operação feche no mesmo dia.
Sinta-se à vontade para me contactar para atualizações ou correções.
– Bernardo Ramirez
🇪🇸 Versión en Español (Corregida y Estilizada)
Este script es especialmente útil para traders que necesitan medir el rango de las primeras cuatro velas de 15 minutos de la semana.
Proporciona tres datos clave :
🕒 Resalta las Primeras 4 Velas
Señala las primeras cuatro velas de 15 minutos de la semana y muestra el rango total entre su máximo y mínimo.
📊 Promedio de 10 Semanas (Línea Amarilla)
Muestra el promedio del rango de esas velas durante las últimas 10 semanas, lo que permite comparar la semana actual con patrones anteriores.
📈 Promedio Diario de 30 Días (Línea Verde)
Muestra el rango promedio de las últimas 30 velas diarias.
Esto es especialmente útil al definir un Stop Loss, ya que un rango mayor a un tercio del promedio diario puede dificultar que la operación se cierre el mismo día.
No dudes en contactarme para mejoras o correcciones.
– Bernardo Ramirez
50-Line OscillatorFractal Vortex Oscillator
Version 5 | Overlay: Off
Overview
The Fractal Vortex Oscillator blends multiple moving-average trends into a single, rainbow-colored “vortex” that highlights shifting market momentum and internal crossovers. By stacking 26 sequential moving averages (SMA, EMA, WMA) with gradually increasing lengths, it creates a rich, multicolored band whose twists and overlaps reveal trend strength and turning points.
Key Features
Dynamic Trend Lines (26):
Uses a mix of SMA, EMA, and WMA on your chosen source (default = close).
Base length starts at 14 and increases by 1 for each subsequent line.
Rainbow Coloring:
Seven semi-transparent hues (red → orange → yellow → green → blue → fuchsia → navy) cycle through the lines for easy visual separation.
Filled Bands:
Adjacent trend lines are softly filled with aqua-tinted shading to emphasize the vortex bands.
Crossover Counting:
Internally tallies the number of times faster lines cross over or under their immediate slower neighbors on each bar.
Displays a small gray label on price showing “Up: X / Down: Y” to quantify rising vs. falling momentum.
Inputs
Base Length (base_length, default 14) – Starting period for the first moving average; all others increment from here.
Source (source, default close) – Price series to feed into the moving averages.
How It Works
Trend Array Creation
An array of 26 floats is built, each element computed by choosing SMA, EMA, or WMA in rotation and applying it to source with periods base_length + index.
Color Assignment
A seven-color palette is cycled through, giving every third line the same hue for a smooth rainbow gradient.
Plotting & Filling
Each of the 26 lines is plotted in its assigned color.
Consecutive lines are filled with a semi-transparent aqua to accentuate the “vortex” effect.
Momentum Signals
On each bar, the script checks for crossovers between each pair of adjacent lines:
CrossUp increments when a faster line crosses above a slower one.
CrossDown increments when it crosses below.
A label at the current bar displays the total counts, giving a quick read on whether upward or downward momentum dominates.
Interpretation & Usage
Wide, uniform bands suggest a steady trend; tight, overlapping bands point to consolidation or indecision.
Rising “Up” count signals growing bullish momentum; rising “Down” count signals bearish pressure.
Use the vortex’s twists—where different-colored lines intersect—as early warnings of potential trend shifts.
5 in 1 Colored SMA or EMA (w/ Custom Source)This custom Pine Script indicator plots five moving averages (MAs) — each of which can be configured as:
EMA, SMA, or a shaded zone between EMA & SMA
With individual lengths, line widths, and custom sources (like close, open, hl2, etc.)
It includes:
Dynamic coloring: MAs change color based on trend direction (up/down)
Shaded Zones: Optional visual bands between EMA and SMA of same length
Crossover dots: Marks crossover points between any pair of MAs (when enabled)
💡 Strategy Ideas Using This Indicator (High Probability Concepts)
Here are a few strategy foundations you can build on:
1. Trend-Following Cross Strategy
Entry: Buy when fast MA (e.g., MA1 - 5 EMA) crosses above slower MA (e.g., MA2 - 20 EMA)
Confirm: Only take trade if both are green (uptrend)
Exit: Sell on cross below or when MAs turn red (downtrend)
✅ Works best in trending markets
❌ Avoid in sideways/choppy conditions
2. EMA/SMA Zone Pullback Entry
Zone Type: Use “Shaded EMA/SMA Zone” mode on MAs
Entry: Enter long when price dips into the zone of an up-trending MA (color is green) and shows a bullish candle
Stop Loss: Below the zone
Target: Next MA level or fixed risk/reward ratio (e.g., 1:2)
✅ Great for buying dips in strong uptrends
3. Multiple MA Confluence
Setup: Align 3 or more MAs upward (e.g., MA1 > MA2 > MA3)
Entry: When price pulls back to MA1 or MA2 and bounces
Exit: When structure breaks or MAs lose alignment
✅ Filters out weak trends
❌ Can be late to reverse
4. Cross + Zone Confirmation
Combo: Wait for a bullish MA crossover (e.g., MA1 > MA2)
Confirm: Price is above at least one shaded zone (e.g., MA3 in zone mode)
Entry: On breakout candle or retest of the crossover point
✅ Provides strong confirmation before entry
US Net Liquidity Tracker with Sentiment & OffsetU.S. Net Liquidity Tracker with Sentiment & Offset - Documentation
This document explains the rationale behind the Pine Script indicator "U.S. Net Liquidity Tracker with Sentiment & Offset" and why it provides an accurate representation of liquidity in the U.S. financial system.
The indicator leverages data from the Federal Reserve's Economic Data (FRED) to calculate net liquidity, offering traders and analysts a tool to assess market conditions influenced by monetary policy.
Purpose of the Indicator
The U.S. Net Liquidity Tracker is designed to measure the amount of liquidity available in the U.S. financial system by accounting for both liquidity injections and drains. Liquidity is a critical factor in financial markets: high liquidity often supports rising asset prices, while low liquidity can signal potential market downturns. This indicator helps users anticipate market trends by providing a clear, data-driven view of net liquidity dynamics.
! raw.githubusercontent.com
Rationale Behind the Indicator
What is U.S. Net Liquidity?
Net liquidity represents the money available in the financial system after subtracting liquidity-draining factors from the total liquidity provided by the Federal Reserve. The indicator calculates this by combining key data points that reflect both the creation and removal of liquidity.
Data Sources
The indicator uses the following FRED datasets:
Fed Balance Sheet (WALCL): Total assets held by the Federal Reserve, including securities from quantitative easing (QE). An expanding balance sheet adds liquidity, while a shrinking one (quantitative tightening, QT) reduces it.
Treasury General Account (WTREGEN): The U.S. Treasury’s cash balance at the Fed. A high balance drains liquidity, while spending releases it into the system.
Overnight Reverse Repurchase Agreements (RRPONTSYD): Short-term operations where the Fed borrows cash from institutions, temporarily reducing available liquidity.
Earnings Remittances (RESPPLLOPNWW): Payments from the Fed to the Treasury, which remove liquidity from circulation.
These components are chosen because they collectively represent the primary sources and drains of liquidity in the U.S. economy, providing a comprehensive view of net liquidity.
Calculation
The core formula for net liquidity is:
global_balance = fed_balance - us_tga_balance - overnight_rrp_balance - earnings_remittances_balance
fed_balance: Total Fed assets (WALCL).
us_tga_balance: Treasury General Account (WTREGEN).
overnight_rrp_balance: Reverse repo operations (RRPONTSYD).
earnings_remittances_balance: Fed remittances to Treasury (RESPPLLOPNWW).
This subtraction isolates the liquidity remaining after accounting for major drains, offering a net perspective on funds available to influence markets.
Additional Features
Smoothing: A Simple Moving Average (SMA) is applied to the net liquidity value to reduce noise and emphasize longer-term trends.
Sentiment Coloring: An Exponential Moving Average (EMA) determines market sentiment:
Bullish (Green): Smoothed liquidity is above the EMA, indicating improving liquidity conditions.
Bearish (Red): Smoothed liquidity is below the EMA, signaling deteriorating conditions.
Offset: Users can shift the liquidity plot forward or backward in time to align it with market data (e.g., S&P 500) for correlation analysis.
Rate of Change (ROC): A plot of the Fed balance sheet’s ROC highlights the pace of monetary policy shifts.
Why This is an Accurate Picture of U.S. Liquidity
The indicator accurately reflects U.S. liquidity for several reasons:
Comprehensive Data:
It incorporates all major liquidity-affecting factors: the Fed’s balance sheet (source) and TGA, reverse repos, and remittances (drains). This holistic approach ensures no significant component is overlooked.
Real-Time Insights:
By pulling data directly from FRED, the indicator reflects current economic conditions, making it relevant for timely decision-making.
Customizability:
Features like toggling components, adjusting smoothing periods, and offsetting the plot allow users to tailor the indicator to their specific analytical needs, enhancing its practical accuracy.
Visual Clarity:
Sentiment coloring and the ROC plot provide intuitive cues about liquidity trends and monetary policy impacts, making complex data actionable.
Conclusion
The "U.S. Net Liquidity Tracker with Sentiment & Offset" is a robust tool for understanding liquidity dynamics in the U.S. financial system. By combining key FRED datasets into a net liquidity calculation, smoothing the results, and adding sentiment and offset features, it delivers an accurate and user-friendly picture of liquidity. This makes it invaluable for traders and analysts seeking to correlate liquidity with market movements and anticipate economic shifts.
Source Code
The source code for this indicator is available on GitHub: ebasurtop/Macro
Disclaimer
All codes and indicators provided by Enrique Basurto are 100% free and open for public use. If you find this work valuable, please consider donating to The Brain Foundation through the Autism Research Coalition to support critical translational research for individuals with autism.
Your contributions help fund vital research initiatives.
Donation Link: Autism Research Coalition
Follow Enrique Basurto on X: @EnriqueBasurto
Yearly History Calendar-Aligned Price up to 10 Years)Overview
This indicator helps traders compare historical price patterns from the past 10 calendar years with the current price action. It overlays translucent lines (polylines) for each year’s price data on the same calendar dates, providing a visual reference for recurring trends. A dynamic table at the top of the chart summarizes the active years, their price sources, and history retention settings.
Key Features
Historical Projections
Displays price data from the last 10 years (e.g., January 5, 2023 vs. January 5, 2024).
Price Source Selection
Choose from Open, Low, High, Close, or HL2 ((High + Low)/2) for historical alignment.
The selected source is shown in the legend table.
Bulk Control Toggles
Show All Years : Display all 10 years simultaneously.
Keep History for All : Preserve historical lines on year transitions.
Hide History for All : Automatically delete old lines to update with current data.
Individual Year Settings
Toggle visibility for each year (-1 to -10) independently.
Customize color and line width for each year.
Control whether to keep or delete historical lines for specific years.
Visual Alignment Aids
Vertical lines mark yearly transitions for reference.
Polylines are semi-transparent for clarity.
Dynamic Legend Table
Shows active years, their price sources, and history status (On/Off).
Updates automatically when settings change.
How to Use
Configure Settings
Projection Years : Select how many years to display (1–10).
Price Source : Choose Open, Low, High, Close, or HL2 for historical alignment.
History Precision : Set granularity (Daily, 60m, or 15m).
Daily (D) is recommended for long-term analysis (covers 10 years).
60m/15m provides finer precision but may only cover 1–3 years due to data limits.
Adjust Visibility & History
Show Year -X : Enable/disable specific years for comparison.
Keep History for Year -X : Choose whether to retain historical lines or delete them on new year transitions.
Bulk Controls
Show All Years : Display all 10 years at once (overrides individual toggles).
Keep History for All / Hide History for All : Globally enable/disable history retention for all years.
Customize Appearance
Line Width : Adjust polyline thickness for better visibility.
Colors : Assign unique colors to each year for easy identification.
Interpret the Legend Table
The table shows:
Year : Label (e.g., "Year -1").
Source : The selected price type (e.g., "Close", "HL2").
Keep History : Indicates whether lines are preserved (On) or deleted (Off).
Tips for Optimal Use
Use Daily Timeframes for Long-Term Analysis :
Daily (1D) allows 10+ years of data. Smaller timeframes (60m/15m) may have limited historical coverage.
Compare Recurring Patterns :
Look for overlaps between historical polylines and current price to identify potential support/resistance levels.
Customize Colors & Widths :
Use contrasting colors for years you want to highlight. Adjust line widths to avoid clutter.
Leverage Global Toggles :
Enable Show All Years for a quick overview. Use Keep History for All to maintain continuity across transitions.
Example Workflow
Set Up :
Select Projection Years = 5.
Choose Price Source = Close.
Set History Precision = 1D for long-term data.
Customize :
Enable Show Year -1 to Show Year -5.
Assign distinct colors to each year.
Disable Keep History for All to ensure lines update on year transitions.
Analyze :
Observe how the 2023 close prices align with 2024’s price action.
Use vertical lines to identify yearly boundaries.
Common Questions
Why are some years missing?
Ensure the chart has sufficient historical data (e.g., daily charts cover 10 years, 60m/15m may only cover 1–3 years).
How do I update the data?
Adjust the Price Source or toggle years/history settings. The legend table updates automatically.
Time Markers (corrected for UTC-4)Places lines on a chart to indicate US, UK, and Chinese opens (for futures trading)
NY Exchanges Trading Hours ShadingThis indicator shades 24-hour charts (e.g. crypto), similar to how TradingView can shade NYSE and NASDAQ traded securities for after-hours and pre-market trading hours.
But unlike standard securities charts, it doesn't also hide fully-closed hours - it shades them a third color.
Why?
- Even when trading crypto or non-Yew York market securities, you need to be aware of when the New York markets open and close. The whole world, including crypto price action, is often strongly affected by the New York stock markets. (Especially just after opening, and just before closing.)
- "After-hours" trading hours (4:OOPM to 8:00PM) are shaded with a subtle blue background, by default.
- "Pre-market" trading hours (4:00AM to 9:30 AM) are shaded a subtle orange background, by default.
- Completely closed hours in between - and weekends - are shaded a subtle dark green, by default.
This has no awareness of trading holidays - only weekends.
By default it disables itself on day view and higher.
Regular trading hours are from 9:30AM to 4:00PM Eastern time, Monday through Friday. Those may be different times in your time zone, which this takes into account, including daylight savings time. (Obviously if you aren't in US Eastern time, you don't want it shaded based on 9:30 to 4:00 your local time - you want it based on whatever New York time is for you.)