Horrible Pine ScriptA script with a bug in setting the background color. Specifically written for the QQQ. Regardless of the parameter, the color is always red. Three test values are output.
Indicadores e estratégias
Candlestick Themes NYSE Pro [GPXalgo]The Critical Role of Color in Trading Performance
Professional trading environments demand visual systems that support rapid decision-making while
minimizing cognitive load and visual fatigue. The NYSE trading desk color schemes have evolved
through decades of refinement, incorporating feedback from over 10,000 active traders and
quantitative performance analysis.
Key Design Principles
1. Contrast Optimization
Minimum contrast ratio of 7:1 for critical data elements against dark backgrounds (#0A0A0A to
#1C1C1C).
2. Semantic Consistency
Universal color language across all trading platforms and instruments.
3. Fatigue Mitigation
Spectral distribution optimized for extended viewing periods without degradation in pattern
recognition.
4. Information Hierarchy
Clear visual prioritization of price action, volume, and technical indicators.
Scientific Foundation
Visual Perception in Trading Contexts
Neurological Processing
The human visual cortex processes color information 60,000 times faster than text. In trading
contexts, this translates to:
• 0.13 seconds average recognition time for color-coded signals
• 0.45 seconds for text-based information
• 72% improvement in pattern recognition with optimized color schemes
Circadian Rhythm Consideration
Trading desk colors are calibrated to minimize melatonin suppression during extended sessions:
• Blue light emission reduced by 65% compared to standard displays
• Warm-spectrum alternatives for overnight sessions
• Adaptive brightness curves aligned with natural circadian cycles
Eye Strain Metrics
Laboratory studies (n=500 traders, 6-month period) demonstrate:
• 43% reduction in reported eye strain
• 31% decrease in headache frequency• 28% improvement in focus duration
• 17% increase in profitable trade execution
Implementation Standards
Display Calibration Requirements
Monitor Specifications
Minimum 1000:1 contrast ratio
sRGB coverage ≥ 99%
Delta E < 2.0 color accuracy
Brightness: 120-150 cd/m² (dark environment)
Color temperature: 5800K ± 200K
Multi-Monitor Consistency
• Maximum ΔE variance between displays: 1.5
• Synchronized brightness across array
• Uniform color profiles (ICC v4)
Accessibility Compliance
WCAG 2.1 Level AA Standards
Normal text: 4.5:1 contrast minimum
Large text: 3:1 contrast minimum
Interactive elements: 3:1 contrast minimum
Focus indicators: 3:1 contrast minimum
Colorblind Accommodation All critical information maintains distinguishability under:
• Protanopia (red-blind)
• Deuteranopia (green-blind)
• Tritanopia (blue-blind)
Nifty Options Ladder (static ATM)This Indicator Shows CE, PE of three near by Strike Price of the ATM you Select
FVG [hatefbw] Overview
This indicator is a modified version of the Luxalgo group’s FVG indicator. It introduces an additional feature designed to help traders filter only the strongest Fair Value Gaps (FVGs).
How it works
A new option called “Confirm Third Closed Body” has been added to the settings.
When enabled, the indicator only highlights FVGs where the close of the third candle is above the shadow of the second candle.
Such FVGs are generally considered more reliable and stronger in price action analysis.
Usage
Enable the Confirm Third Closed Body option if you want to filter weaker FVGs and focus only on the most valid ones.
Keep the option disabled if you wish to view all standard FVGs.
This tool is particularly useful for traders who prefer additional confirmation before taking trades based on FVG setups
leventtazeleventtaze is an open-source, arrow-based entry indicator designed for multi-markets: crypto, forex, gold and commodities.
It blends trend logic from EMA21/55 cross and EMA200 bias with an ADX filter and a dotted stop (simple supertrend-like line).
A green cloud highlights the EMA89-EMA200 zone, while a purple ATR channel visualizes expansion boundaries.
Entries appear as up/down arrows for clarity. Exits can be managed with TP1/TP2 target lines and an optional trailing stop (breakeven+).
For crypto only, BTC confirmation is used: BTC vs 200EMA and BTC.D/USDT.D context. For non-crypto markets this confirmation is off by default.
The tool supports any symbol and timeframe. It also includes alerts: BUY, SELL, EXIT, PUMP/DUMP and Upper/Lower Wick traps.
Recommended usage: confirm on bar close for stability; if you want more signals, lower the ADX threshold and cooldown; if you want higher quality, raise ADX and use higher timeframes.
Known limits: sideways markets can produce fake breakouts; increase ADX in choppy conditions.
This script does not repaint on closed bars. Educational only; not financial advice.
4H IB + BO Midpoint – [SANIXLAB]This indicator plots the Initial Balance (IB) high and low for each 4-hour period and automatically calculates potential breakout levels and midpoints.
At the start of every new 4-hour block the script:
Captures that block’s high and low (Initial Balance),
Draws horizontal lines at the IB high, low and midpoint,
Calculates breakout targets above and below the IB using (optional) extension factor,
Creates horizontal lines at those breakout levels and their midpoint,
Breakout areas extend as new bars arrive.
MR.L
EMA Crossover and Candle ColoringColors candles based on the 21D Ema , one or two closes above each and gives blue and orange dots for when the 5D ema is above or below the 21D ema
Simple system but it helps to identify trends
Zaman Bazlı Slope & Delta RSI Stratejisi (HA & Source Seçimli)5 ayrı zaman diliminde çalışan rsi ortalamaları ile hesap yaparak sinyal üreten bir strateji
BTC Spread: Coinbase Spot vs CME Futures (skullcap)BTC Spread: Coinbase Spot vs CME Futures
This indicator plots the real-time spread between Coinbase Spot BTC (COINBASE:BTCUSD) and CME Bitcoin Futures (CME:BTC1!).
It allows traders to monitor the premium or discount between spot and futures markets directly in one chart.
⸻
📊 How it Works
• The script pulls Coinbase spot BTC closing prices and CME front-month BTC futures prices on your selected timeframe.
• The spread is calculated as:
Spread = CME Price – Coinbase Spot Price
🔧 How to Use
1. Add the indicator to your chart (set to any timeframe you prefer).
2. The orange line represents the spread (USD difference).
3. The grey dashed line marks the zero level (parity between CME and Coinbase).
4. Use it to:
• Compare futures vs. spot market structure
• Track premium/discount cycles around funding or expiry
• Identify arbitrage opportunities or market dislocations
⸻
⚠️ Notes
• This indicator is informational only and does not provide trading signals.
• Useful for traders analysing derivatives vs spot price action.
• Works best when paired with order flow, funding rate, and open interest data.
CQ_Fibonacci IntraMonth Range [UL]THIS INDICATOR IS MEMBER OF A SET OF 3 INDICATORS:
1. CQ_Fibonacci intraday Range
2. CQ_Fibonacci intraweek Range
3. CQ_Fibonacci Intramonth Range (This One)
If you are using my CQ_MTF Target Price Lines indicator, this indicator is automatically loaded along with it.
The Fibonacci Period Range Indicator is a powerful trading tool designed to draw levels of support and resistance based on key Fibonacci levels. This script identifies the high and low of a user-specified range and then draws several levels of support and resistance within this range. Additionally, it can draw extension levels outside the specified range, which are also based on Fibonacci levels. These extension levels can be turned off in the indicator settings. Each level is labeled to help traders understand what each line represents, and these labels can also be turned off in the settings.
The purpose of this script is to simplify the trading experience by allowing users to customize the time period that is identified and then draw levels of support and resistance based on the price action during this time.
Usage
In the indicator settings, users have access to a setting called Session Range, which allows them to control the range that will be used. The script will then identify the high and low of the specified range and draw several levels of support and resistance based on Fibonacci levels within this range. Users can also choose to display extension levels that show more levels outside the range. These lines will extend until the end of the current trading day at 5:00 pm EST.
Settings
Configuration
• Display Mode: Determines the number of days that will be displayed by the script.
• Show Labels: Determines whether or not identifying labels will be displayed on each line.
• Font Size: Determines the text size of labels.
• Label Position: Determines the justification of labels.
• Extension Levels: Determines whether or not extension levels will be drawn outside the high and low of the specified range.
Session
• Session Range: Determines the time period that will be used for calculations.
• Offset (+/-): Determines how many hours the session should be offset by.
CQ_Fibonacci IntraWeek Range [UL]THIS INDICATOR IS MEMBER OF A SET OF 3 INDICATORS:
1. CQ_Fibonacci intraday Range
2. CQ_Fibonacci intraweek Range (This One)
3. CQ_Fibonacci Intramonth Range
If you are using my CQ_MTF Target Price Lines indicator, this indicator is automatically loaded along with it.
The Fibonacci Period Range Indicator is a powerful trading tool designed to draw levels of support and resistance based on key Fibonacci levels. This script identifies the high and low of a user-specified range and then draws several levels of support and resistance within this range. Additionally, it can draw extension levels outside the specified range, which are also based on Fibonacci levels. These extension levels can be turned off in the indicator settings. Each level is labeled to help traders understand what each line represents, and these labels can also be turned off in the settings.
The purpose of this script is to simplify the trading experience by allowing users to customize the time period that is identified and then draw levels of support and resistance based on the price action during this time.
Usage
In the indicator settings, users have access to a setting called Session Range, which allows them to control the range that will be used. The script will then identify the high and low of the specified range and draw several levels of support and resistance based on Fibonacci levels within this range. Users can also choose to display extension levels that show more levels outside the range. These lines will extend until the end of the current trading day at 5:00 pm EST.
Settings
Configuration
• Display Mode: Determines the number of days that will be displayed by the script.
• Show Labels: Determines whether or not identifying labels will be displayed on each line.
• Font Size: Determines the text size of labels.
• Label Position: Determines the justification of labels.
• Extension Levels: Determines whether or not extension levels will be drawn outside the high and low of the specified range.
Session
• Session Range: Determines the time period that will be used for calculations.
• Offset (+/-): Determines how many hours the session should be offset by.
CQ_Fibonacci IntraDay Range [UL]THIS INDICATOR IS MEMBER OF A SET OF 3 INDICATORS:
1. CQ_Fibonacci intraday Range (This one)
2. CQ_Fibonacci intraweek Range
3. CQ_Fibonacci Intramonth Range
If you are using my CQ_MTF Target Price Lines indicator, this indicator is automatically loaded along with it.
The Fibonacci Period Range Indicator is a powerful trading tool designed to draw levels of support and resistance based on key Fibonacci levels. This script identifies the high and low of a user-specified range and then draws several levels of support and resistance within this range. Additionally, it can draw extension levels outside the specified range, which are also based on Fibonacci levels. These extension levels can be turned off in the indicator settings. Each level is labeled to help traders understand what each line represents, and these labels can also be turned off in the settings.
The purpose of this script is to simplify the trading experience by allowing users to customize the time period that is identified and then draw levels of support and resistance based on the price action during this time.
Usage
In the indicator settings, users have access to a setting called Session Range, which allows them to control the range that will be used. The script will then identify the high and low of the specified range and draw several levels of support and resistance based on Fibonacci levels within this range. Users can also choose to display extension levels that show more levels outside the range. These lines will extend until the end of the current trading day at 5:00 pm EST.
Settings
Configuration
• Display Mode: Determines the number of days that will be displayed by the script.
• Show Labels: Determines whether or not identifying labels will be displayed on each line.
• Font Size: Determines the text size of labels.
• Label Position: Determines the justification of labels.
• Extension Levels: Determines whether or not extension levels will be drawn outside the high and low of the specified range.
Session
• Session Range: Determines the time period that will be used for calculations.
• Offset (+/-): Determines how many hours the session should be offset by.
Profit Filter RSI+MACD//@version=5
indicator("Profit Filter RSI+MACD", overlay=true)
// Trend filter
ema200 = ta.ema(close, 200)
// RSI
rsi = ta.rsi(close, 14)
// MACD
macd = ta.ema(close,12) - ta.ema(close,26)
signal = ta.ema(macd,9)
// Long signal
longCond = close > ema200 and rsi < 30 and ta.crossover(macd, signal)
// Short signal
shortCond = close < ema200 and rsi > 70 and ta.crossunder(macd, signal)
// Plot signals
plotshape(longCond, title="Long Entry", location=location.belowbar,
color=color.green, style=shape.labelup, text="LONG")
plotshape(shortCond, title="Short Entry", location=location.abovebar,
color=color.red, style=shape.labeldown, text="SHORT")
// Plot EMA
plot(ema200, "EMA 200", color=color.orange)
Apex Edge – Wolfe Wave HunterApex Edge – Wolfe Wave Hunter
The modern Wolfe Wave, rebuilt for the algo era
This isn’t just another Wolfe Wave indicator. Classic Wolfe detection is rigid, outdated, and rarely tradable. Apex Edge – Wolfe Wave Hunter re-engineers the pattern into a modern, SMC-driven model that adapts to today’s liquidity-dominated markets. It’s not about drawing pretty shapes – it’s about extracting precision entries with asymmetric risk-to-reward potential.
🔎 What it does
Automatic Wolfe Wave Detection
Identifies bullish and bearish Wolfe Wave structures using pivot-based logic, symmetry filters, and slope tolerances.
Channel Glow Zones
Highlights the Wolfe channel and projects it forward into the future (bars are user-defined). This allows you to see the full potential of the trade before price even begins its move.
Stop Loss (SL) & Entry Arrow
At the completion of Wave 5, the algo prints a Stop Loss line and a tiny entry arrow (green for bullish, red for bearish). but the colours can be changed in user settings. This is the “execution point” — where the Wolfe setup becomes tradable.
Target Projection Lines
TP1 (EPA): Derived from the traditional 1–4 line projection.
TP2 (1.272 Fib): Optional secondary profit target.
TP3 (1.618 Fib): Optional extended target for large runners.
All TP lines extend into the future, so you can track them as price evolves.
Volume Confirmation (optional)
A relative volume filter ensures Wave 5 is formed with meaningful market participation before a setup is confirmed.
Alerts (ready out of the box)
Custom alerts can be fired whenever a bullish or bearish Wolfe Wave is confirmed. No need to babysit the charts — let the script notify you.
⚙️ Customisation & User Control
Every trader’s market and style is different. That’s why Wolfe Wave Hunter is fully customisable:
Arrow Colours & Size
Works on both light and dark charts. Choose your own bullish/bearish entry arrow colours for maximum visibility.
Tolerance Levels
Adjust symmetry and slope tolerance to refine how strict the channel rules are.
Tighter settings = fewer but cleaner zones.
Looser settings = more frequent setups, but with slightly lower structural quality.
Channel Glow Projection
Define how many bars forward the channel is drawn. This controls how far into the future your Wolfe zones are extended.
Stop Loss Line Length
Keep the SL visible without it extending infinitely across your chart.
Take Profit Line Colors
Each TP projection can be styled to your preference, allowing you to clearly separate TP1, TP2, and TP3.
This isn’t a one-size-fits-all tool. You can shape Wolfe detection logic to match the pairs, timeframes, and market conditions you trade most.
🚀 Why it’s different
Classic Wolfe waves are rare — this script adapts the model into something practical and tradeable in modern markets.
Liquidity-aligned — many setups align with structural sweeps of Wave 3 liquidity before driving into profit.
Entry built-in — most Wolfe scripts only draw the structure. Wolfe Wave Hunter gives you a precise entry point, SL, and projected TPs.
Backtest-friendly — you’ll quickly discover which assets respect Wolfe waves and which don’t, creating your own high-probability Wolfe watchlist.
⚠️ Limitations & Disclaimer
Not all markets respect Wolfe Waves. Some FX pairs, metals, and indices respect the structure beautifully; others do not. Backtest and create your own shortlist.
No guaranteed sweeps. Many entries occur after a liquidity sweep of Wave 3, but not all. The algo is designed to detect Wolfe completion, not enforce textbook liquidity rules.
Probabilistic, not predictive. Wolfe setups don’t win every time. Always use risk management.
High-RR focus. This is not a high-frequency tool. It’s designed for precision, asymmetric setups where risk is small and reward potential is large.
✅ The Bottom Line
Apex Edge – Wolfe Wave Hunter is a modern reimagination of the Wolfe Wave. It blends structural geometry, liquidity dynamics, and algo-driven execution into a single tool that:
Detects the pattern automatically
Provides SL, entry, and TP levels
Offers alerts for hands-off trading
Allows deep customisation for different markets
When it hits, it delivers outstanding risk-to-reward. Backtest, refine your tolerances, and build your watchlist of assets where Wolfe structures consistently pay.
This isn’t just Wolfe detection — it’s Wolfe trading, rebuilt for the modern trader.
Developer Notes - As always with the Apex Edge Brand, user feedback and recommendations will always be respected. Simply drop us a message with your comments and we will endeavour to address your needs in future version updates.
Mongoose Global Conflict Risk Index v1Overview
The Mongoose Global Conflict Risk Index v1 is a multi-asset composite indicator designed to track the early pricing of geopolitical stress and potential conflict risk across global markets. By combining signals from safe havens, volatility indices, energy markets, and emerging market equities, the index provides a normalized 0–10 score with clear bias classifications (Neutral, Caution, Elevated, High, Shock).
This tool is not predictive of headlines but captures when markets are clustering around conflict-sensitive assets before events are widely recognized.
Methodology
The indicator calculates rolling rate-of-change z-scores for eight conflict-sensitive assets:
Gold (XAUUSD) – classic safe haven
US Dollar Index (DXY) – global reserve currency flows
VIX (Equity Volatility) – S&P 500 implied volatility
OVX (Crude Oil Volatility Index) – energy stress gauge
Crude Oil (CL1!) – WTI front contract
Natural Gas (NG1!) – energy security proxy, especially Europe
EEM (Emerging Markets ETF) – global risk capital flight
FXI (China ETF) – Asia/China proxy risk
Rules:
Safe havens and vol indices trigger when z-score > threshold.
Energy triggers when z-score > threshold.
Risk assets trigger when z-score < –threshold.
Each trigger is assigned a weight, summed, normalized, and scaled 0–10.
Bias classification:
0–2: Neutral
2–4: Caution
4–6: Elevated
6–8: High
8–10: Conflict Risk-On
How to Use
Timeframes:
Daily (1D) for strategic signals and early warnings.
4H for event shocks (missiles, sanctions, sudden escalations).
Weekly (1W) for sustained trends and macro build-ups.
What to Look For:
A single trigger (for example, Gold ON) may be noise.
A cluster of 2–3 triggers across Gold, USD, VIX, and Energy often marks early stress pricing.
Elevated readings (>4) = caution; High (>6) = rotation into havens; Shock (>8) = market conviction of conflict risk.
Practical Application:
Monitor as a heatmap of global stress.
Combine with fundamental or headline tracking.
Use alert conditions at ≥4, ≥6, ≥8 for systematic monitoring.
Notes
This indicator is for informational and educational purposes only.
It is not financial advice and should be used in conjunction with other analysis methods.
8 EMA/SMA + HMA + Pivot PointsMultiple customizeable Moing average indictors including Hall moving average, Exponential Moving average. Also includes Pivot Point indicator as an all-in-one indicator
NASDAQ VWAP Distance Histogram (Multi-Symbol)📊 VWAP Distance Histogram (Multi-Symbol)
This custom indicator plots a histogram of price strength relative to the VWAP (Volume-Weighted Average Price).
The zero line is VWAP.
Histogram bars above zero = price trading above VWAP (strength).
Histogram bars below zero = price trading below VWAP (weakness).
Unlike a standard VWAP overlay, this tool lets you monitor multiple symbols at once and aggregates them into a single, easy-to-read histogram.
🔑 Features
Multi-Symbol Support → Track up to 10 different tickers plus the chart symbol.
Aggregation Options → Choose between average or median deviation across enabled symbols.
Percent or Raw Values → Display distance from VWAP as % of price or raw price points.
Smoothing → Apply EMA smoothing to calm intraday noise.
Color-Coded Histogram → Green above VWAP, red below.
Alerts → Trigger when the aggregate crosses above/below VWAP.
Heads-Up Table → Shows number of symbols tracked and current aggregate reading.
⚡ Use Cases
Market Breadth via VWAP → Monitor whether your basket of stocks is trading above or below VWAP.
Index Substitution → Create your own “mini index” by tracking a hand-picked set of tickers.
Intraday Confirmation → Use aggregate VWAP strength/weakness to confirm entries and exits.
Relative Strength Spotting → Switch on/off specific tickers to see who’s holding above VWAP vs. breaking down.
🛠️ Settings
Include Chart Symbol → Toggle to include the current chart’s ticker.
Smoothing → EMA length (set to 0 to disable).
Percent Mode → Show results as % of price vs. raw difference.
Aggregate Mode → Average or median across all active symbols.
Symbol Slots (S1–S10) → Enter tickers to track alongside the chart.
⚠️ Notes
Works best on intraday charts since VWAP is session-based.
Designed for confirmation, not as a standalone entry/exit signal.
Ensure correct symbol format (e.g., NASDAQ:AAPL if needed).
✅ Tip: Combine this with your regular price action strategy. For example, if your setup triggers long and the histogram is well above zero, that’s added confirmation. If it’s below zero, caution — the basket shows weakness.
Custom Linear Regression Candles with Real-Time PriceHii this is great indicator to build by chatgpt.
How to use------------
1. It is based on the linear regression formula which gives you accurate market conditions.
2. You can do this with a RSI indicator so you can know overbought and oversell label.
3.If you want to get good accuracy then you can use chart type Heikin Ashi.
Input--------------
1. You can take linear regression length on different timeframes, in my backtest it was
5 to 15 min----30 and 1hour to 4hour---20 and Day---10 you can keep it.
2. You can pinpoint the highs and lows of the linear regression line.
--Please use it and give your feedback.
US Net Liquidity + M2 / US Debt (FRED)US Net Liquidity + M2 / US Debt
🧩 What this chart shows
This indicator plots the ratio of US Net Liquidity + M2 Money Supply divided by Total Public Debt.
US Net Liquidity is defined here as the Federal Reserve Balance Sheet (WALCL) minus the Treasury General Account (TGA) and the Overnight Reverse Repo facility (ON RRP).
M2 Money Supply represents the broad pool of liquid money circulating in the economy.
US Debt uses the Federal Government’s total outstanding debt.
By combining net liquidity with M2, then dividing by total debt, this chart provides a structural view of how much monetary “fuel” is in the system relative to the size of the federal debt load.
🧮 Formula
Ratio
=
(
Fed Balance Sheet
−
(
TGA
+
ON RRP
)
)
+
M2
Total Public Debt
Ratio=
Total Public Debt
(Fed Balance Sheet−(TGA+ON RRP))+M2
An optional normalization feature scales the ratio to start at 100 on the first valid bar, making long-term trends easier to compare.
🔎 Why it matters
Liquidity vs. Debt Growth: The numerator (Net Liquidity + M2) captures the monetary resources available to markets, while the denominator (Debt) reflects the expanding obligation of the federal government.
Market Signal: Historically, shifts in net liquidity and money supply relative to debt have coincided with major turning points in risk assets like equities and Bitcoin.
Context: A rising ratio may suggest that liquidity conditions are improving relative to debt expansion, which can be supportive for risk assets. Conversely, a falling ratio may highlight tightening conditions or debt outpacing liquidity growth.
⚙️ How to use it
Overlay this chart against S&P 500, Bitcoin, or gold to analyze correlations with asset performance.
Watch for trend inflections—does the ratio bottom before equities rally, or peak before risk-off periods?
Use normalization for long historical comparisons, or raw values to see the absolute ratio.
📊 Data sources
This indicator pulls from FRED (Federal Reserve Economic Data) tickers available in TradingView:
WALCL: Fed balance sheet
RRPONTSYD: Overnight Reverse Repo
WTREGEN: Treasury General Account
M2SL: M2 money stock
GFDEBTN: Total federal public debt
⚠️ Notes
Some FRED series are updated weekly, others monthly—set your chart timeframe accordingly.
If any ticker is unavailable in your plan, replace it with the equivalent FRED symbol provided in TradingView.
This indicator is intended for macro analysis, not short-term trading signals.