PLR-Z For Loop🧠 Overview
PLR-Z For Loop is a trend-following indicator built on the Power Law Residual Z-score model of Bitcoin price behavior. By measuring how far price deviates from a long-term power law regression and applying a custom scoring loop, this tool identifies consistent directional pressure in market structure. Designed for BTC, this indicator helps traders align with macro trends.
🧩 Key Features
Power Law Residual Model: Tracks deviations of BTC price from its long-term logarithmic growth curve.
Z-Score Normalization: Applies long-horizon statistical normalization (400/1460 bars) to smooth residual deviations into a usable trend signal.
Loop-Based Trend Filter: Iteratively scores how often the current Z-score exceeds prior values, emphasizing trend persistence over volatility.
Optional Smoothing: Toggleable exponential smoothing helps filter noise in choppier market conditions.
Directional Regime Coloring: Aqua (bullish) and Red (bearish) visuals reinforce trend alignment across plots and candles.
🔍 How It Works
Power Law Curve: Price is compared against a logarithmic regression model fitted to historical BTC price evolution (starting July 2010), defining structural support, resistance, and centerline levels.
Residual Z-Score: The residual is calculated as the log-difference between price and the power law center.
This residual is then normalized using a rolling mean (400 days) and standard deviation (1460 days) to create a long-term Z-score.
Loop Scoring Logic:
A loop compares the current Z-score to a configurable number of past bars.
Each higher comparison adds +1, and each lower one subtracts -1.
The result is a trend persistence score (z_loop) that grows with consistent directional momentum.
Smoothing Option: A user-defined EMA smooths the score, if enabled, to reduce short-term signal noise.
Signal Logic:
Long signal when trend score exceeds long_threshold.
Short signal when score drops below short_threshold.
Directional State (CD): Internally manages the current market regime (1 = long, -1 = short), controlling all visual output.
🔁 Use Cases & Applications
Macro Trend Alignment: Ideal for traders and analysts tracking Bitcoin’s structural momentum over long timeframes.
Trend Persistence Filter: Helps confirm whether the current move is part of a sustained trend or short-lived volatility.
Best Suited for BTC: Built specifically on the BNC BLX price history and Bitcoin’s power law behavior. Not designed for use with other assets.
✅ Conclusion
PLR-Z For Loop reframes Bitcoin’s long-term power law model into a trend-following tool by scoring the persistence of deviations above or below fair value. It shifts the focus from valuation-based mean reversion to directional momentum, making it a valuable signal for traders seeking high-conviction participation in BTC’s broader market cycles.
⚠️ Disclaimer
The content provided by this indicator is for educational and informational purposes only. Nothing herein constitutes financial or investment advice. Trading and investing involve risk, including the potential loss of capital. Always backtest and apply risk management suited to your strategy.
在腳本中搜尋"support resistance"
TPG Trend + MACDUser Guide for "TPG Trend + MACD"
Author: TrungChuThanh
🔎 Main Functions
The TPG Trend + MACD indicator is a combined tool that integrates:
TPG Trend Histogram (spread between fast and slow EMA)
MACD Line & Signal for confirming trend momentum
Buy/Sell signals displayed directly on the indicator panel
⚙️ Components and Meaning
1️⃣ TPG Trend Histogram
Calculated from the difference between Fast EMA (9) and Slow EMA (26).
Light gray bars = bullish trend (spread > 0)
Dark gray bars = bearish trend (spread < 0)
Signal triggers:
B1 (green label): Crossover above 0 → Buy signal
S1 (red label): Crossunder below 0 → Sell signal
2️⃣ MACD Line & Signal
Consists of:
MACD Line = EMA(12) – EMA(26)
Signal Line = EMA(9) of the MACD Line
Confirmation signals:
B2 (blue triangle): MACD crosses above Signal → Buy confirmation
S2 (orange triangle): MACD crosses below Signal → Sell confirmation
MACD Line: Blue
Signal Line: Orange
📌 How to Use
Determine the main trend using the TPG Histogram
→ When the histogram crosses above zero → Consider Buy
→ When it crosses below zero → Consider Sell
Use MACD to confirm trend direction or optimize entry timing
✅ Prefer signals when both TPG and MACD align (e.g., B1 + B2 or S1 + S2)
⚠️ Avoid using the indicator alone; combine with support/resistance, RSI, volume, or other tools for higher accuracy
🛠️ Adjustable Parameters
Fast/Slow EMA for TPG Trend
Fast/Slow/Signal for MACD
Toggle to show/hide TPG and MACD elements in the panel
⚠️ Notes
This is a technical analysis tool, not investment advice
Always apply risk management, set clear stop-loss, and confirm signals across multiple timeframes
Multi-Timeframe Horizontal LinesMulti-Timeframe Horizontal Lines - User Guide
This indicator draws horizontal support/resistance lines based on opening prices at specific New York times, regardless of your chart's timezone.
How to Use:
Enter up to 4 custom times in NY timezone using HH:MM format (e.g., "09:30", "14:00", "20:00")
Lines automatically capture the opening price when each specified time hits
Toggle the After-Hours Day Open line (6 PM NY start) on/off as needed
Key Features:
Evening Times (16:00-23:59): Lines extend overnight until next day 3:59 PM NY
Morning/Day Times (00:00-15:59): Lines extend until same day 3:59 PM NY
Timezone Independent: Always uses NY time regardless of chart timezone
Clean Visualization: Lines appear with breaks during inactive periods
Perfect For:
Marking key session opens (Asian, London, NY)
Tracking overnight levels and gaps
Setting reference levels that persist across trading sessions
Simply input your desired NY times and let the indicator automatically manage when lines appear and disappear based on market sessions.
Demand Index (Hybrid Sibbet) by TradeQUODemand Index (Hybrid Sibbet) by TradeQUO \
\Overview\
The Demand Index (DI) was introduced by James Sibbet in the early 1990s to gauge “real” buying versus selling pressure by combining price‐change information with volume intensity. Unlike pure price‐based oscillators (e.g. RSI or MACD), the DI highlights moves backed by above‐average volume—helping traders distinguish genuine demand/supply from false breakouts or low‐liquidity noise.
\Calculation\
\
\ \Step 1: Weighted Price (P)\
For each bar t, compute a weighted price:
```
Pₜ = Hₜ + Lₜ + 2·Cₜ
```
where Hₜ=High, Lₜ=Low, Cₜ=Close of bar t.
Also compute Pₜ₋₁ for the prior bar.
\ \Step 2: Raw Range (R)\
Calculate the two‐bar range:
```
Rₜ = max(Hₜ, Hₜ₋₁) – min(Lₜ, Lₜ₋₁)
```
This Rₜ is used indirectly in the exponential dampener below.
\ \Step 3: Normalize Volume (VolNorm)\
Compute an EMA of volume over n₁ bars (e.g. n₁=13):
```
EMA_Volₜ = EMA(Volume, n₁)ₜ
```
Then
```
VolNormₜ = Volumeₜ / EMA_Volₜ
```
If EMA\_Volₜ ≈ 0, set VolNormₜ to a small default (e.g. 0.0001) to avoid division‐by‐zero.
\ \Step 4: BuyPower vs. SellPower\
Calculate “raw” BuyPowerₜ and SellPowerₜ depending on whether Pₜ > Pₜ₋₁ (bullish) or Pₜ < Pₜ₋₁ (bearish). Use an exponential dampener factor Dₜ to moderate extreme moves when true range is small. Specifically:
• If Pₜ > Pₜ₋₁,
```
BuyPowerₜ = (VolNormₜ) / exp
```
otherwise
```
BuyPowerₜ = VolNormₜ.
```
• If Pₜ < Pₜ₋₁,
```
SellPowerₜ = (VolNormₜ) / exp
```
otherwise
```
SellPowerₜ = VolNormₜ.
```
Here, H₀ and L₀ are the very first bar’s High/Low—used to calibrate the scale of the dampening. If the denominator of the exponential is near zero, substitute a small epsilon (e.g. 1e-10).
\ \Step 5: Smooth Buy/Sell Power\
Apply a short EMA (n₂ bars, typically n₂=2) to each:
```
EMA_Buyₜ = EMA(BuyPower, n₂)ₜ
EMA_Sellₜ = EMA(SellPower, n₂)ₜ
```
\ \Step 6: Raw Demand Index (DI\_raw)\
```
DI_rawₜ = EMA_Buyₜ – EMA_Sellₜ
```
A positive DI\_raw indicates that buying force (normalized by volume) exceeds selling force; a negative value indicates the opposite.
\ \Step 7: Optional EMA Smoothing on DI (DI)\
To reduce choppiness, compute an EMA over DI\_raw (n₃ bars, e.g. n₃ = 1–5):
```
DIₜ = EMA(DI_raw, n₃)ₜ.
```
If n₃ = 1, DI = DI\_raw (no further smoothing).
\
\Interpretation\
\
\ \Crossing Zero Line\
• DI\_raw (or DI) crossing from below to above zero signals that cumulative buying pressure (over the chosen smoothing window) has overcome selling pressure—potential Long signal.
• Crossing from above to below zero signals dominant selling pressure—potential Short signal.
\ \DI\_raw vs. DI (EMA)\
• When DI\_raw > DI (the EMA of DI\_raw), bullish momentum is accelerating.
• When DI\_raw < DI, bullish momentum is weakening (or bearish acceleration).
\ \Divergences\
• If price makes new highs while DI fails to make higher highs (DI\_raw or DI declining), this hints at weakening buying power (“bearish divergence”), possibly preceding a reversal.
• If price makes new lows while DI fails to make lower lows (“bullish divergence”), this may signal waning selling pressure and a potential bounce.
\ \Volume Confirmation\
• A strong price move without a corresponding rise in DI often indicates low‐volume “fake” moves.
• Conversely, a modest price move with a large DI spike suggests true institutional participation—often a more reliable breakout.
\
\Usage Notes & Warnings\
\
\ \Never Use DI in Isolation\
It is a \filter\ and \confirmation\ tool—combine with price‐action (trendlines, support/resistance, candlestick patterns) and risk management (stop‐losses) before executing trades.
\ \Parameter Selection\
• \Vol EMA length (n₁)\: Commonly 13–20 bars. Shorter → more responsive to volume spikes, but noisier.
• \Buy/Sell EMA length (n₂)\: Typically 2 bars for fast smoothing.
• \DI smoothing (n₃)\: Usually 1 (no smoothing) or 3–5 for moderate smoothing. Long DI\_EMA (e.g. 20–50) gives a slower signal.
\ \Market Adaptation\
Works well in liquid futures, indices, and heavily traded stocks. In thinly traded or highly erratic markets, adjust n₁ upward (e.g., 20–30) to reduce noise.
---
\In Summary\
The Demand Index (James Sibbet) uses a three‐stage smoothing (volume → Buy/Sell Power → DI) to reveal true demand/supply imbalance. By combining normalized volume with price change, Sibbet’s DI helps traders identify momentum backed by real participation—filtering out “empty” moves and spotting early divergences. Always confirm DI signals with price action and sound risk controls before trading.
Golden Triangle Strategy (1H, Setup 1 & 2)🔺 Golden Triangle Strategy – Setup 1 & 2 with Dynamic Trailing Stop (Optimized for 1H Chart)
### 📘 Strategy Summary
This strategy blends **technical pattern recognition** with **volume confirmation** and **dynamic risk management** to capture high-probability breakouts. It features two independent entry setups . More details can be found at thepatternsite.com
I have added intelligent trailing stop that **tightens once a profit threshold is reached**. Please note that this is not mentioned in GoldenTriangle strategy. I just added to capture the profits.
### ✅ Entry Setups
#### **Setup 1 – Golden Triangle Breakout**
* Detects **triangle formations** using recent pivot highs and lows.
* A **bullish breakout** is confirmed when:
* Price **closes above the triangle top**, and
* Price is also **above the 50-period SMA**.
* Entry: At breakout candle close.
* Ideal for early momentum trades after consolidation.
#### **Setup 2 – Price + Volume Confirmation**
* Based on **mean reversion followed by volume surge**:
* Price drops **below the 50 SMA**, then closes **back above it**.
* Requires at least one **"up day"** (current close > previous close).
* Volume must be:
* Above its 50-SMA, **and**
* Higher than each of the **previous 4 days**.
* Entry: At the close of volume-confirmation day.
* Useful when triangle patterns are not clear, but accumulation is strong.
---
### 📈 Entry Logic Recap
| Condition | Setup 1 | Setup 2 |
| ------------------ | --------------------- | --------------------------------------- |
| Pattern | Triangle Breakout | SMA Reclaim + Volume Surge |
| SMA Filter | Close > 50 SMA | Price drops < 50 SMA, then closes above |
| Volume Requirement | Not Required | > Volume SMA + > last 4 bars |
| Entry Trigger | Breakout candle close | After volume confirmation |
---
### 🚪 Exit Strategy
#### 🔁 **Trailing Stop Loss (TSL)**
* **Initial stop:** 10% below the **highest price reached** after entry.
* **Tightening rule:**
* When profit reaches **10%**, the trailing stop is **tightened to 5%**.
* This keeps you in the trade while locking in more profit as the trade moves in your favor.
#### 🔻 **Manual Close**
* If the price drops below the trailing stop, the position is automatically closed using `strategy.close()`.
---
### 🌈 Visual Aids & Additions
* Green background shading while in a trade.
* Real-time dashboard showing:
* SMA values
* Entry signals
* Plots for:
* Dynamic trailing stop
* Weekly Fibonacci R3 and S3 levels as outer support/resistance zones.
---
### 🧠 Ideal Use Cases
* Works well on **1-hour charts** for intraday to short swing trades.
* Especially effective in **sideways-to-bullish markets**.
* Helps avoid false breakouts by using SMA and volume filters.
---
Tip: I also showed weekly R3 on the chart. When the price touches at this level lock your profits. You Dont have to wait until price hits trailing stop loss.
warning : This strategy is published educational purposes only.
VWAP with 4 EMAsVWAP + 4 EMA Indicator
This indicator combines the Volume Weighted Average Price (VWAP) with three customizable Exponential Moving Averages (EMAs) to provide a comprehensive view of market trend, momentum, and institutional price levels.
Features:
VWAP Line: Plots the intraday VWAP, a key indicator used by institutions to gauge fair value.
3 EMAs: Customizable short, medium, and long-term EMAs help identify trend direction and potential entry/exit points.
Flexible Settings: Easily adjust the EMA lengths and styling to suit your trading strategy.
Clean Visual Layout: Designed for clarity without cluttering your chart.
Use Cases:
Trend Confirmation: Use the VWAP as a dynamic support/resistance level, while EMAs confirm the direction and strength of the trend.
Mean Reversion & Breakouts: Identify when price is stretched from VWAP or crosses key EMAs for potential reversal or breakout trades.
Day Trading & Swing Trading: Suitable for both short-term intraday and multi-day analysis.
This tool is ideal for traders who want to blend volume-weighted price levels with moving average trend signals on a single, efficient chart.
McGinley Dynamic debugged🔍 McGinley Dynamic Debugged (Adaptive Moving Average)
This indicator plots the McGinley Dynamic, a mathematically adaptive moving average designed to reduce lag and better track price action during both trends and consolidations.
✅ Key Features:
Adaptive smoothing: The McGinley Dynamic adjusts itself based on the speed of price changes.
Lag reduction: Compared to traditional moving averages like EMA or SMA, McGinley provides smoother yet responsive tracking.
Stability fix: This version includes a robust fix for rare recursive calculation issues, particularly on low-priced historical assets (e.g., Wipro pre-2000).
⚙️ What’s Different in This Debugged Version?
Implements manual clamping on the source / previous value ratio to prevent mathematical spikes that could cause flattening or distortion in the plotted line.
Ensures more stable behavior across all instruments and timeframes, especially those with historically low price points or volatile early data.
💡 Use Case:
Ideal for:
Trend confirmation
Entry filtering
Adaptive support/resistance visualization
Improving signal precision in low-volatility or high-noise environments
⚠️ Notes:
Works best when combined with volume filters or other trend indicators for validation.
This version is optimized for visual use—for signal generation, consider pairing it with additional logic or thresholds.
♒Hurst Cycle Channel Oscillator v4.0 by IRUNTV
Hurst Cycle Channel Oscillator v4.0 by IRUNTV W/ Advanced Divergence
Short Title: HCCO_v4_IRUNTV
📜 Script Description
//Disclaimer//
* What could be considered a clone of Hurst Cycle Channel Oscillator v1.0 by Cryptorhythms with arguably some improvements, since the original was locked i opted to creating my own version with much more flexibility in mind. I also used the original Hurst Cycle Channels by Lazybear as foundation for some of my primary logic and intentionally made it visually identical to the already popular Cryptorhythms version.
// End Disclaimer //
Unlock deeper market insights with the Hurst Cycle Channel Oscillator v4.0 by IRUNTV , a sophisticated oscillator meticulously designed to visualize cyclical price movements and pinpoint potential turning points through an advanced divergence detection engine. This indicator is rooted in the foundational principles of J.M. Hurst's cycle theory, offering a nuanced view of market dynamics by illustrating how current price interacts with dynamic, Hurst-style cycle channels.
At its core, the Hurst Cycle Channel Oscillator v4.0 transforms complex cycle analysis into an intuitive oscillator format. It aims to go beyond simple overbought or oversold conditions, highlighting the inherent rhythm of the market. This can empower you to anticipate shifts in momentum and identify higher-probability trading setups with greater confidence.
This v4.0 features a significantly enhanced divergence engine capable of identifying both Regular and Hidden bullish/bearish divergences with improved accuracy and extensive user customization.
📊 What It Displays & How It Works
Main Oscillator (-F - White Line): This is your primary plot. It represents the normalized position of the selected Source price (default: close) within a dynamically calculated medium-term Hurst-style channel.
Values typically range from 0 (price at channel bottom) to 1 (price at channel top).
Values above 1.0 suggest price has broken robustly above the medium-term channel (potentially overbought or indicating strong bullish momentum).
Values below 0.0 suggest price has broken robustly below the medium-term channel (potentially oversold or indicating strong bearish momentum).
Signal Line (H F - Yellow Line): This line represents the normalized position of the short-term cycle's median within the same medium-term Hurst-style channel. It acts as a dynamic signal line, providing context to the Main Oscillator's movements.
Secondary Oscillator (L F - Aqua Line): Offers a longer-term or smoothed perspective, by default an EMA of the H F Signal Line. Its calculation method and length are configurable.
Dynamic Channels (Internal Calculation): The oscillator values are derived from channels constructed using Running Moving Averages (RMA) of price and Average True Range (ATR) for dynamic width. These calculations incorporate Hurst's concepts of half-span cycle lengths and forward displacement, aiming for a more adaptive and responsive market analysis.
Key Visual Cues:
Divergence Markers (R / H): Clearly marked on the oscillator.
R ( Regular Divergence ): Signals potential trend exhaustion and upcoming reversals.
Bullish (Green R): Price forms Lower Lows (LL) while the Main Oscillator (-F) forms Higher Lows (HL).
Bearish (Red R): Price forms Higher Highs (HH) while the Main Oscillator (-F) forms Lower Highs (LH).
H ( Hidden Divergence ): Signals potential trend continuations, often appearing during corrections.
Bullish (Green H): Price forms Higher Lows (HL) while the Main Oscillator (-F) forms Lower Lows (LL).
Bearish (Red H): Price forms Lower Highs (LH) while the Main Oscillator (-F) forms Higher Highs (HH).
Divergence Lines: Lines are automatically drawn on the oscillator connecting the two pivot points that form a confirmed divergence, providing clear visual confirmation of the pattern. A configurable maximum number of lines are displayed to maintain chart clarity.
Background Shading: The oscillator pane's background is dynamically colored to offer an at-a-glance indication of prevailing market sentiment or conditions:
Green Zones: Typically indicate bullish conditions or oscillator strength (e.g., above the mid-level or signal line).
Red Zones: Typically indicate bearish conditions or oscillator weakness.
(The script includes logic for granular shading based on user-configurable overbought/oversold warning levels and the 0.5 mid-level).
Reference Levels: Horizontal lines are plotted at 0.0, 0.5, and 1.0, along with user-configurable "Warning Levels" (defaulting to 0.2 and 0.8) to help define critical zones of interest and potential price reactions.
💡 How to Use It - Potential Strategies
The Hurst Cycle Channel Oscillator v4.0 is a versatile tool. Here are some ways it can be incorporated into your trading analysis:
Divergence Trading (Primary Use):
Regular Divergences (R): Identify these as leading indicators that an existing trend might be losing momentum and could be approaching a reversal. Always seek confirmation from other technical analysis tools or price action.
Hidden Divergences (H): These often occur during pullbacks or consolidations within an established trend, potentially signaling an opportune moment to enter in the direction of the primary trend.
Oscillator / Signal Line Crosses:
When the Main Oscillator (-F) crosses above the Signal Line (H F): Potential bullish signal or strengthening momentum.
When the Main Oscillator (-F) crosses below the Signal Line (H F): Potential bearish signal or weakening momentum.
Overbought / Oversold (OB/OS) Conditions:
Extreme Levels: osc_F > 1.0 (extreme overbought) or osc_F < 0.0 (extreme oversold) can highlight unsustainable price extensions, often preceding periods of consolidation or potential reversals.
Warning Levels: Utilize the configurable levels (e.g., 0.8 and 0.2 by default) as earlier indications of potential overbought or oversold conditions, allowing for proactive adjustments.
Mid-Level (0.5) Dynamics:
osc_F crossing above 0.5 can suggest a shift towards a more bullish market bias.
osc_F crossing below 0.5 can suggest a shift towards a more bearish market bias. The 0.5 level often acts as a dynamic support/resistance within the oscillator's range.
Trend Confirmation & Strength: The color of the background shading can serve as a quick visual guide to the dominant short-term market sentiment as interpreted by the oscillator's position and behavior.
⚙️ Key Features & Customization (by IRUNTV)
Adjustable Cycle Parameters: Fully customize the Short Term Cycle Length, Medium Term Cycle Length, and their respective Multipliers to tailor the indicator's responsiveness to different assets, volatility, and timeframes.
Customizable Source: Select your preferred input source (close, hl2, hlc3, etc.) for the core calculations.
Comprehensive Plot Customization: Toggle the visibility and personalize the colors and line styles for all major plotted elements (oscillators, signal lines, divergence markers) through an intuitive "Plot Visibility & Style" settings group.
Advanced Divergence Engine Settings:
Div Pivot Left/Right Lookback: Fine-tune the sensitivity of pivot point detection for divergences.
Max Bars Between Div Pivots: Define the maximum historical window for identifying valid divergence formations.
Max Stored Pivots for Divs: Optimize performance by managing the memory used for storing historical pivot data, while still enabling detection of relevant long-term divergences.
Max Div Lines to Show: Maintain chart clarity by controlling the number of concurrently displayed divergence lines.
Built-in Alerts: Stay informed with comprehensive, configurable alerts for:
Main Oscillator / Signal Line crosses.
All four identified types of Divergences (Regular Bullish/Bearish, Hidden Bullish/Bearish).
Oscillator crossing into user-defined Overbought/Oversold warning levels.
Oscillator breaching the extreme 0.0 or 1.0 channel boundaries.
⚠️ Disclaimer
The "Hurst Cycle Channel Oscillator v4.0 by IRUNTV" is provided for educational and informational purposes only and does not constitute financial advice or a recommendation to buy or sell any asset. Trading and investing in financial markets involve substantial risk of loss. Past performance is not indicative of future results. All users should conduct their own thorough research, backtesting, and due diligence before making any trading or investment decisions. Use this tool responsibly and as part of a comprehensive trading strategy. IRUNTV assumes no liability for any trading or investment decisions made based on this indicator.
Commodity Trend Reactor [BigBeluga]
🔵 OVERVIEW
A dynamic trend-following oscillator built around the classic CCI, enhanced with intelligent price tracking and reversal signals.
Commodity Trend Reactor extends the traditional Commodity Channel Index (CCI) by integrating trend-trailing logic and reactive reversal markers. It visualizes trend direction using a trailing stop system and highlights potential exhaustion zones when CCI exceeds extreme thresholds. This dual-level system makes it ideal for both trend confirmation and mean-reversion alerts.
🔵 CONCEPTS
Based on the CCI (Commodity Channel Index) oscillator, which measures deviation from the average price.
Trend bias is determined by whether CCI is above or below user-defined thresholds.
Trailing price bands are used to lock in trend direction visually on the main chart.
Extreme values beyond ±200 are treated as potential reversal zones.
🔵 FEATURES\
CCI-Based Trend Shifts:
Triggers a bullish bias when CCI crosses above the upper threshold, and bearish when it crosses below the lower threshold.
Adaptive Trailing Stops:
In bullish mode, a trailing stop tracks the lowest price; in bearish mode, it tracks the highest.
Top & Bottom Markers:
When CCI surpasses +200 or drops below -200, it plots colored squares both on the oscillator and on price, marking potential reversal zones.
Background Highlights:
Each time a trend shift occurs, the background is softly colored (lime for bullish, orange for bearish) to highlight the change.
🔵 HOW TO USE
Use the oscillator to monitor when CCI crosses above or below threshold values to detect trend activation.
Enter trades in the direction of the trailing band once the trend bias is confirmed.
Watch for +200 and -200 square markers as warnings of potential mean reversals.
Use trailing stop areas as dynamic support/resistance to manage stop loss and exit strategies.
The background color changes offer clean confirmation of trend transitions on chart.
🔵 CONCLUSION
Commodity Trend Reactor transforms the simple CCI into a complete trend-reactive framework. With real-time trailing logic and clear reversal alerts, it serves both momentum traders and contrarian scalpers alike. Whether you’re trading breakouts or anticipating mean reversions, this indicator provides clarity and structure to your decision-making.
Bullish Bearish Signal with EMA Color + LabelsThis script generates clear BUY and SELL signals based on a combination of trend direction, momentum, and confirmation from multiple indicators. It is intended to help traders identify strong bullish or bearish conditions using commonly trusted tools: EMA 200, MACD, and RSI.
🔍 How it works:
The strategy combines three key elements:
EMA 200 Trend Filter
Identifies the long-term trend:
Price above EMA200 → Bullish trend bias
Price below EMA200 → Bearish trend bias
The EMA line is color-coded:
🔵 Blue for bullish
🔴 Red for bearish
⚪ Gray for neutral/unclear
MACD Crossover
Detects shifts in market momentum:
Bullish: MACD line crosses above signal line
Bearish: MACD line crosses below signal line
RSI Confirmation
Adds an extra layer of confirmation:
Bullish: RSI is above its signal line
Bearish: RSI is below its signal line
✅ Signal Logic:
BUY Signal appears when:
Price > EMA200
MACD crosses up
RSI > its signal line
SELL Signal appears when:
Price < EMA200
MACD crosses down
RSI < its signal line
Labels will appear on the chart to highlight these events.
🔔 Alerts:
The script includes alerts for both Buy and Sell conditions, so you can be notified in real-time when they occur.
📈 How to Use:
Best used in trending markets.
Recommended for higher timeframes (1H and above).
May be combined with other tools such as support/resistance or candlestick analysis.
⚠️ Disclaimer: This script is intended for educational purposes only and does not constitute financial advice or a trading recommendation.
The Ultimate Trend FinderThe Ultimate Trend Finder is an advanced all-in-one trend analysis toolkit built for traders who want deeper insights into price structure, trend strength, and reversal patterns. It combines traditional pivot-based analysis with dynamic trendline projections and candlestick pattern recognition.
🔹 Core Features:
Swing High/Low Detection
Automatically identifies significant swing highs and lows using customizable pivot length.
Trendline Connections
Connects pivots with color-coded trendlines to visualize higher highs/lows or lower highs/lows.
Green lines: Uptrend connections
Maroon lines: Downtrend connections
Extended Trendline Projections
Projects support/resistance zones forward using slope analysis based on:
ATR
Standard Deviation
Linear Regression
Or a Combined Method with custom weightings
Candlestick Pattern Labels
Recognizes key reversal patterns like Hammers, Engulfings, Shooting Stars, and more—displayed directly on pivot points for quick interpretation.
ADX-Based Filtering
Optionally filters extended trendlines by trend strength using Average Directional Index (ADX). Breakouts through these lines dynamically change their color and style, signaling potential momentum shifts.
🛠 Customization:
Choose pivot sensitivity
Customize colors, trendline width, and visibility
Enable/disable pattern detection, backpainting, and filtering logic
This tool is ideal for traders seeking an edge in both trending and ranging markets. Whether you're identifying potential breakout zones, confirming trend direction, or spotting early reversals, The Ultimate Trend Finder delivers powerful visual clarity and adaptability.
Mandelbrot-Fibonacci Cascade Vortex (MFCV)Mandelbrot-Fibonacci Cascade Vortex (MFCV) - Where Chaos Theory Meets Sacred Geometry
A Revolutionary Synthesis of Fractal Mathematics and Golden Ratio Dynamics
What began as an exploration into Benoit Mandelbrot's fractal market hypothesis and the mysterious appearance of Fibonacci sequences in nature has culminated in a groundbreaking indicator that reveals the hidden mathematical structure underlying market movements. This indicator represents months of research into chaos theory, fractal geometry, and the golden ratio's manifestation in financial markets.
The Theoretical Foundation
Mandelbrot's Fractal Market Hypothesis Traditional efficient market theory assumes normal distributions and random walks. Mandelbrot proved markets are fractal - self-similar patterns repeating across all timeframes with power-law distributions. The MFCV implements this through:
Hurst Exponent Calculation: H = log(R/S) / log(n/2)
Where:
R = Range of cumulative deviations
S = Standard deviation
n = Period length
This measures market memory:
H > 0.5: Trending (persistent) behavior
H = 0.5: Random walk
H < 0.5: Mean-reverting (anti-persistent) behavior
Fractal Dimension: D = 2 - H
This quantifies market complexity, where higher dimensions indicate more chaotic behavior.
Fibonacci Vortex Theory Markets don't move linearly - they spiral. The MFCV reveals these spirals using Fibonacci sequences:
Vortex Calculation: Vortex(n) = Price + sin(bar_index × φ / Fn) × ATR(Fn) × Volume_Factor
Where:
φ = 0.618 (golden ratio)
Fn = Fibonacci number (8, 13, 21, 34, 55)
Volume_Factor = 1 + (Volume/SMA(Volume,50) - 1) × 0.5
This creates oscillating spirals that contract and expand with market energy.
The Volatility Cascade System
Markets exhibit volatility clustering - Mandelbrot's "Noah Effect." The MFCV captures this through cascading volatility bands:
Cascade Level Calculation: Level(i) = ATR(20) × φ^i
Each level represents a different fractal scale, creating a multi-dimensional view of market structure. The golden ratio spacing ensures harmonic resonance between levels.
Implementation Architecture
Core Components:
Fractal Analysis Engine
Calculates Hurst exponent over user-defined periods
Derives fractal dimension for complexity measurement
Identifies market regime (trending/ranging/chaotic)
Fibonacci Vortex Generator
Creates 5 independent spiral oscillators
Each spiral follows a Fibonacci period
Volume amplification creates dynamic response
Cascade Band System
Up to 8 volatility levels
Golden ratio expansion between levels
Dynamic coloring based on fractal state
Confluence Detection
Identifies convergence of vortex and cascade levels
Highlights high-probability reversal zones
Real-time confluence strength calculation
Signal Generation Logic
The MFCV generates two primary signal types:
Fractal Signals: Generated when:
Hurst > 0.65 (strong trend) AND volatility expanding
Hurst < 0.35 (mean reversion) AND RSI < 35
Trend strength > 0.4 AND vortex alignment
Cascade Signals: Triggered by:
RSI > 60 AND price > SMA(50) AND bearish vortex
RSI < 40 AND price < SMA(50) AND bullish vortex
Volatility expansion AND trend strength > 0.3
Both signals implement a 15-bar cooldown to prevent overtrading.
Advanced Input System
Mandelbrot Parameters:
Cascade Levels (3-8):
Controls number of volatility bands
Crypto: 5-7 (high volatility)
Indices: 4-5 (moderate volatility)
Forex: 3-4 (low volatility)
Hurst Period (20-200):
Lookback for fractal calculation
Scalping: 20-50
Day Trading: 50-100
Swing Trading: 100-150
Position Trading: 150-200
Cascade Ratio (1.0-3.0):
Band width multiplier
1.618: Golden ratio (default)
Higher values for trending markets
Lower values for ranging markets
Fractal Memory (21-233):
Fibonacci retracement lookback
Uses Fibonacci numbers for harmonic alignment
Fibonacci Vortex Settings:
Spiral Periods:
Comma-separated Fibonacci sequence
Fast: "5,8,13,21,34" (scalping)
Standard: "8,13,21,34,55" (balanced)
Extended: "13,21,34,55,89" (swing)
Rotation Speed (0.1-2.0):
Controls spiral oscillation frequency
0.618: Golden ratio (balanced)
Higher = more signals, more noise
Lower = smoother, fewer signals
Volume Amplification:
Enables dynamic spiral expansion
Essential for stocks and crypto
Disable for forex (no central volume)
Visual System Architecture
Cascade Bands:
Multi-level volatility envelopes
Gradient coloring from primary to secondary theme
Transparency increases with distance from price
Fill between bands shows fractal structure
Vortex Spirals:
5 Fibonacci-period oscillators
Blue above price (bullish pressure)
Red below price (bearish pressure)
Multiple display styles: Lines, Circles, Dots, Cross
Dynamic Fibonacci Levels:
Auto-updating retracement levels
Smart update logic prevents disruption near levels
Distance-based transparency (closer = more visible)
Updates every 50 bars or on volatility spikes
Confluence Zones:
Highlighted boxes where indicators converge
Stronger confluence = stronger support/resistance
Key areas for reversal trades
Professional Dashboard System
Main Fractal Dashboard: Displays real-time:
Hurst Exponent with market state
Fractal Dimension with complexity level
Volatility Cascade status
Vortex rotation impact
Market regime classification
Signal strength percentage
Active indicator levels
Vortex Metrics Panel: Shows:
Individual spiral deviations
Convergence/divergence metrics
Real-time vortex positioning
Fibonacci period performance
Fractal Metrics Display: Tracks:
Dimension D value
Market complexity rating
Self-similarity strength
Trend quality assessment
Theory Guide Panel: Educational reference showing:
Mandelbrot principles
Fibonacci vortex concepts
Dynamic trading suggestions
Trading Applications
Trend Following:
High Hurst (>0.65) indicates strong trends
Follow cascade band direction
Use vortex spirals for entry timing
Exit when Hurst drops below 0.5
Mean Reversion:
Low Hurst (<0.35) signals reversal potential
Trade toward vortex spiral convergence
Use Fibonacci levels as targets
Tighten stops in chaotic regimes
Breakout Trading:
Monitor cascade band compression
Watch for vortex spiral alignment
Volatility expansion confirms breakouts
Use confluence zones for targets
Risk Management:
Position size based on fractal dimension
Wider stops in high complexity markets
Tighter stops when Hurst is extreme
Scale out at Fibonacci levels
Market-Specific Optimization
Cryptocurrency:
Cascade Levels: 5-7
Hurst Period: 50-100
Rotation Speed: 0.786-1.2
Enable volume amplification
Stock Indices:
Cascade Levels: 4-5
Hurst Period: 80-120
Rotation Speed: 0.5-0.786
Moderate cascade ratio
Forex:
Cascade Levels: 3-4
Hurst Period: 100-150
Rotation Speed: 0.382-0.618
Disable volume amplification
Commodities:
Cascade Levels: 4-6
Hurst Period: 60-100
Rotation Speed: 0.5-1.0
Seasonal adjustment consideration
Innovation and Originality
The MFCV represents several breakthrough innovations:
First Integration of Mandelbrot Fractals with Fibonacci Vortex Theory
Unique synthesis of chaos theory and sacred geometry
Novel application of Hurst exponent to spiral dynamics
Dynamic Volatility Cascade System
Golden ratio-based band expansion
Multi-timeframe fractal analysis
Self-adjusting to market conditions
Volume-Amplified Vortex Spirals
Revolutionary spiral calculation method
Dynamic response to market participation
Multiple Fibonacci period integration
Intelligent Signal Generation
Cooldown system prevents overtrading
Multi-factor confirmation required
Regime-aware signal filtering
Professional Analytics Dashboard
Institutional-grade metrics display
Real-time fractal analysis
Educational integration
Development Journey
Creating the MFCV involved overcoming numerous challenges:
Mathematical Complexity: Implementing Hurst exponent calculations efficiently
Visual Clarity: Displaying multiple indicators without cluttering
Performance Optimization: Managing array operations and calculations
Signal Quality: Balancing sensitivity with reliability
User Experience: Making complex theory accessible
The result is an indicator that brings PhD-level mathematics to practical trading while maintaining visual elegance and usability.
Best Practices and Guidelines
Start Simple: Use default settings initially
Match Timeframe: Adjust parameters to your trading style
Confirm Signals: Never trade MFCV signals in isolation
Respect Regimes: Adapt strategy to market state
Manage Risk: Use fractal dimension for position sizing
Color Themes
Six professional themes included:
Fractal: Balanced blue/purple palette
Golden: Warm Fibonacci-inspired colors
Plasma: Vibrant modern aesthetics
Cosmic: Dark mode optimized
Matrix: Classic green terminal
Fire: Heat map visualization
Disclaimer
This indicator is for educational and research purposes only. It does not constitute financial advice. While the MFCV reveals deep market structure through advanced mathematics, markets remain inherently unpredictable. Past performance does not guarantee future results.
The integration of Mandelbrot's fractal theory with Fibonacci vortex dynamics provides unique market insights, but should be used as part of a comprehensive trading strategy. Always use proper risk management and never risk more than you can afford to lose.
Acknowledgments
Special thanks to Benoit Mandelbrot for revolutionizing our understanding of markets through fractal geometry, and to the ancient mathematicians who discovered the golden ratio's universal significance.
"The geometry of nature is fractal... Markets are fractal too." - Benoit Mandelbrot
Revealing the Hidden Order in Market Chaos Trade with Mathematical Precision. Trade with MFCV.
— Created with passion for the TradingView community
Trade with insight. Trade with anticipation.
— Dskyz , for DAFE Trading Systems
Adaptive Dual EMA Trend Filter# Adaptive Dual EMA Trend Filter
This indicator colors the EMA based on trend direction and shows buy/sell arrows based on trend shifts. Ideal for trend-following traders who want fast visual confirmation.
### Features:
- EMA color switches: **green for bullish**, **red for bearish**
- Automatic Buy/Sell signals based on trend reversal
- Works on all timeframes and assets
- Lightweight and fast
### How it works:
- EMA is calculated from the selected source
- If price is above the EMA → uptrend (green)
- If price is below the EMA → downtrend (red)
- Arrows mark transition points for possible entries/exits
---
🛠 Suggested usage:
- Combine with volume or momentum indicators
- Confirm with support/resistance zones
- Use alerts (customizable) for trend flips
---
If you find this helpful – give it a ⭐ and follow for more PineScript tools!
Ensemble Consensus System
The Ensemble Consensus System (ECS) brings a **Random Forest-style ensemble vote** to Pine Script: five orthogonal "expert" strategies each cast a bull/bear vote (+1/-1/0), and only high-confidence consensus moves become signals—dramatically reducing noise while capturing strong directional moves.
## What Makes This Original
ECS is the first Pine Script indicator to implement true machine learning-style ensemble voting. Rather than relying on a single methodology, five independent experts analyze different market dimensions:
• **Trend Expert**: Multi-timeframe EMA alignment analysis
• **Momentum Expert**: RSI/MACD/Stochastic confluence with consistency filters
• **Volume Expert**: Proprietary volume pressure + OBV confirmation
• **Volatility Expert**: Bollinger Band mean reversion opportunities
• **Structure Expert**: Adaptive pivot-based support/resistance detection
## How It Works
The system requires consensus among experts, with an **adaptive threshold** based on market volatility:
| Volatility Regime | ATR/Close | Votes Required |
|-------------------|-----------|----------------|
| Low Volatility | <1% | 2+ |
| Normal Markets | 1-2% | 3+ |
| High Volatility | >2% | 4+ |
This dynamic adjustment prevents overtrading in choppy conditions while maintaining responsiveness during strong trends.
## Key Features
### Signals
• **Visual entry points** with strength percentage (60% = 3/5 experts agree)
• **Adaptive thresholds** that adjust to market conditions
• **Multi-expert consensus** reduces false signals
### Risk Control
• **Dynamic stop-loss/take-profit** based on ATR
• **Regime-adjusted targets** (±50% in volatile markets)
• **Visual SL/TP lines** with exact price labels
### Analytics
• **Real-time vote panel** showing each expert's stance
• **Performance tracking** with win rate and P/L
• **Market regime indicator** (Trending/Ranging/Volatile)
• **Light Mode** for better performance on slower systems
## How to Use
1. **Apply ECS** to a liquid instrument on 15m-4H timeframe (best: 1H)
2. **Wait for signal** - green ▲ for long, red ▼ for short with strength %
3. **Verify votes** - check panel to see which experts agree
4. **Execute trade** using the displayed SL/TP levels
5. **Monitor regime** - be cautious if market regime changes
### Quick Start Settings
• **Standard Trading**: Use defaults (3 votes, adaptive mode ON)
• **Conservative**: Increase to 4 votes minimum
• **Aggressive**: Reduce to 2 votes, tighten stops
## Important Limitations
• **Chart Types**: Not compatible with Renko/Heikin-Ashi
• **Volume Data**: Requires reliable volume (forex pairs may underperform)
• **News Events**: Signals may lag during gaps/major announcements
• **Processing**: Heavy calculations - use Light Mode if needed
## Settings Guide
**Ensemble Controls**
• `Minimum Votes` (default: 3): Base threshold before volatility adjustment
• `Adaptive Mode` (default: ON): Auto-adjusts threshold by market volatility
**Visual Options**
• `Vote Panel`: Live expert voting display
• `Performance Stats`: Win rate and trade tracking
• `Light Mode`: Disables heavy visuals for speed
**Risk Parameters**
• `Stop Multiplier` (default: 2.0): ATR multiple for stop-loss
• `TP Multiplier` (default: 3.0): ATR multiple for take-profit
• `Dynamic TP` (default: ON): Adjusts targets by market regime
## Troubleshooting
**Too few signals?**
→ Lower minimum votes or check if market is ranging
**Indicator running slow?**
→ Enable Light Mode, disable performance tracking
**Weird volume votes?**
→ Verify your symbol has accurate volume data
## Technical Concepts
The ensemble approach mimics **Random Forest algorithms** where multiple decision trees vote on outcomes. By requiring agreement among experts using orthogonal methodologies, ECS filters out signals that would fail under different market lenses. The adaptive threshold addresses fixed-parameter weakness by dynamically adjusting selectivity based on volatility.
• Adaptive pivot lookback for dynamic structure detection
• Safe volume pressure calculation preventing division errors
• Momentum consistency filter reducing choppy false signals
• Unified dashboard merging vote panel + performance stats
• Regime-based dynamic take-profit adjustment
*Educational indicator demonstrating ensemble methods in Pine Script. No guarantee of future performance. Always use proper risk management and position sizing.*
Session Extremes High/Low ZonesThis indicator highlights the High and Low of the three main trading sessions: Asia, London, and New York, based on configurable time ranges and UTC offset.
It also displays the previous day's and previous week's High and Low as dynamic lines with labels for reference.
🛠️ Features:
Customizable session times (HHMM-HHMM format)
Adjustable UTC offset for correct timezone alignment
Styling options for line colors, widths, styles and transparency
Optional session range shading
🔎 Ideal for traders who use intraday support/resistance levels or want to visualize volatility zones during different sessions.
Built with Pine Script v5. No alerts or trading signals included.
This script is intended for educational and informational purposes only.
Elliott Wave + Fib Levels w/Alerts [Enhanced]Elliott Wave + Fibonacci Levels with Alerts
This powerful TradingView indicator combines Elliott Wave detection with customizable Fibonacci retracement levels to help identify key price zones and potential trade opportunities. It automatically detects bullish and bearish waves based on recent highs and lows, with an optional EMA filter to improve trend accuracy.
Key features include:
Dynamic detection of Elliott Waves based on configurable wave length.
Visualization of Fibonacci retracement levels on detected waves, with customizable percentage levels and optional labels for clarity.
ATR-based automatic calculation of stop loss and take profit levels with adjustable multipliers.
Real-time alerts triggered on new wave formations, indicating bullish or bearish setups with precise entry price details.
Clean plotting of entry signals, stop loss, and take profit zones directly on the chart.
User-friendly input controls to tailor the indicator to your trading style, including options to toggle EMA filtering, Fibonacci level display, and alert activation.
Ideal for traders looking to combine classic wave analysis with Fibonacci support/resistance levels and actionable trade alerts, this indicator streamlines technical analysis and trade management in one easy-to-use tool.
ScalpZone NQ 1M - Volume Signals with Highlight Box📊 ScalpZone NQ 1M - Volume Signals with Highlight Box
ScalpZone is a professional-grade indicator designed specifically for 1-minute scalping on Nasdaq Futures (NQ), focusing on high-volume price action zones. It automatically detects aggressive buying/selling activity based on volume spikes and visualizes potential entry zones with dynamic horizontal lines and price boxes.
🔍 Key Features:
Volume Spike Detection: Identifies high-volume candles using an adjustable EMA-based volume threshold.
Directional Volume Signals: Highlights candles with directional momentum (bullish or bearish) based on real-time volume dominance.
Scalp Zone Visualization:
Draws horizontal support/resistance lines at volume signal prices.
Renders price boxes around those levels to highlight actionable zones.
Zones automatically extend when respected by price, and disappear when invalidated.
Visual Candle Enhancement: Dynamically colors candles to reflect normalized volume intensity and direction.
Customizable Parameters:
Volume EMA & threshold multiplier
Line and box dimensions
Toggle zone visibility
🛠️ Use Case:
Perfect for scalpers and short-term traders looking to exploit volume-based reversals or breakout traps on the NQ 1-minute chart. Traders can use the visual cues to time entries, manage stops, or validate confluence with other tools (e.g., order flow, delta spikes, or footprint charts).
4 colour MACD with Delta % + Div LabelMACD 4C + Delta % + Divergence Label
This advanced MACD-based indicator is designed for professional traders seeking enhanced momentum analysis with visual clarity. It offers a multi-faceted view of MACD behavior with real-time insights into trend strength, acceleration, and divergence signals.
Key Features:
4-Color MACD Histogram:
Visually distinguishes between rising and falling MACD bars in both bullish and bearish zones for quicker momentum assessment.
Delta % Labels:
Each bar displays the percentage change in MACD compared to the previous bar, providing instant feedback on MACD acceleration and shift in momentum.
Automatic Divergence Detection:
Identifies regular bullish and bearish divergences using pivot-based logic. Displays clear, compact labels near MACD bars to highlight potential reversal zones.
Clean, Minimalist Design:
Divergence labels are sized for readability and positioned to avoid overlapping with MACD data, ensuring clean chart presentation.
No repainting or lag:
All divergence calculations are based on confirmed pivots, ensuring reliable signal generation without false alerts.
This tool is ideal for scalpers, swing traders, and momentum traders who rely on MACD dynamics for precise timing and directional bias. Use it to improve your entry and exit accuracy by combining traditional MACD signals with real-time volume and divergence insight.
🔹 Usage Notes
Recommended Timeframes:
Works well on all timeframes. For scalping, use 1m–5m; for swing trading, use 15m–1H+.
Best for:
Traders looking for a fast, visual way to assess trend strength and spot divergence-based reversal opportunities.
Pair With:
Can be used alongside price action, volume profile, RSI, or order flow-based indicators for confirmation.
How to Read:
Green/Red MACD bars indicate bullish/bearish momentum.
Delta % shows MACD change rate — increasing positive delta = strengthening trend.
Arrows/text labels signal potential divergence — pay attention when divergence aligns with support/resistance or price structure.
Notes:
No repainting — divergence is only drawn after pivots are confirmed.
All labels are automatically managed for clean display.
Can be customized further for hidden divergences or alert integration.
Pin Bar Highlighter OnlyAbsolutely — here’s a full **description and breakdown** of what the script does:
---
## 📜 Script Name:
**"Pin Bar Highlighter Only"**
---
## 🎯 Purpose:
This script **detects and highlights classic pin bar reversal candles** directly on the chart — without plotting any entry, stop loss, or take profit levels.
It’s designed for traders who:
* Want to manually assess trades
* Prefer a clean chart
* Use pin bar price action as a signal for potential reversals
---
## ✅ What It Does:
* **Scans each candle** to check if it qualifies as a **bullish** or **bearish pin bar**
* If valid:
* Plots a **green triangle below** bullish pin bars
* Plots a **red triangle above** bearish pin bars
* Keeps your chart **minimal and uncluttered**
---
## 📌 How It Detects a Pin Bar:
### 🔹 1. Candle Structure:
* Measures the total candle range: `high - low`
* Calculates the **body size**: `abs(close - open)`
* Calculates the **upper and lower wick sizes**
### 🔹 2. Pin Bar Criteria:
* The **wick (nose)** must be at least **2/3 of the total candle length**
* The **body** must be small — **≤ 1/3** of the total range
* The **body** must be located at **one end** of the candle
* The wick must **pierce the high/low** of the previous candle
---
## 📍 Bullish Pin Bar Requirements:
* Close > Open (green candle)
* Lower wick ≥ 66% of candle range
* Body ≤ 33% of range
* Candle **makes a new low** (current low < previous low)
### 📍 Bearish Pin Bar Requirements:
* Close < Open (red candle)
* Upper wick ≥ 66% of candle range
* Body ≤ 33% of range
* Candle **makes a new high** (current high > previous high)
---
## 🖼️ Visual Output:
* 🔻 Red triangle **above** bearish pin bars
* 🔺 Green triangle **below** bullish pin bars
---
## 🛠️ Example Use Cases:
* Identify **reversal points** at support/resistance
* Confirm signals with **VWAP**, supply/demand zones, or AVWAP (manually plotted)
* Use in **conjunction with other strategies** — without clutter
---
TEMA with Slope Color [MrBuCha]This TEMA indicator is particularly useful for trend following strategies. The key innovation here is using a higher timeframe (default 1-hour) to get a broader perspective on the trend direction, while the color-coding makes it immediately obvious whether the momentum is bullish (blue) or bearish (orange).
The 200-period length makes this more suitable for swing trading rather than day trading, as it filters out short-term noise and focuses on significant trend movements.
//
What is TEMA and How Does It Work?
TEMA (Triple Exponential Moving Average) is a technical indicator that builds upon the standard EMA to reduce lag and provide faster response to price changes. The calculation process is:
EMA1 = EMA of closing price with specified length
EMA2 = EMA of EMA1 with the same length
EMA3 = EMA of EMA2 with the same length
TEMA = 3 × (EMA1 - EMA2) + EMA3
This formula helps reduce the lag inherent in smoothing calculations, making TEMA more responsive to price movements compared to other moving averages.
Default Values
Length: 200 periods
Timeframe: "60" (1 hour)
Slope Colors
Blue: When TEMA is trending upward (tema_current > tema_previous)
Orange: When TEMA is trending downward (tema_current ≤ tema_previous)
Pros and Cons Summary
Advantages:
Fast Response: Reduces lag better than SMA and regular EMA
Easy to Use: Color-coded slope makes trend direction immediately visible
Multi-timeframe Capability: Can display TEMA from higher timeframes
Trend Following: Excellent for identifying trend direction
Visual Clarity: Clear color signals help with quick decision making
Disadvantages:
False Signals: Prone to whipsaws in sideways/choppy markets
Noise in Volatility: Frequent color changes during high volatility periods
Not Suitable for Scalping: Length of 200 is quite long for short-term trading
Still Lagging: Despite improvements, it remains a lagging indicator
Requires Confirmation: Should be used with other indicators for better accuracy
Best Use Cases:
Medium to long-term trend following
Identifying major trend changes
Multi-timeframe analysis
Combine with momentum oscillators for confirmation
Trading Tips:
Wait for color confirmation before entering trades
Use higher timeframe TEMA for overall trend bias
Combine with support/resistance levels
Avoid trading during consolidation periods
Cap's Dual Auto Fib RetracementThis will draw both a bullish retracement and a bearish retracement. It's defaulted to just show the 0.618 level as I feel like this is the "make or break" level.
- A close below the bullish 0.618 retracement would be considered very bearish.
- A close above the bearish 0.618 would be considered very bullish.
(You can still configure whichever levels you want, however.)
This script was removed by TradingView last time it was published. I couldn't find another script that would provide both bearish/bullish retracements, so I'm assuming this is "original" enough. Maybe it was removed because the description wasn't long enough, so...
Detailed Description:
This indicator automatically plots Fibonacci retracement levels based on zigzag pivot points for both bullish (low-to-high) and bearish (high-to-low) price movements. It identifies key pivot points using a customizable deviation multiplier and depth setting, then draws Fibonacci levels (0, 0.236, 0.382, 0.5, 0.618, 0.786, 1) with user-defined visibility and colors for each level.
Features:
Deviation: Adjusts sensitivity for detecting pivots (default: 2).
Depth: Sets minimum bars for pivot calculation (default: 10).
Extend Lines: Option to extend lines left, right, or both.
Show Prices/Levels: Toggle price and level labels, with options for value or percentage display.
Labels Position: Choose left or right label placement.
Background Transparency: Customize fill transparency between levels.
Alerts: Triggers when price crosses any Fibonacci level.
Usage: Apply to any chart to visualize potential support/resistance zones. Adjust settings to suit your trading style. Requires sufficient data; use lower timeframes or reduce depth if pivots are not detected.
Note: This is a technical analysis tool and does not provide trading signals or financial advice. Always conduct your own research.
Multi-Timeframe Opening Dots with PlotcharPlot clean, smart dots that mark where the real action starts — the opening levels of the three higher timeframes above your current chart.
How it works:
Automatically grabs the next 3 higher timeframes.
Drops a slick dot right at each opening price — but only while that bar is still active.
Color-coded at a glance: Price above open? → green dot. Price below open? → red dot.
Why it’s useful: Get instant visual cues on higher timeframe opens — powerful markers for support, resistance, and directional bias.
Perfect for intraday traders and swing strategists who want to stay synced with the big picture.