Smart Money Concepts + Fibonacci + EMA - AI Enhanced Analysis### █ OVERVIEW
This indicator is not just another "all-in-one" tool; it's a **specialized data visualization layer designed for the new era of AI-driven chart analysis**. The primary purpose of the **"NarmoonAI"** indicator is to structure and display key market information in a clean, consistent, and machine-readable format.
Standard charts can be noisy and ambiguous for AI Vision models (like Google's Gemini or OpenAI's GPT-4). This script solves that problem by consolidating the most crucial technical analysis concepts—Smart Money Concepts, Trend Analysis, and Key Levels—into a clear visual language that an AI can easily interpret from a single screenshot.
This approach allows traders to leverage the power of artificial intelligence for faster, more objective, and deeper market analysis. It's designed to work seamlessly with our custom AI assistant, the **NarmoonAI Telegram Bot**, but can be used with any modern AI vision tool.
---
### █ CORE COMPONENTS & LOGIC
This indicator is a "mashup" with a clear purpose: to create a comprehensive yet clean analytical framework. Here is how each component contributes to the overall goal of AI-enhanced analysis:
**1. Smart Money Concepts (Supply & Demand Zones):**
* **How it works:** The script automatically identifies significant market turning points by detecting swing highs and lows using `ta.pivothigh` and `ta.pivotlow` over a user-defined `Swing Length`. These pivots form the basis of our Supply (resistance) and Demand (support) zones.
* **The "Smart" Edge:** To filter out weaker zones, the indicator analyzes the volume profile. Zones that are formed during periods of high volume (defined as >1.5x the 20-period simple moving average of volume) are highlighted in a stronger, more vibrant color. This signals areas of high institutional interest, a key concept in Smart Money analysis.
**2. Multi-Layered Trend Analysis (Exponential Moving Averages - EMAs):**
* **How it works:** We've included a customizable suite of four essential EMAs (20, 50, 100, and 200). These are not just random lines; they provide an instant visual reference for short, medium, and long-term trend direction and dynamic support/resistance.
* **Why it's useful for AI:** An AI can instantly parse the order and slope of these EMAs. For example, it can identify a strong uptrend when the price is above the 20 EMA, which is above the 50 EMA, and so on.
**3. Automatic Fibonacci Retracement:**
* **How it works:** Manually drawing Fibonacci levels is subjective and time-consuming. This script automates the process by identifying the highest high and lowest low over a `Fibonacci Lookback Period` (defaulting to 100 bars) and automatically plots the key retracement levels (0.236, 0.382, 0.5, 0.618, 0.786).
* **Why it's useful for AI:** It provides objective, universally recognized potential support and resistance levels without any manual drawing, ensuring a clean and consistent chart for analysis.
**4. Dynamic Trend Channels:**
* **How it works:** The indicator automatically draws trend channels by connecting the two most recent significant pivot highs (for a downtrend channel) or pivot lows (for an uptrend channel).
* **The "Dynamic" Edge:** The width of the channel is not fixed. It's dynamically calculated using the Average True Range (ATR), allowing the channel to expand and contract based on the market's current volatility. This provides a much more adaptive and realistic view of the trend's boundaries.
---
### █ HOW TO USE THIS INDICATOR
There are two primary ways to use the NarmoonAI indicator:
**A) For AI-Powered Analysis (Recommended):**
1. Apply the **NarmoonAI** indicator to any chart.
2. Take a clean screenshot of your chart.
3. Upload the image to your preferred AI Vision model (e.g., Gemini, ChatGPT) or, for the best results, use our specialized **NarmoonAI Telegram bot**.
4. Ask the AI for a detailed analysis. **Example Prompts:**
* *"Based on this chart, what is the current market structure? Identify key support and resistance levels."*
* *"Is there a potential long setup forming according to the information from the NarmoonAI indicator?"*
* *"Summarize the trend direction and strength using the EMAs and trend channels shown."*
**B) For Manual Trading:**
Traders can use the confluence of signals for high-probability setups:
* **High-Probability Long:** Look for the price to enter a **Strong Demand Zone** that aligns with a key **Fibonacci level** (e.g., 0.618) and is respected by a major **EMA** (e.g., the 50 or 100 EMA).
* **High-Probability Short:** Look for the price to test a **Strong Supply Zone** near the top of a **descending trend channel**, with EMAs confirming the bearish momentum.
---
*This script was created by NarmoonAI to bridge the gap between traditional technical analysis and the powerful capabilities of modern artificial intelligence. We believe this is the future of trading analysis.*
Trend Analysis
QQQ NQ NDX SPY SPX ES Price Convert Overlay
_____________________________________________________________________
QQQ NQ NDX SPY SPX ES Price Convert Overlay Indicator
____________________
This 'Prices Overlay' indicator is a minimalist tool for traders who want to track and compare Nasdaq and S&P 500 instruments quickly and clearly, boosting efficiency and decision-making with minimal distraction.
How to Use It
____________________
Add the indicator onto your TradingView chart.
Adjust your Right Margin in TradingView Settings > Canvas to show as much or as little of the line as you want, based on the "Price Buffer" indicator setting.
Select which instruments to overlay (e.g., QQQ, SPX).
Adjust levels, buffer, font, transparency, and update interval.
Features and Functions
____________________
1. Automatic Ticker Detection:
The indicator identifies the ticker of your current chart (e.g., NQ, ES, SPY).
It then shows price levels for related instruments, eg:
On an NQ or MNQ chart, it can display QQQ or NDX levels.
On an ES or MES chart, it can display SPY or SPX levels.
...and vice versa
2. Adjustable Number of Levels
You can choose how many price levels to show, from 10 to 100.
This lets you decide how much detail you want based on your trading needs.
3. Visual Customization
Price Buffer: Move the lines and labels horizontally closer/further price action.
Font Size: Pick from "Tiny," "Small," or "Normal" for label text size.
Line Transparency: Adjust the opacity of the lines (0% = solid, 100% = invisible) to blend them with your chart.
4. Support for Micro Futures
Works with both regular futures (NQ, ES) and micro futures (MNQ, MES), perfect for traders using smaller contract sizes.
5. Update Frequency
Set how often the price levels refresh, from every 5 seconds to every 60 seconds.
This keeps the data current without slowing down your chart.
6. Accurate Price Conversion
Uses specific multipliers for each instrument (e.g., 100.0 for NDX and SPX, 1.0 for QQQ and SPY) to calculate and display price levels correctly.
Fetches real-time prices and converts them to match your chart’s scale.
Price conversions courtesy of PtGambler.
Benefits
____________________
Easier Analysis: See how prices from different instruments line up on one chart—no need for multiple screens or math.
Customizable: Turn on/off instruments and tweak visuals to fit your trading style.
Time-Saving: Automates price conversions, letting you focus on trading decisions.
Thanks!
____________________
Thank you for your interest in my work. This is something I use every day for my trading and wanted to share it with the public. If you have any comments, bugs, or suggestions, please leave them here, or you can find me on Twitter or Discord.
@ ContrarianIRL
Open-source developer for over 25 years
Wavelet-Trend ML Integration [Alpha Extract]Alpha-Extract Volatility Quality Indicator
The Alpha-Extract Volatility Quality (AVQ) Indicator provides traders with deep insights into market volatility by measuring the directional strength of price movements. This sophisticated momentum-based tool helps identify overbought and oversold conditions, offering actionable buy and sell signals based on volatility trends and standard deviation bands.
🔶 CALCULATION
The indicator processes volatility quality data through a series of analytical steps:
Bar Range Calculation: Measures true range (TR) to capture price volatility.
Directional Weighting: Applies directional bias (positive for bullish candles, negative for bearish) to the true range.
VQI Computation: Uses an exponential moving average (EMA) of weighted volatility to derive the Volatility Quality Index (VQI).
Smoothing: Applies an additional EMA to smooth the VQI for clearer signals.
Normalization: Optionally normalizes VQI to a -100/+100 scale based on historical highs and lows.
Standard Deviation Bands: Calculates three upper and lower bands using standard deviation multipliers for volatility thresholds.
Signal Generation: Produces overbought/oversold signals when VQI reaches extreme levels (±200 in normalized mode).
Formula:
Bar Range = True Range (TR)
Weighted Volatility = Bar Range × (Close > Open ? 1 : Close < Open ? -1 : 0)
VQI Raw = EMA(Weighted Volatility, VQI Length)
VQI Smoothed = EMA(VQI Raw, Smoothing Length)
VQI Normalized = ((VQI Smoothed - Lowest VQI) / (Highest VQI - Lowest VQI) - 0.5) × 200
Upper Band N = VQI Smoothed + (StdDev(VQI Smoothed, VQI Length) × Multiplier N)
Lower Band N = VQI Smoothed - (StdDev(VQI Smoothed, VQI Length) × Multiplier N)
🔶 DETAILS
Visual Features:
VQI Plot: Displays VQI as a line or histogram (lime for positive, red for negative).
Standard Deviation Bands: Plots three upper and lower bands (teal for upper, grayscale for lower) to indicate volatility thresholds.
Reference Levels: Horizontal lines at 0 (neutral), +100, and -100 (in normalized mode) for context.
Zone Highlighting: Overbought (⋎ above bars) and oversold (⋏ below bars) signals for extreme VQI levels (±200 in normalized mode).
Candle Coloring: Optional candle overlay colored by VQI direction (lime for positive, red for negative).
Interpretation:
VQI ≥ 200 (Normalized): Overbought condition, strong sell signal.
VQI 100–200: High volatility, potential selling opportunity.
VQI 0–100: Neutral bullish momentum.
VQI 0 to -100: Neutral bearish momentum.
VQI -100 to -200: High volatility, strong bearish momentum.
VQI ≤ -200 (Normalized): Oversold condition, strong buy signal.
🔶 EXAMPLES
Overbought Signal Detection: When VQI exceeds 200 (normalized), the indicator flags potential market tops with a red ⋎ symbol.
Example: During strong uptrends, VQI reaching 200 has historically preceded corrections, allowing traders to secure profits.
Oversold Signal Detection: When VQI falls below -200 (normalized), a lime ⋏ symbol highlights potential buying opportunities.
Example: In bearish markets, VQI dropping below -200 has marked reversal points for profitable long entries.
Volatility Trend Tracking: The VQI plot and bands help traders visualize shifts in market momentum.
Example: A rising VQI crossing above zero with widening bands indicates strengthening bullish momentum, guiding traders to hold or enter long positions.
Dynamic Support/Resistance: Standard deviation bands act as dynamic volatility thresholds during price movements.
Example: Price reversals often occur near the third standard deviation bands, providing reliable entry/exit points during volatile periods.
🔶 SETTINGS
Customization Options:
VQI Length: Adjust the EMA period for VQI calculation (default: 14, range: 1–50).
Smoothing Length: Set the EMA period for smoothing (default: 5, range: 1–50).
Standard Deviation Multipliers: Customize multipliers for bands (defaults: 1.0, 2.0, 3.0).
Normalization: Toggle normalization to -100/+100 scale and adjust lookback period (default: 200, min: 50).
Display Style: Switch between line or histogram plot for VQI.
Candle Overlay: Enable/disable VQI-colored candles (lime for positive, red for negative).
The Alpha-Extract Volatility Quality Indicator empowers traders with a robust tool to navigate market volatility. By combining directional price range analysis with smoothed volatility metrics, it identifies overbought and oversold conditions, offering clear buy and sell signals. The customizable standard deviation bands and optional normalization provide precise context for market conditions, enabling traders to make informed decisions across various market cycles.
Quantum Fibonacci Flow
Quantum Fib Ribbon (QFLOW)
📖 How It Works
A three-band ribbon built from Fibonacci-scaled moving averages, filled and colored to reflect current momentum strength and direction.
Green when bullish flow is strong, red when bearish flow dominates, and orange in between to highlight slowing momentum.
⚙️ Key Controls
* Base Length: Adjusts the ribbon’s overall lookback.
* Ribbon Opacity: How solid or translucent the fill appears.
* Momentum Scale & Exponent: Fine-tune how sensitively the ribbon reacts to price speed versus volatility.
* Override Threshold: Determines at what momentum level the ribbon “snaps” to full green or red.
🚨 Over-Extension Logic
When price extends significantly above or below the ribbon, it often signals exhaustion.
The first return to the ribbon after such an extension frequently acts as strong support or resistance — offering high-probability trade setups.
🔺 Optional Trade Signals
Enable the over-extension alert to mark these key areas:
* A green triangle shows price extended below the ribbon, then retested → potential long.
* A red triangle shows price extended above, then retested → potential short.
🎯 How to Trade
• Breakout-Retest Setup: Watch for over-extended price moves. The first comeback to the ribbon often marks key levels of interest for a reversal or continuation.
Pineify Signals and OverlaysIndicator Theoretical Basis
Pineify Signals and Overlays is an invite-only trend-following and reversal-detection toolkit that fuses four well-known concepts— Dow-Theory trend phases , a multi-pair EMA cloud, QQE momentum, and ATR-based risk management—into a single, weight-balanced engine. An optional multi-time-frame (MTF) filter aligns lower-time-frame signals with higher-time-frame structure, helping traders avoid counter-trend setups. All components can be toggled from the settings panel, and a beginner “One-Click” preset loads a conservative profile out of the box.
Why it’s a single script: The algorithm scores every bar on three orthogonal axes—trend, momentum, and volatility—then issues context-aware arrows and coloured clouds only when the axes agree within user-defined tolerances. This inter-locking logic cannot be reproduced by simply stacking independent indicators on a chart, hence the need for an integrated implementation.
Trend Confirmation
Trend Confirmation: This indicator presents two types of market trends: the primary trend and the secondary trend. The primary trend is the long - term direction of the market and can last for days or months; the secondary trend is the adjustment phase within the primary trend.
This indicator uses the EMA (Exponential Moving Average) and visualizes the trend phases through color filling. The judgment of the trend is that blue plus green indicates a bullish trend, and yellow plus red indicates a bearish trend.
The primary trend of this indicator is visualized by two sets of moving averages through color filling. These two sets of moving averages are used to describe the short - term and long - term trends in the market.
The short - period moving averages and the long - period moving averages each consist of 4 moving averages, with a total of 8 moving averages, representing the short - term fluctuations and trends of the market.
Trend Persistence: Once the primary trend is formed, it will persist for a period of time. This indicator judges based on the Dow Theory. Short - term market fluctuations do not necessarily reflect changes in the primary trend. Therefore, the judgment direction of the primary trend is visualized through color.
The Signals of Buying, Selling and Closing
In the primary trend, we can see signals of trend reversal. This indicator incorporates the "Consecutive Candles". The indicator mainly identifies the overbought or oversold state of the market through a series of consecutive conditions, so as to predict the reversal point. The core of this indicator is to identify a series of consecutive price movements in the market trend and determine whether the market is about to reverse based on this sequence. We visualize the turning points through buy and sell signals.
The trend confirmation system utilizes four pairs of Exponential Moving Averages (EMAs) creating dynamic cloud formations that visualize market direction. Short-period EMAs (5, 8, 20, 34) interact with longer-period EMAs (9, 13, 21, 50) to generate color-coded trend clouds . Blue and green clouds indicate bullish conditions, while yellow and red clouds signal bearish trends, providing immediate visual trend identification.
The presentation of buying and selling points, namely "Quantitative Qualitative Estimation", is a technical indicator that combines the concepts of the Relative Strength Index (RSI) and moving averages. It is used to evaluate market trends, overbought and oversold conditions, as well as potential trend reversal points. The oscillator has a relatively long smoothing period, making the indicator relatively stable, thus enabling the visualization of buy + and sell + signals for trading.
ATR Stop - Loss Line
ATR (Average True Range) is an indicator for measuring market volatility. By using the ATR value to set the stop - loss distance, the stop - loss level can be automatically adjusted according to market volatility, making the stop - loss more flexible.
Core principle
Trend-Cloud Engine
EMA Pairs (5, 8, 20, 34 vs 9, 13, 21, 50)—Two four-EMA sets form “fast” and “slow” envelopes. When the volume-weighted mean of the fast set sits above the slow set and both slopes are positive, the bar is tagged primary bullish; the inverse tags primary bearish. Cloud colours (blue/green vs yellow/red) mirror Dow Theory’s primary/secondary trend hierarchy.
Momentum & Exhaustion Layer
QQE Oscillator (RSI 14, factor 4.238) detects momentum extremes and smooths noise more than a raw RSI, making it better suited for multi-time-frame use.
Consecutive-Candle Counter (default 8) highlights potential exhaustion after extended unidirectional moves; reversal symbols appear only if QQE divergence also exists.
Volatility-Adjusted Risk Line
ATR Trailing Stop (ATR 21, dynamic multiplier) expands in high volatility and tightens in low volatility, offering an adaptive exit reference rather than a fixed-tick stop.
Multi-Time-Frame Confirmation
The script automatically chooses a higher aggregation (e.g., 4 × the chart timeframe) and requires primary-trend agreement before issuing “Long ▲+” or “Short ▼+” confirmations. This guards against false signals during counter-trend rebounds.
Recommended parameters
RSI Length: 14 (QQE calculation base)
QQE Factor: 4.238 (Fibonacci-based multiplier)
ATR Period: 21 (volatility measurement)
EMA Lengths: Configurable short (5,8,20,34) and long (9,13,21,50) periods
Consecutive Candles: Selectable count (8)
Multi-timeframe Filter: Filter is enabled by default, resulting in more accurate signals.
Filters
The multi-timeframe filter enhances signal reliability by confirming trends across higher timeframes. This prevents counter-trend trades by ensuring alignment between current chart timeframe and broader market direction. The filter automatically calculates appropriate higher timeframes for trend confirmation.
Signals & Alerts
The indicator system exports multiple alert signals, and you can easily alert for any signal.
Up Trend : Primary long signal appears
Long - ▲ : Buy signal appears
Long - ▲+ : Confirmation buy signal appears
Long - ● : Primary reversal signal appears
Long - ☓ : Secondary reversal signal appears
Down Trend : Primary short signal appears
Short - ▼ : Sell signal appears
Short - ▼+ : Confirmation sell signal appears
Short - ● : Primary reversal signal appears
Short - ☓ : Secondary reversal signal appears
Originality & Value for Traders
Integrated scoring logic ensures signals fire only when trend, momentum, and volatility metrics corroborate, reducing “indicator conflict”.
Auto-computed MTF pairs mean no manual timeframe juggling.
Weight-balanced QQE/EMA blend creates smoother trend clouds than standard MA crosses, yet remains more responsive than Keltner or Donchian approaches.
One-click beginner profile plus full parameter access supports both novice and advanced users.
Risk Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (Pineify) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Super MTF Clouds (4x3 Pairs)Overview:
This script is based on Ripster's MTF clouds, which transcends the standard moving average cloud indicator by offering a powerful and deeply customizable Multi-Timeframe (MTF) analysis. Instead of being limited to the moving averages of your current charts from the current timeframe, this tool allows you to project and visualize the trend and key support/resistance zones from up to 4 different timeframes simultaneously. User can input up to 6 different EMA values which will form 3 pairs of EMA clouds, for each of the timeframes.
The primary purpose is to provide traders with immediate confluence. By observing how price interacts with moving average clouds from higher timeframes (e.g., Hourly, Daily, Weekly), you can make more informed decisions on your active trading timeframe (e.g., 10 Minute). It's designed as a complete MTF Cloud toolkit, allowing you to display all necessary MTFs in a single script to build a comprehensive view of the market structure without having to flick to different timeframe to look for cloud positions.
Key features:
Four Independent Multi-Timeframe Slots: Each slot can be assigned any timeframe available on TradingView (e.g., D, W, M, 4H).
Three MA Pairs Per Timeframe: For each timeframe, configure up to three separate MA clouds (e.g., a 9/12 EMA pair, a 20/50 EMA pair, and a 100/200 SMA pair).
Complete Customisation: For every single moving average (24 in total), you can independently control:
MA Type: Choose between EMA or SMA.
Length: Any period you require.
Line Color: Full colour selection.
Line Thickness: Adjust the visual weight of each line.
Cloud Control: For every pair (12 in total), you can set the fill colour and transparency.
How To Use This Script:
This tool is best used for confirmation and context. Here are some practical strategies that one can adopt:
Trend Confluence: Before taking a trade based on a signal on your current timeframe, glance at the higher timeframe clouds. If you see a buy signal on the 15-minute chart and the price is currently trading above a thick, bullish Daily cloud, the probability of that trade succeeding is significantly higher. Conversely, shorting into strong HTF support is a low-probability trade.
Dynamic Support & Resistance: The edges of the higher timeframe clouds often act as powerful, dynamic levels of support and resistance. A pullback to the 4-Hour 50 EMA on your 15-minute chart can be a prime area to look for entries in the direction of the larger trend.
Gauging Market Regimes: Use the toggles in the settings to quickly switch between different views. You can have a "risk-on" view with short-term clouds and a "macro" view with weekly and monthly clouds. This helps you adapt your trading style to the current market conditions.
Key Settings:
1. Global Setting
Source For All MAs: This determines the price data point used for every single moving average calculation.
Default: hl2 (an average of the High and Low of each bar). This gives a smooth midpoint price.
Options: You can change this to Close (the most common method), Open, High, Low, or ohlc4 (an average of the open, high, low, and close), among others.
Recommendation: For most standard trend analysis, the default hl2 is the common choice.
2. The Timeframe Group Structure
The rest of the settings are organized into four identical, collapsible groups: "Timeframe 1 Settings" through "Timeframe 4 Settings". Each group acts as a self-contained control panel for one multi-timeframe view.
Within each timeframe group, you have two master controls:
Enable Timeframe: This is the main power switch for the entire group. Uncheck this box to instantly hide all three clouds and lines associated with this timeframe. This is perfect for quickly decluttering your chart or focusing on a different set of analyses.
Timeframe: This dropdown menu is the heart of the MTF feature. Here, you select the higher timeframe you want to analyse (e.g., 1D for Daily, 1W for Weekly, 4H for 4-Hour). All calculations for the three pairs within this group will be based on the timeframe you select here.
3. Pair-Specific Controls
Inside each timeframe group, there are three sections for "Pair 1", "Pair 2", and "Pair 3". These control each individual moving average cloud.
Enable Pair: Just like the master switch for the timeframe, this checkbox turns a single cloud and its two MA lines on or off.
For each pair, the settings are further broken down:
Moving Average Lines (A and B): These two rows control the two moving averages that form the cloud. 'A' is typically used for the shorter-period MA and 'B' for the longer-period one.
Type (A/B): A dropdown menu to select either EMA (Exponential Moving Average) or SMA (Simple Moving Average). EMAs react more quickly to recent price changes, while SMAs are smoother and react more slowly.
Length (A/B): The lookback period for the moving average (e.g., 21, 50, 200).
Color (A/B): Sets the specific colour of the MA line itself on your chart.
Cloud Fill Settings
Fill Color: This controls the colour of the shaded area (the "cloud") between the two moving average lines. For a consistent look, you can set this to the same colour as your shorter MA line.
Transparency: Controls how see-through the cloud is, on a scale of 0 to 100. 0 is a solid, opaque colour, while 100 is completely invisible. The default of 85 provides a light, "cloud-like" appearance that doesn't obscure the price action.
----------------------------------------------------------------------
If anything is not clear please let me know!
Long/Short/Exit/Risk management Strategy # LongShortExit Strategy Documentation
## Overview
The LongShortExit strategy is a versatile trading system for TradingView that provides complete control over entry, exit, and risk management parameters. It features a sophisticated framework for managing long and short positions with customizable profit targets, stop-loss mechanisms, partial profit-taking, and trailing stops. The strategy can be enhanced with continuous position signals for visual feedback on the current trading state.
## Key Features
### General Settings
- **Trading Direction**: Choose to trade long positions only, short positions only, or both.
- **Max Trades Per Day**: Limit the number of trades per day to prevent overtrading.
- **Bars Between Trades**: Enforce a minimum number of bars between consecutive trades.
### Session Management
- **Session Control**: Restrict trading to specific times of the day.
- **Time Zone**: Specify the time zone for session calculations.
- **Expiration**: Optionally set a date when the strategy should stop executing.
### Contract Settings
- **Contract Type**: Select from common futures contracts (MNQ, MES, NQ, ES) or custom values.
- **Point Value**: Define the dollar value per point movement.
- **Tick Size**: Set the minimum price movement for accurate calculations.
### Visual Signals
- **Continuous Position Signals**: Implement 0 to 1 visual signals to track position states.
- **Signal Plotting**: Customize color and appearance of position signals.
- **Clear Visual Feedback**: Instantly see when entry conditions are triggered.
### Risk Management
#### Stop Loss and Take Profit
- **Risk Type**: Choose between percentage-based, ATR-based, or points-based risk management.
- **Percentage Mode**: Set SL/TP as a percentage of entry price.
- **ATR Mode**: Set SL/TP as a multiple of the Average True Range.
- **Points Mode**: Set SL/TP as a fixed number of points from entry.
#### Advanced Exit Features
- **Break-Even**: Automatically move stop-loss to break-even after reaching specified profit threshold.
- **Trailing Stop**: Implement a trailing stop-loss that follows price movement at a defined distance.
- **Partial Profit Taking**: Take partial profits at predetermined price levels:
- Set first partial exit point and percentage of position to close
- Set second partial exit point and percentage of position to close
- **Time-Based Exit**: Automatically exit a position after a specified number of bars.
#### Win/Loss Streak Management
- **Streak Cutoff**: Automatically pause trading after a series of consecutive wins or losses.
- **Daily Reset**: Option to reset streak counters at the start of each day.
### Entry Conditions
- **Source and Value**: Define the exact price source and value that triggers entries.
- **Equals Condition**: Entry signals occur when the source exactly matches the specified value.
### Performance Analytics
- **Real-Time Stats**: Track important performance metrics like win rate, P&L, and largest wins/losses.
- **Visual Feedback**: On-chart markers for entries, exits, and important events.
### External Integration
- **Webhook Support**: Compatible with TradingView's webhook alerts for automated trading.
- **Cross-Platform**: Connect to external trading systems and notification platforms.
- **Custom Order Execution**: Implement advanced order flows through external services.
## How to Use
### Setup Instructions
1. Add the script to your TradingView chart.
2. Configure the general settings based on your trading preferences.
3. Set session trading hours if you only want to trade specific times.
4. Select your contract specifications or customize for your instrument.
5. Configure risk parameters:
- Choose your preferred risk management approach
- Set appropriate stop-loss and take-profit levels
- Enable advanced features like break-even, trailing stops, or partial profit taking as needed
6. Define entry conditions:
- Select the price source (such as close, open, high, or an indicator)
- Set the specific value that should trigger entries
### Entry Condition Examples
- **Example 1**: To enter when price closes exactly at a whole number:
- Long Source: close
- Long Value: 4200 (for instance, to enter when price closes exactly at 4200)
- **Example 2**: To enter when an indicator reaches a specific value:
- Long Source: ta.rsi(close, 14)
- Long Value: 30 (triggers when RSI equals exactly 30)
### Best Practices
1. **Always backtest thoroughly** before using in live trading.
2. **Start with conservative risk settings**:
- Small position sizes
- Reasonable stop-loss distances
- Limited trades per day
3. **Monitor and adjust**:
- Use the performance table to track results
- Adjust parameters based on how the strategy performs
4. **Consider market volatility**:
- Use ATR-based stops during volatile periods
- Use fixed points during stable markets
## Continuous Position Signals Implementation
The LongShortExit strategy can be enhanced with continuous position signals to provide visual feedback about the current position state. These signals can help you track when the strategy is in a long or short position.
### Adding Continuous Position Signals
Add the following code to implement continuous position signals (0 to 1):
```pine
// Continuous position signals (0 to 1)
var float longSignal = 0.0
var float shortSignal = 0.0
// Update position signals based on your indicator's conditions
longSignal := longCondition ? 1.0 : 0.0
shortSignal := shortCondition ? 1.0 : 0.0
// Plot continuous signals
plot(longSignal, title="Long Signal", color=#00FF00, linewidth=2, transp=0, style=plot.style_line)
plot(shortSignal, title="Short Signal", color=#FF0000, linewidth=2, transp=0, style=plot.style_line)
```
### Benefits of Continuous Position Signals
- Provides clear visual feedback of current position state (long/short)
- Signal values stay consistent (0 or 1) until condition changes
- Can be used for additional calculations or alert conditions
- Makes it easier to track when entry conditions are triggered
### Using with Custom Indicators
You can adapt the continuous position signals to work with any custom indicator by replacing the condition with your indicator's logic:
```pine
// Example with moving average crossover
longSignal := fastMA > slowMA ? 1.0 : 0.0
shortSignal := fastMA < slowMA ? 1.0 : 0.0
```
## Webhook Integration
The LongShortExit strategy is fully compatible with TradingView's webhook alerts, allowing you to connect your strategy to external trading platforms, brokers, or custom applications for automated trading execution.
### Setting Up Webhooks
1. Create an alert on your chart with the LongShortExit strategy
2. Enable the "Webhook URL" option in the alert dialog
3. Enter your webhook endpoint URL (from your broker or custom trading system)
4. Customize the alert message with relevant information using TradingView variables
### Webhook Message Format Example
```json
{
"strategy": "LongShortExit",
"action": "{{strategy.order.action}}",
"price": "{{strategy.order.price}}",
"quantity": "{{strategy.position_size}}",
"time": "{{time}}",
"ticker": "{{ticker}}",
"position_size": "{{strategy.position_size}}",
"position_value": "{{strategy.position_value}}",
"order_id": "{{strategy.order.id}}",
"order_comment": "{{strategy.order.comment}}"
}
```
### TradingView Alert Condition Examples
For effective webhook automation, set up these alert conditions:
#### Entry Alert
```
{{strategy.position_size}} != {{strategy.position_size}}
```
#### Exit Alert
```
{{strategy.position_size}} < {{strategy.position_size}} or {{strategy.position_size}} > {{strategy.position_size}}
```
#### Partial Take Profit Alert
```
strategy.order.comment contains "Partial TP"
```
### Benefits of Webhook Integration
- **Automated Trading**: Execute trades automatically through supported brokers
- **Cross-Platform**: Connect to custom trading bots and applications
- **Real-Time Notifications**: Receive trade signals on external platforms
- **Data Collection**: Log trade data for further analysis
- **Custom Order Management**: Implement advanced order types not available in TradingView
### Compatible External Applications
- Trading bots and algorithmic trading software
- Custom order execution systems
- Discord, Telegram, or Slack notification systems
- Trade journaling applications
- Risk management platforms
### Implementation Recommendations
- Test webhook delivery using a free service like webhook.site before connecting to your actual trading system
- Include authentication tokens or API keys in your webhook URL or payload when required by your external service
- Consider implementing confirmation mechanisms to verify trade execution
- Log all webhook activities for troubleshooting and performance tracking
## Strategy Customization Tips
### For Scalping
- Set smaller profit targets (1-3 points)
- Use tighter stop-losses
- Enable break-even feature after small profit
- Set higher max trades per day
### For Day Trading
- Use moderate profit targets
- Implement partial profit taking
- Enable trailing stops
- Set reasonable session trading hours
### For Swing Trading
- Use longer-term charts
- Set wider stops (ATR-based often works well)
- Use higher profit targets
- Disable daily streak reset
## Common Troubleshooting
### Low Win Rate
- Consider widening stop-losses
- Verify that entry conditions aren't triggering too frequently
- Check if the equals condition is too restrictive; consider small tolerances
### Missing Obvious Trades
- The equals condition is extremely precise. Price must exactly match the specified value.
- Consider using floating-point precision for more reliable triggers
### Frequent Stop-Outs
- Try ATR-based stops instead of fixed points
- Increase the stop-loss distance
- Enable break-even feature to protect profits
## Important Notes
- The exact equals condition is strict and may result in fewer trade signals compared to other conditions.
- For instruments with decimal prices, exact equality might be rare. Consider the precision of your value.
- Break-even and trailing stop calculations are based on points, not percentage.
- Partial take-profit levels are defined in points distance from entry.
- The continuous position signals (0 to 1) provide valuable visual feedback but don't affect the strategy's trading logic directly.
- When implementing continuous signals, ensure they're aligned with the actual entry conditions used by the strategy.
---
*This strategy is for educational and informational purposes only. Always test thoroughly before using with real funds.*
RMSE Bollinger Bands + Loop | Lyro RSRMSE Bollinger Bands + Loops
Overview
The RMSE Bollinger Bands + Loops is a sophisticated technical analysis tool designed to identify and quantify market trends by combining dynamic moving averages with statistical measures. This indicator employs a multi-model approach, integrating Bollinger-style RMSE bands, momentum scoring, and a hybrid signal system to provide traders with adaptive insights across varying market conditions.
Indicator Modes
Bollinger-style RMSE Bands: this mode calculates dynamic volatility bands around the price using the following formula:
Upper Band = Dynamic Moving Average + (RMSE × Multiplier)
Lower Band = Dynamic Moving Average - (RMSE × Multiplier)
These bands adjust to market volatility, helping identify potential breakout or breakdown points.
For-Loop Momentum Scoring, momentum is assessed by analyzing recent price behavior through a looping mechanism. A rising momentum score indicates increasing bullish strength, while a declining score suggests growing bearish momentum.
Hybrid Combined Signal: this mode assigns a directional score to the other two modes:
+1 for bullish (green)
–1 for bearish (red)
An average of these scores is computed to generate a combined signal, offering a consolidated market trend indication.
Practical Application
Signal Interpretation: A buy signal is generated when both the RMSE Bands and For-Loop Momentum Scoring align bullishly. Conversely, a sell signal is indicated when both are bearish.
Trend Confirmation: The Hybrid Combined Signal provides a consolidated view, assisting traders in confirming the prevailing market trend.
Note: Always consider additional technical analysis tools and risk management strategies when making trading decisions.
⚠️Disclaimer
This indicator is a tool for technical analysis and does not provide guaranteed results. It should be used in conjunction with other analysis methods and proper risk management practices. The creators of this indicator are not responsible for any financial decisions made based on its signals.
Intermarket Correlation Oscillator (ICO)The Intermarket Correlation Oscillator (ICO) is a TradingView indicator that helps traders analyze the relationship between two assets, such as stocks, indices, or cryptocurrencies, by measuring their price correlation. It displays this correlation as an oscillator ranging from -1 to +1, making it easy to spot whether the assets move together, oppositely, or independently. A value near +1 indicates strong positive correlation (assets move in the same direction), near -1 shows strong negative correlation (opposite movements), and near 0 suggests no correlation. This tool is ideal for confirming trends, spotting divergences, or identifying hedging opportunities across markets.
How It Works?
The ICO calculates the Pearson correlation coefficient between the chart’s primary asset (e.g., Apple stock) and a secondary asset you choose (e.g., SPY for the S&P 500) over a specified number of bars (default: 20). The oscillator is plotted in a separate pane below the chart, with key levels at +0.8 (overbought, strong positive correlation) and -0.8 (oversold, strong negative correlation). A midline at 0 helps gauge neutral correlation. When the oscillator crosses these levels or the midline, labels ("OB" for overbought, "OS" for oversold) and alerts notify you of significant shifts. Shaded zones highlight extreme correlations (red for overbought, green for oversold) if enabled.
Why Use the ICO?
Trend Confirmation: High positive correlation (e.g., SPY and QQQ both rising) confirms market trends.
Divergence Detection: Negative correlation (e.g., DXY rising while stocks fall) signals potential reversals.
Hedging: Identify negatively correlated assets to balance your portfolio.
Market Insights: Understand how assets like stocks, bonds, or crypto interact.
Easy Steps to Use the ICO in TradingView
Add the Indicator:
Open TradingView and load your chart (e.g., AAPL on a daily timeframe).
Go to the Pine Editor at the bottom of the TradingView window.
Copy and paste the ICO script provided earlier.
Click "Add to Chart" to display the oscillator below your price chart.
Configure Settings:
Click the gear icon next to the indicator’s name in the chart pane to open settings.
Secondary Symbol: Choose an asset to compare with your chart’s symbol (e.g., "SPY" for S&P 500, "DXY" for USD Index, or "BTCUSD" for Bitcoin). Default is SPY.
Correlation Lookback Period: Set the number of bars for calculation (default: 20). Use 10-14 for short-term trading or 50 for longer-term analysis.
Overbought/Oversold Levels: Adjust thresholds (default: +0.8 for overbought, -0.8 for oversold) to suit your strategy. Lower values (e.g., ±0.7) give more signals.
Show Midline/Zones: Check boxes to display the zero line and shaded overbought/oversold zones for visual clarity.
Interpret the Oscillator:
Above +0.8: Strong positive correlation (red zone). Assets move together.
Below -0.8: Strong negative correlation (green zone). Assets move oppositely.
Near 0: No clear relationship (midline reference).
Labels: "OB" or "OS" appears when crossing overbought/oversold levels, signaling potential correlation shifts.
Set Up Alerts:
Right-click the indicator, select "Add Alert."
Choose conditions like "Overbought Alert" (crossing above +0.8), "Oversold Alert" (crossing below -0.8), or zero-line crossings for bullish/bearish correlation shifts.
Configure notifications (e.g., email, SMS) to stay informed.
Apply to Trading:
Use positive correlation to confirm trades (e.g., buy AAPL if SPY is rising and correlation is high).
Spot divergences for reversals (e.g., stocks dropping while DXY rises with negative correlation).
Combine with other indicators like RSI or moving averages for stronger signals.
Tips for New Users
Start with related assets (e.g., SPY and QQQ for tech stocks) to see clear correlations.
Test on a demo account to understand signals before trading live.
Be aware that correlation is a lagging indicator; confirm signals with price action.
If the secondary symbol doesn’t load, ensure it’s valid on TradingView (e.g., use correct ticker format).
The ICO is a powerful, beginner-friendly tool to explore intermarket relationships, enhancing your trading decisions with clear visual cues and alerts.
Didi Index Pro – NNFX Trend Indicator [UTS]📈 Uber Didi Index Pro – NNFX Trend Indicator
A Top 100 NNFX-Compliant Trend Indicator – Refined for Rule-Based Traders
This enhanced Didi Index is a purpose-built trend indicator optimized for No Nonsense Forex (NNFX) systems. It reimagines the classic Brazilian Didi Index with powerful upgrades designed for serious, rules-based trading.
🔍 What Makes This Version Unique?
✅ NNFX-Adjusted Logic
• Removes short/fast MAs to reduce noise
• Designed to work only with long-period moving averages – as per VP’s recommendations
🔁 Inverted & Zero-Centered
• Deviations are plotted relative to the medium MA baseline at zero
• Inverted formula offers better signal clarity (e.g., rising above zero = uptrend)
🎛️ Customizable with 25+ Moving Average Types
• Choose SMA, EMA, WMA, VWMA, Hull, LSMA, and more
• Tune each line individually to match your system rules
📢 Alerts Built In
• Set alerts for crossovers, entering/exiting zones, or custom signal events
• Works as a primary confirmation, secondary confirmation or even exit indicator
🎯 Clean Signals, Fast Readability
• Removed the "Curta" and relies on the better "Longa" line relative to a zero centered "Media" line
• Great for confirming higher timeframe trends or filtering false entries
🕰️ History & Context
Originally developed by Brazilian trader Odir “Didi” Aguiar, the Didi Index compares short, medium, and long moving averages to spot market compression and expansions. This version repurposes the idea for trend-following, not mean reversion, and fully aligns with NNFX methodology.
📎 How to Use in NNFX Systems
Use this indicator as part of your C1 or C2 (confirmation) indicator:
When the Longa line is above zero → Bias = Long
When the Longa line is below zero → Bias = Short
Avoid trades when both lines are tightly compressed near zero
✅ Designed by traders who follow the rules.
✅ Built for traders who want clarity, consistency, and compliance.
🚀 Moving Averages
Trend-determining method offers 26 high quality Moving averages to choose.
"SMA", Simple Moving Average, R. H. Hooker, 1901
"EMA", Exponential Moving Average, P. N. Haurlan, early 1960s
"MDMA", McGinley Dynamic MA, John R. McGinley, 1990s
"DSEMA", Double Smoothed EMA, William Blau, year unknown
"DEMA", Double EMA, Patrick G. Mulloy, 1994
"TEMA", Triple EMA, Patrick G. Mulloy, 1994
"WMA", Weighted MA, Author and year unknown
"PWMA", Parabolic Weighted MA, Author and year unknown
"VWMA", Volume Weighted MA, Author and year unknown
"HULL", Hull MA, Alan Hull, 2005, year unknown
"TMA", Triangular MA, Author and year unknown
"B2P", Two Pole Ehlers Butterworth, John F. Ehlers, 2004
"S2P", Two Pole Ehlers Smoother, John F. Ehlers, year unknown
"S3P", Three Pole Ehlers Smoother, John F. Ehlers, year unknown
"SINE", Sine Weighted MA, Author and year unknown
"LINREG", Linear Regression Value (LSMA), Author and year unknown
"ILINREG", Integral of Linear Regression Slope, Author and year unknown
"NLMA", Non Lag MA, Author and year unknown
"ZLMA", Zero Lag MA, Author and year unknown
"KIJUN", Kijun-Sen Ichimoku, Goichi Hosoda, late 1930s
"SSM", Super Smoother, John F. Ehlers, year unknown
"ALMA", Arnaud Legoux MA, Arnaud Legoux, year unknown
"KAMA", Kaufman Adaptive MA, Perry J. Kaufman, 1998
"FRAMA", Fractal MA, John F. Ehlers, year unknown
"RMA", Running MA, J. Welles Wilder Jr., 1978
"JMA", Jurik Moving Average, Mark Jurik, year unknown
🚥 Signals
The indicator displays buy/sell signals, Beyond-ATR signals, and recommends when a pullback entry is possible.
Long Signal
Short Signal
📢 Alerts
Each chart signal can trigger an alert with the same name. To avoid multiple alerts being triggered within a single candle, it is recommended to wait for the candle to close and use the 'Once Per Bar Close' setting.
Long Signal
Short Signal
🗃️ About
Name: Uber Didi Index Pro – NNFX Trend Indicator
Created: 2025/06/20
PineScript: v6
Hidden Markov Model [Extension] | FractalystWhat's the indicator's purpose and functionality?
The Hidden Markov Model is specifically designed to integrate with the Quantify Trading Model framework, serving as a probabilistic market regime identification system for institutional trading analysis.
Hidden Markov Models are particularly well-suited for market regime detection because they can model the unobservable (hidden) state of the market, capture probabilistic transitions between different states, and account for observable market data that each state generates.
The indicator uses Hidden Markov Model mathematics to automatically detect distinct market regimes such as low-volatility bull markets, high-volatility bear markets, or range-bound consolidation periods.
This approach provides real-time regime probabilities without requiring optimization periods that can lead to overfitting, enabling systematic trading based on genuine probabilistic market structure.
How does this extension work with the Quantify Trading Model?
The Hidden Markov Model | Fractalyst serves as a probabilistic state estimation engine for systematic market analysis.
Instead of relying on traditional technical indicators, this system automatically identifies market regimes using forward algorithm implementation with three-state probability calculation (bullish/neutral/bearish), Viterbi decoding process for determining most likely regime sequence without repainting, online parameter learning with adaptive emission probabilities based on market observations, and multi-feature analysis combining normalized returns, volatility comprehensive regime assessment.
The indicator outputs regime probabilities and confidence levels that can be used for systematic trading decisions, portfolio allocation, or risk management protocols.
Why doesn't this use optimization periods like other indicators?
The Hidden Markov Model | Fractalyst deliberately avoids optimization periods to prevent overfitting bias that destroys out-of-sample performance.
The system uses a fixed mathematical framework based on Hidden Markov Model theory rather than optimized parameters, probabilistic state estimation using forward algorithm calculations that work across all market conditions, online learning methodology with adaptive parameter updates based on real-time market observations, and regime persistence modeling using fixed transition probabilities with 70% diagonal bias for realistic regime behavior.
This approach ensures the regime detection signals remain robust across different market cycles without the performance degradation typical of over-optimized traditional indicators.
Can this extension be used independently for discretionary trading?
No, the Hidden Markov Model | Fractalyst is specifically engineered for systematic implementation within institutional trading frameworks.
The indicator is designed to provide regime filtering for systematic trading algorithms and risk management systems, enable automated backtesting through mathematical regime identification without subjective interpretation, and support institutional-level analysis when combined with systematic entry/exit models.
Using this indicator independently would miss the primary value proposition of systematic regime-based strategy optimization that institutional frameworks provide.
How do I integrate this with the Quantify Trading Model?
Integration enables institutional-grade systematic trading through advanced machine learning and statistical validation:
- Add both HMM Extension and Quantify Trading Model to your chart
- Select HMM Extension as the bias source using input.source()
- Quantify automatically uses the extension's bias signals for entry/exit analysis
- The built-in machine learning algorithms score optimal entry and exit levels based on trend intensity, and market structure patterns identified by the extension
The extension handles all bias detection complexity while Quantify focuses on optimal trade timing, position sizing, and risk management along with PineConnector automation
What markets and assets does the indicator Extension work best on?
The Hidden Markov Model | Fractalyst performs optimally on markets with sufficient price movement since the system relies on statistical analysis of returns, volatility, and momentum patterns for regime identification.
Recommended asset classes include major forex pairs (EURUSD, GBPUSD, USDJPY) with high liquidity and clear regime transitions, stock index futures (ES, NQ, YM) providing consistent regime behavior patterns, individual equities (large-cap stocks with sufficient volatility for regime detection), cryptocurrency markets (BTC, ETH with pronounced regime characteristics), and commodity futures (GC, CL showing distinct market cycles and regime transitions).
These markets provide sufficient statistical variation in returns and volatility patterns, ensuring the HMM system's mathematical framework can effectively distinguish between bullish, neutral, and bearish regime states.
Any timeframe from 15-minute to daily charts provides sufficient data points for regime calculation, with higher timeframes (4H, Daily) typically showing more stable regime identification with fewer false transitions, while lower timeframes (30m, 1H) provide more responsive regime detection but may show increased noise.
Acceptable Timeframes and Portfolio Integration:
- Any timeframe that can be evaluated within Quantify Trading Model's backtesting engine is acceptable for live trading implementation.
Legal Disclaimers and Risk Acknowledgments
Trading Risk Disclosure
The HMM Extension is provided for informational, educational, and systematic bias detection purposes only and should not be construed as financial, investment, or trading advice. The extension provides institutional analysis but does not guarantee profitable outcomes, accurate bias predictions, or positive investment returns.
Trading systems utilizing bias detection algorithms carry substantial risks including but not limited to total capital loss, incorrect bias identification, market regime changes, and adverse conditions that may invalidate analysis. The extension's performance depends on accurate data, TradingView infrastructure stability, and proper integration with Quantify Trading Model, any of which may experience data errors, technical failures, or service interruptions that could affect bias detection accuracy.
System Dependency Acknowledgment
The extension requires continuous operation of multiple interconnected systems: TradingView charts and real-time data feeds, accurate reporting from exchanges, Quantify Trading Model integration, and stable platform connectivity. Any interruption or malfunction in these systems may result in incorrect bias signals, missed transitions, or unexpected analytical behavior.
Users acknowledge that neither Fractalyst nor the creator has control over third-party data providers, exchange reporting accuracy, or TradingView platform stability, and cannot guarantee data accuracy, service availability, or analytical performance. Market microstructure changes, reporting delays, exchange outages, and technical factors may significantly affect bias detection accuracy compared to theoretical or backtested performance.
Intellectual Property Protection
The HMM Extension, including all proprietary algorithms, classification methodologies, three-state bias detection systems, and integration protocols, constitutes the exclusive intellectual property of Fractalyst. Unauthorized reproduction, reverse engineering, modification, or commercial exploitation of these proprietary technologies is strictly prohibited and may result in legal action.
Liability Limitation
By utilizing this extension, users acknowledge and agree that they assume full responsibility and liability for all trading decisions, financial outcomes, and potential losses resulting from reliance on the extension's bias detection signals. Fractalyst shall not be liable for any unfavorable outcomes, financial losses, missed opportunities, or damages resulting from the development, use, malfunction, or performance of this extension.
Past performance of bias detection accuracy, classification effectiveness, or integration with Quantify Trading Model does not guarantee future results. Trading outcomes depend on numerous factors including market regime changes, pattern evolution, institutional behavior shifts, and proper system configuration, all of which are beyond the control of Fractalyst.
User Responsibility Statement
Users are solely responsible for understanding the risks associated with algorithmic bias detection, properly configuring system parameters, maintaining appropriate risk management protocols, and regularly monitoring extension performance. Users should thoroughly validate the extension's bias signals through comprehensive backtesting before live implementation and should never base trading decisions solely on automated bias detection.
This extension is designed to provide systematic institutional flow analysis but does not replace the need for proper market understanding, risk management discipline, and comprehensive trading methodology. Users should maintain active oversight of bias detection accuracy and be prepared to implement manual overrides when market conditions invalidate analysis assumptions.
Terms of Service Acceptance
Continued use of the HMM Extension constitutes acceptance of these terms, acknowledgment of associated risks, and agreement to respect all intellectual property protections. Users assume full responsibility for compliance with applicable laws and regulations governing automated trading system usage in their jurisdiction.
Bitcoin Power Law Clock [LuxAlgo]The Bitcoin Power Law Clock is a unique representation of Bitcoin prices proposed by famous Bitcoin analyst and modeler Giovanni Santostasi.
It displays a clock-like figure with the Bitcoin price and average lines as spirals, as well as the 12, 3, 6, and 9 hour marks as key points in the cycle.
🔶 USAGE
Giovanni Santostasi, Ph.D., is the creator and discoverer of the Bitcoin Power Law Theory. He is passionate about Bitcoin and has 12 years of experience analyzing it and creating price models.
As we can see in the above chart, the tool is super intuitive. It displays a clock-like figure with the current Bitcoin price at 10:20 on a 12-hour scale.
This tool only works on the 1D INDEX:BTCUSD chart. The ticker and timeframe must be exact to ensure proper functionality.
According to the Bitcoin Power Law Theory, the key cycle points are marked at the extremes of the clock: 12, 3, 6, and 9 hours. According to the theory, the current Bitcoin prices are in a frenzied bull market on their way to the top of the cycle.
🔹 Enable/Disable Elements
All of the elements on the clock can be disabled. If you disable them all, only an empty space will remain.
The different charts above show various combinations. Traders can customize the tool to their needs.
🔹 Auto scale
The clock has an auto-scale feature that is enabled by default. Traders can adjust the size of the clock by disabling this feature and setting the size in the settings panel.
The image above shows different configurations of this feature.
🔶 SETTINGS
🔹 Price
Price: Enable/disable price spiral, select color, and enable/disable curved mode
Average: Enable/disable average spiral, select color, and enable/disable curved mode
🔹 Style
Auto scale: Enable/disable automatic scaling or set manual fixed scaling for the spirals
Lines width: Width of each spiral line
Text Size: Select text size for date tags and price scales
Prices: Enable/disable price scales on the x-axis
Handle: Enable/disable clock handle
Halvings: Enable/disable Halvings
Hours: Enable/disable hours and key cycle points
🔹 Time & Price Dashboard
Show Time & Price: Enable/disable time & price dashboard
Location: Dashboard location
Size: Dashboard size
HMA Swing Levels [BigBeluga]An advanced swing structure and trend-following tool built on Hull Moving Average logic, designed to detect major reversals and track dynamic support/resistance zones.
This indicator analyzes price swings using pivot highs/lows and a smoothed HMA trend baseline. It highlights key reversal levels and keeps them active until breached, giving traders a clear visual framework for price structure and trend alignment. The pivots are calculated in real-time using non-lagging logic, making them highly responsive to market conditions.
🔵 CONCEPTS
Combines a fast-reacting Hull Moving Average (HMA) with pivot logic to capture precise directional changes.
Detects non-lagging reversal highs and lows when pivot points form and the HMA direction flips.
Projects these reversal levels forward as horizontal support/resistance lines until broken by price.
Active trend is shown with a step-style trail line that reflects HMA bias over time.
🔵 FEATURES
Swing Level Detection:
Identifies high/low reversals when trend direction changes and plots horizontal zones.
Non-lagging logic of swing points detection:
if h == high and high < h and change > 0
// Detected Swing High
if l == low and low > l and change < 0
// Detected Swing Low
Persistent Support & Resistance Lines:
Each detected swing high or low is extended forward until price invalidates the level. Dotted style is applied once breached.
Color-Coded Trend Trail:
Displays a stepped trend trail using HMA slope: lime = uptrend, blue = downtrend.
Automatic Labeling:
Each reversal level is labeled with its price for clear reference.
Age-Based Line Thickness:
Every level increases in thickness every 250 bars. The longer the level lasts, the stronger it is.
🔵 HOW TO USE
Use green (support) and blue (resistance) levels to frame key reaction zones.
Trade with the trend defined by the trail color: lime for bullish bias, blue for bearish.
Explore where buy or sell orders are stacked
Look for breaks of swing lines to anticipate trend shifts or breakout setups.
Adjust the "Trend Change" input to tune the sensitivity of swing detection.
Adjust the "SwingLevels" input to define how far back to search for valid pivots.
🔵 CONCLUSION
HMA Swing Levels offers a hybrid approach to structural and trend-based trading. With automated non-lagging swing detection, persistent support/resistance tracking, and intuitive HMA-based trend coloring, it provides a powerful visual system for discretionary and systematic traders alike.
Timeshifter Triple Timeframe Strategy w/ SessionsOverview
The "Enhanced Timeshifter Triple Timeframe Strategy with Session Filtering" is a sophisticated trading strategy designed for the TradingView platform. It integrates multiple technical indicators across three different timeframes and allows traders to customize their trading Sessions. This strategy is ideal for traders who wish to leverage multi-timeframe analysis and session-based trading to enhance their trading decisions.
Features
Multi-Timeframe Analysis and direction:
Higher Timeframe: Set to a daily timeframe by default, providing a broader view of market trends.
Trading Timeframe: Automatically set to the current chart timeframe, ensuring alignment with the trader's primary analysis period.
Lower Timeframe: Set to a 15-minute timeframe by default, offering a granular view for precise entry and exit points.
Indicator Selection:
RMI (Relative Momentum Index): Combines RSI and MFI to gauge market momentum.
TWAP (Time Weighted Average Price): Provides an average price over a specified period, useful for identifying trends.
TEMA (Triple Exponential Moving Average): Reduces lag and smooths price data for trend identification.
DEMA (Double Exponential Moving Average): Similar to TEMA, it reduces lag and provides a smoother trend line.
MA (Moving Average): A simple moving average for basic trend analysis.
MFI (Money Flow Index): Measures the flow of money into and out of a security, useful for identifying overbought or oversold conditions.
VWMA (Volume Weighted Moving Average): Incorporates volume data into the moving average calculation.
PSAR (Parabolic SAR): Identifies potential reversals in price movement.
Session Filtering:
London Session: Trade during the London market hours (0800-1700 GMT+1).
New York Session: Trade during the New York market hours (0800-1700 GMT-5).
Tokyo Session: Trade during the Tokyo market hours (0900-1800 GMT+9).
Users can select one or multiple sessions to align trading with specific market hours.
Trade Direction:
Long: Only long trades are permitted.
Short: Only short trades are permitted.
Both: Both long and short trades are permitted, providing flexibility based on market conditions.
ADX Confirmation:
ADX (Average Directional Index): An optional filter to confirm the strength of a trend before entering a trade.
How to Use the Script
Setup:
Add the script to your TradingView chart.
Customize the input parameters according to your trading preferences and strategy requirements.
Indicator Selection:
Choose the primary indicator you wish to use for generating trading signals from the dropdown menu.
Enable or disable the ADX confirmation based on your preference for trend strength analysis.
Session Filtering:
Select the trading sessions you wish to trade in. You can choose one or multiple Sessions based on your trading strategy and market focus.
Trade Direction:
Set your preferred trade direction (Long, Short, or Both) to align with your market outlook and risk tolerance. You can use this feature to gauge the market and understand the possible directions.
Tips for Profitable and Safe Trading:
Recommended Timeframes Combination:
LT: 1m , CT: 5m, HT: 1H
LT: 1-5m , CT: 15m, HT: 4H
LT: 5-15m , CT: 4H, HT: 1W
Backtesting:
Always backtest the strategy on historical data to understand its performance under various market conditions.
Adjust the parameters based on backtesting results to optimize the strategy for your specific trading style.
Risk Management:
Use appropriate risk management techniques, such as setting stop-loss and take-profit levels, to protect your capital.
Avoid over-leveraging and ensure that you are trading within your risk tolerance.
Market Analysis:
Combine the script with other forms of market analysis, such as fundamental analysis or market sentiment, to make well-rounded trading decisions.
Stay informed about major economic events and news that could impact market volatility and trading sessions.
Continuous Monitoring:
Regularly monitor the strategy's performance and make adjustments as necessary.
Keep an eye on the results and settings for real-time statistics and ensure that the strategy aligns with current market conditions.
Education and Practice:
Continuously educate yourself on trading strategies and market dynamics.
Practice using the strategy in a demo account before applying it to live trading to gain confidence and understanding.
Volume Weighted Regression ChannelThis indicator constructs a volume-weighted linear regression channel over a custom time range.
It’s conceptually similar to a Volume Profile, but instead of projecting horizontal value zones, it builds a tilted trend channel that reflects both price direction and volume concentration.
🧠 Core Features:
Volume-weighted points: Each candle contributes to the regression line proportionally to its volume — heavier candles shift the channel toward high-activity price zones.
Linear regression line: Shows the trend direction within the selected time interval.
±σ boundaries: Outer bands represent the standard deviation of price (also volume-weighted), highlighting statistical dispersion.
Fully customizable: Adjustable line styles, widths, and channel width (sigma multiplier).
Time window control: Select any start and end time to define the regression interval.
📊 Why use this instead of Volume Profile?
While Volume Profile shows horizontal distributions of traded volume, this indicator is ideal when:
You want to understand how volume clusters affect trend direction, not just price levels.
You're analyzing time-dependent flow rather than static price zones.
You're looking for a dynamic volume-adjusted channel that moves with the market's structure.
It’s especially useful in identifying volume-supported trends, hidden pullback zones, and statistical extremes.
⚙️ Notes:
Works on any timeframe and instrument.
Does not repaint.
Does not require volume profile data feeds — uses standard volume and hl2.
True Market Structure [Advanced Liquidity Hunter] v1True Market Structure v1
📌 Table of Contents
1. Introduction
2. Core Concepts
3. Indicator Components
4. Configuration
5. Signal Interpretation
6. Trading Strategies
7. Risk Management
8. FAQ
________________________________________
🎯 Introduction
What is True Market Structure?
True Market Structure is an advanced technical analysis indicator that reveals hidden market mechanisms. Based on Smart Money Concepts (SMC) and ICT (Inner Circle Trader) methodology, it identifies where large financial institutions hunt retail traders' stop losses.
Who is this indicator for?
• ✅ Beginners - Intuitive visualizations and clear signals
• ✅ Intermediate - Deeper market structure analysis
• ✅ Advanced - Full parameter control and advanced strategies
Key Benefits
• 🔍 Sees the invisible - Hidden liquidity levels
• 🎯 Precise signals - Based on real data
• ⚡ Real-time - Instant analysis
• 🛡️ Capital protection - Warns against traps
💡 Pro Tip: Start with 15M timeframe! That's where most action happens - stop hunts every few candles, retail traps, liquidity battles. It's the best "microscope" to understand how the market really works.
________________________________________
📚 Core Concepts
Smart Money vs Retail Money
Smart Money:
• Banks, hedge funds, large institutions
• Create market moves, don't follow them
• Exploit retail predictability
Retail Money:
• Individual traders
• Often act emotionally
• Place stop losses at predictable levels
Liquidity
Liquidity refers to areas where many orders are waiting:
• Stop losses above highs (shorts)
• Stop losses below lows (longs)
• Orders at round numbers
Key principle: Smart Money needs liquidity to enter/exit large positions. That's why they "hunt" stop losses first, then make the real move.
________________________________________
🔧 Indicator Components
1. 💧 Liquidity Pools
What is it?
• Price levels tested multiple times
• Stop loss accumulation areas
• Displayed as blue horizontal lines
How to read?
• LIQ HIGH x15 = Level tested 15 times from above
• LIQ LOW x8 = Level tested 8 times from below
• Higher number = stronger zone
Significance:
• Price magnet
• High probability of reaction
• Smart Money target
2. 🎣 Stop Hunts
What is it?
• Candles with long wicks
• Brief penetrations of important levels
• Marked with purple labels
Types:
• STOP HUNT ⬆ - Upward hunt (shorts' stop losses)
• STOP HUNT ⬇ - Downward hunt (longs' stop losses)
Characteristics:
• Long wick (minimum 2x larger than body)
• Wick must also be larger than 0.5 ATR (default)
• Breaks recent high/low from lookback period
• Quick price return
3. 🪤 Trapped Traders
What is it?
• Areas where retail got trapped
• Failed breakouts that didn't hold
• Colored rectangles on chart
Trap types:
• 🔴 TRAPPED LONGS - Buyers caught at top
• 🟢 TRAPPED SHORTS - Sellers caught at bottom
Mechanism:
1. Important level break
2. Retail enters breakout direction
3. Price returns leaving them at loss
4. Stop losses get activated
4. 🎪 Inducement Levels
What is it?
• "Too obvious" support/resistance
• Levels respected minimum 3 times
• Orange dashed lines
Why is it a trap?
• Look like perfect trading spots
• Attract retail traders' attention
• Smart Money uses them to collect liquidity
Example:
• 100,000 level on BTC - round number
• 3 bounces = "strong support"
• Retail buys, Smart Money sells to them
5. ⏰ Kill Zones
What is it?
• Highest Smart Money activity periods
• Red background on chart
• Maximum manipulation time
Default Kill Zones:
• 🌆 London Open (08:00-09:00 UTC)
• 🏙️ NY Open (13:00-14:00 UTC)
• 🌃 Midnight (00:00-01:00 UTC)
Trading Sessions (chart background):
• 🌏 Asian (00:00-08:00 UTC) - Gray background
• 🇬🇧 London (08:00-16:00 UTC) - Blue background
• 🇺🇸 New York (13:00-21:00 UTC) - Orange background
Note: London and New York sessions overlap (13:00-16:00 UTC) - this is the highest liquidity period!
6. 🎯 Smart Money Signals
What is it?
• Potential institutional entry points
• Large labels with 🎯 emoji
• Appear after stop hunts
Conditions:
1. Stop hunt in one direction
2. High volume (2x average)
3. In Kill Zone
4. Direction reversal
7. 📊 Market Analysis Table
The table displays 9 rows with key information:
1. Session - Current trading session (ASIA/LONDON/NEW YORK/CLOSED)
2. Kill Zone - Zone status (🔴 ACTIVE / ✅ SAFE)
3. Liquidity Pools - Number of liquidity zones found
4. Inducement Levels - Number of bait levels
5. Traps (50 bars) - Number of traps in last 50 bars
6. Market Bias - Market direction:
o BULLISH 📈 (close > SMA50 and EMA21)
o BEARISH 📉 (close < SMA50 and EMA21)
o NEUTRAL ➡️ (other cases)
7. Volume - Volume status:
o 🔥 EXTREME (>2x average)
o ⬆️ HIGH (>1.5x average)
o NORMAL (>average)
o ⬇️ LOW (3 traps)
o ⚠️ CHOPPY (>5 traps)
o 👀 WATCH LIQUIDITY (>3 liquidity zones)
o ✓ NORMAL (other)
________________________________________
⚙️ Configuration
Step 1: Basic Configuration
Where to find settings:
• Method 1: Click the ⚙️ (gear) icon next to indicator name on chart
• Method 2: Double-click any indicator line/label
• Method 3: Right-click → "Settings" on indicator name
🌍 Timezone Setting
UTC Offset: Your timezone
Examples:
- London: 0 (winter) or +1 (summer)
- New York: -5 (winter) or -4 (summer)
- Tokyo: +9
🎚️ Sensitivity Adjustment
For beginners - Default settings:
• Lookback Period: 30
• Detection Sensitivity: 0.3
• Min. Touches: 2
For different timeframes:
• 15M: Sensitivity 0.2-0.3, Lookback 20-30
• 1H: Sensitivity 0.3-0.4, Lookback 30-40
• 4H: Sensitivity 0.4-0.5, Lookback 40-50
For different instruments:
• Forex Majors (EUR/USD): Sensitivity 0.1-0.2
• Indices (S&P500;): Sensitivity 0.2-0.4
• Crypto (BTC): Sensitivity 0.4-0.8
• Stocks: Sensitivity 0.3-0.5
Step 2: Advanced Configuration
🔧 Liquidity Zones Parameters
• Min. Touches (1-5): Less = more signals
• Lookback (20-200): More = further levels
• Max Zones (1-10): Display quantity control
🎣 Stop Hunt Parameters
• Wick/Body Ratio (1-5): Lower = more signals
• Min. Wick Size (0.1-2 ATR): Filters small wicks
🎯 Smart Money Analysis
• Require Kill Zone: Enable for fewer signals
• Volume Multiplier: Higher = only big moves
________________________________________
📖 Signal Interpretation
Note: Most examples are shown on 15M timeframe, because that's where you can best see all market manipulations in action!
Signal Importance Hierarchy
1. 🎯 Smart Money Signal - Strongest signal
2. 🪤 Trapped Traders - High reliability
3. 🎣 Stop Hunt - Medium reliability
4. 💧 Liquidity Touch - Needs confirmation
Interpretation Examples
Scenario 1: "Liquidity Grab"
You see: LIQ HIGH x20 at 100,000
+ Stop Hunt ⬆
+ Volume spike
= Likely decline
Scenario 2: "Trap and Reverse"
You see: TRAPPED LONGS
+ Kill Zone Active
+ SM SHORT 🎯
= Strong short signal
Scenario 3: "Inducement Break"
You see: Inducement Level break
+ No volume
+ Status: NORMAL
= Likely trap, wait
Colors and Their Meaning
• 🔵 Blue - Liquidity (neutral)
• 🟠 Orange - Caution, possible trap
• 🔴 Red - Negative signal / long trap
• 🟢 Green - Positive signal / short trap
• 🟣 Purple - Stop hunt (neutral, wait for reaction)
________________________________________
💡 Trading Strategies
Strategy 1: "Liquidity Sweep" (For Beginners)
Assumptions:
• Trade only with trend
• Wait for liquidity collection
• Enter on return
Best timeframe for learning: 15M - you'll see all manipulation stages in real-time!
Steps:
1. Identify trend (Market Bias in table)
2. Find nearest liquidity zone aligned with trend
3. Wait for price to touch and bounce
4. Enter after confirming candle
5. Stop loss beyond liquidity zone
6. Take profit at next zone
Example:
• Trend: BULLISH
• Liquidity at 100,000 (support)
• Price drops to 99,950 (stop hunt)
• Returns above 100,000
• LONG with SL 99,900, TP 101,000
Strategy 2: "Kill Zone Hunter" (Intermediate)
Assumptions:
• Trade only in Kill Zones
• Exploit stop hunts
• Aggressive entries
Ideal timeframe: 15M - in Kill Zones on 15M you'll see exactly every Smart Money move!
Steps:
1. Wait for Kill Zone (red background)
2. Watch first 15-30 minutes
3. Look for stop hunt
4. Enter immediately after stop hunt
5. Tight stop loss (0.5 ATR)
6. Scale position with profit
Tips:
• London Open - often stop hunt down, then rise
• NY Open - often tests Asian High/Low
• Midnight - position resets, false moves
Strategy 3: "Smart Money Follow" (Advanced)
Assumptions:
• Ignore minor signals
• Wait only for SM signals
• Larger positions, fewer trades
Steps:
1. Status must show HIGH RISK or WATCH LIQUIDITY
2. Wait for stop hunt series (minimum 2)
3. Watch Trapped Traders
4. Enter only on SM signal 🎯
5. Stop loss beyond last extreme
6. Hold position until opposite SM signal
Position Management:
• 1/3 position at signal
• 1/3 after direction confirmation
• 1/3 after breaking last high/low
________________________________________
🛡️ Risk Management
Basic Rules
1. Never place stop loss at obvious level
o Add 5-10 pips buffer
o Avoid round numbers
o Check where Liquidity Pools are
2. Reduce position in Kill Zones
o 50% of normal size
o Or wait until they end
3. Avoid trading at HIGH RISK status
o Unless experienced
o Then reverse logic - look for traps
Stop Loss - Where to Place?
❌ Bad places:
• Exactly below/above candle
• At Inducement Levels
• At round numbers
• Where Liquidity Pools visible
✅ Good places:
• Beyond last stop hunt
• Behind Trapped Traders zone
• Minimum 1.5 ATR from entry
• Where SM would lose significantly
Position Sizing
Safe position formula:
Risk per trade = 1-2% of capital
Position size = Risk / (Stop Loss in pips × Pip value)
Modifiers:
• Kill Zone active: × 0.5
• After SM signal: × 1.5
• HIGH RISK status: × 0.3
• With trend: × 1.2
________________________________________
❓ FAQ
General Questions
Q: Indicator shows nothing, what to do? A: Check in settings:
1. Reduce "Min. Touches" to 1
2. Increase "Detection Sensitivity"
3. Enable "Debug Mode" to see statistics
4. Ensure proper timeframe (15M+)
5. On 15M sometimes wait a few candles for first signal
Tip for 15M: If you don't see signals on 15M, enable Debug Mode. If it shows Liq=0, reduce "Min. Touches" to 1 and increase "Liquidity Lookback" to 100.
Q: Too many signals, I'm lost A:
1. Increase requirements (min. touches, respects)
2. Disable some components
3. Trade only strongest signals (SM 🎯)
Q: Which timeframe is best? A:
• 15M - PERFECT FOR LEARNING! Many signals, shows all manipulations, great for beginners
• 30M - Good balance, less noise than 15M
• 1H - Medium-term trading, clear setups
• 4H - Fewer signals but bigger moves, for patient traders
• 1D - Only major levels, position trading
💡 For beginners: Start with 15M! That's where you'll see how the market really works - stop hunts, traps, false breakouts. Only after understanding the mechanics, move to higher timeframes.
Technical Questions
Q: What does "x15" mean at LIQ? A: Number of level touches. Higher = stronger level.
Q: Why are Kill Zones red? A: High risk periods - most manipulation.
Q: What does Debug Mode show? A: When "Show Debug Info" is enabled, a label appears above the last candle with:
• Liq=X - number of Liquidity Pools found
• Ind=X - number of Inducement Levels found
• HighLvl=X - number of highs stored in memory
• LowLvl=X - number of lows stored in memory
This helps understand why sometimes no signals appear (e.g., when Liq=0).
Trading Questions
Q: Can I use only this indicator? A: Yes, but better combined with:
• Trend analysis
• Support/resistance
• Volume
Q: Does it work on all markets? A: Best on liquid ones:
• ✅ Major Forex pairs
• ✅ Main indices
• ✅ BTC, ETH
• ⚠️ Less liquid altcoins
• ❌ Exotic pairs, small caps
Q: How to remove indicator from chart? A:
• Method 1: Click X next to indicator name
• Method 2: Right-click on name → "Remove"
• Method 3: In indicators panel (left side) find and click trash icon
Q: Can I use multiple copies of the indicator? A: Yes! You can add the indicator multiple times with different settings (e.g., one for liquidity, another for stop hunts only).
Q: How much can I earn? A: Indicator doesn't guarantee profit. It's an analysis tool, not a trading system. Your results depend on:
• Discipline
• Risk management
• Experience
• Market conditions
________________________________________
🎯 Quick Start - Checklist
Pro Tip: After adding the indicator, click the star ⭐ to add to favorites - you'll have quick access in the future!
For Beginners:
• After adding indicator, set your UTC offset in settings
• Start on 15M timeframe (where you'll see the most action!)
• Observe for a week without trading
• Learn to recognize each signal type
• Practice on 15M, then try 1H
• Start with "Liquidity Sweep" strategy
• Max 1% risk per trade
• Keep trading journal
First Steps:
1. Days 1-3: Observe and learn signals
2. Days 4-7: Mark potential entries (no trading)
3. Week 2: Demo trading with small positions
4. Week 3+: Real trading with strict risk management
________________________________________
💬 Support
• Questions & Suggestions: Comments section under the indicator
• Bug Reports: Describe issue in comments with timeframe and instrument
• Updates: Click "Follow" to receive notifications
• Examples: Regular trading idea publications with usage examples
💡 Community: Share your setups in comments - let's help each other!
________________________________________
⚖️ Disclaimer
This indicator is an educational and analytical tool. It does not constitute investment advice. Trading involves risk of capital loss. Always conduct your own analysis and apply appropriate risk management. Historical results do not guarantee future profits.
Previous Daily OHLCPrevious Daily OHLC Indicator
Overview:
This professional TradingView indicator displays the previous day's key price levels (Open, High, Low, Close, and 50% midpoint) as horizontal lines on your chart. These levels are essential for traders who use previous day data as support and resistance zones in their technical analysis.
What It Does
Displays Previous Day Levels: Automatically shows horizontal lines for yesterday's OHLC data
Real-Time Updates: Lines update dynamically each new trading day
Fully Customizable: Complete control over which levels to display and how they appear
Smart Line Management: Choose between showing lines for recent bars or across the entire chart
Professional Labels: Clear labels with optional price values for each level
Color Coded System: Distinct colors for each level type for instant recognition
Key Features
Five Important Price Levels
Previous Day Open: Yesterday's opening price - often acts as psychological level
Previous Day High: Yesterday's highest price - key resistance level for breakout trading
Previous Day Low: Yesterday's lowest price - important support level for breakdowns
Previous Day Close: Yesterday's closing price - significant reference point
50% Midpoint: Calculated midpoint between previous day's high and low - bias indicator
Inside Bar Detector - 15min
🔍 What is an Inside Bar?
An **Inside Bar** is a candle that forms **entirely within the high and low of the previous candle**. It represents **consolidation**, **indecision**, or **potential reversal**, and is a key signal in The Strat trading method.
🔧 What the Script Does:
1. **Timeframe Restriction**:
* The script activates **only on the 15-minute timeframe**, avoiding clutter on other timeframes.
2. **Inside Bar Logic**:
* It checks whether the **current bar’s high is lower than the previous bar’s high**, **AND** the **current bar’s low is higher than the previous bar’s low**.
* If both conditions are true, it confirms an Inside Bar.
3. **Visual Display**:
* When an Inside Bar is detected, the script **plots a yellow label ("1") above the bar**.
* The label represents the Strat 1-bar and helps you easily spot potential setups.
🎯 Use Case:
* Ideal for **Strat traders**, **price action analysts**, or **any trader** looking for breakout or reversal opportunities.
* Common setups include **1-2**, **1-3**, or **double inside bar** breakouts.
Modified Fractal Open/CloseModified Fractal (Open/Close Based) - Indicator
The Modified Fractal (Open/Close Based) indicator offers a new way to detect fractal patterns on your chart by analyzing the open and close prices instead of the traditional high and low values.
🧮 How it works:
The indicator evaluates a group of 5 consecutive candles.
The central candle (2 bars ago) is analyzed.
For a Bullish Fractal:
The open or close of the central candle must be lower than the open and close of the other 4 surrounding candles.
For a Bearish Fractal:
The open or close of the central candle must be higher than the open and close of the other 4 surrounding candles.
Once a valid pattern is detected, a visual symbol (triangle) is plotted directly on the chart and an alert can be triggered.
✅ Key Features:
Non-repainting signals (evaluated after candle close)
Fully mechanical detection logic
Easy-to-use visual signals
Alert conditions ready to be integrated into TradingView’s alert system
Suitable for multiple timeframes (can be used from M1 to Daily and beyond)
🎯 Use case:
This modified fractal approach can help traders:
Spot potential swing points
Identify possible reversals
Confirm price exhaustion zones
Support breakout or mean reversion strategies
⚠ Note:
This indicator does not provide trade signals by itself. It is recommended to be combined with additional tools, price action analysis, or risk management rules.
Quantum Market Intelligence (QMI)Quantum Market Intelligence (QMI) Indicator
The Quantum Market Intelligence (QMI) is a sophisticated multi-factor technical indicator that combines four key market analysis components into a single composite score. This indicator provides traders with a comprehensive market assessment tool that adapts to changing market conditions. The QMI score oscillates between -100 and +100, offering clear visual signals through color-coded plotting and an informative dashboard display.
The indicator analyzes markets through four distinct lenses: Trend Analysis (using EMAs and volatility-adjusted momentum), Momentum Analysis (combining RSI, Stochastic, and Williams %R), Volume Analysis (incorporating volume ratios and Accumulation/Distribution), and Volatility Analysis (utilizing ATR and Bollinger Bands). These components are intelligently weighted based on detected market regimes - whether trending, volatile, or range-bound. The adaptive mode feature continuously evaluates the indicator's recent performance and adjusts sensitivity accordingly, making it responsive to evolving market dynamics.
Traders can utilize the QMI's signal system which generates four types of alerts: Strong Buy (above 70 and rising), Buy (crossing above 30), Strong Sell (below -70 and falling), and Sell (crossing below -30). The visual presentation includes triangular markers for strong signals, circular markers for regular signals, and background shading that indicates the current market regime. The information table displays real-time metrics including the QMI score, individual component scores, detected market regime, and performance ratio, providing traders with a complete analytical dashboard for informed decision-making.
Important Notice:
The use of this technical indicator does not guarantee profitable results. This indicator should not be used as a standalone analysis tool. It is essential to combine it with other forms of analysis, such as fundamental analysis, risk management strategies, and awareness of current market conditions. Always conduct thorough research.
Note: The effectiveness of any technical indicator can vary based on market conditions and individual trading styles. It's crucial to test indicators thoroughly using historical data before applying them in live trading scenarios.
Disclaimer:
Trading financial instruments involves substantial risk and may not be suitable for all investors. Past performance is not indicative of future results. This indicator is provided for informational and educational purposes only and should not be considered investment advice. Always conduct your own research before making any trading decisions.
Mark specific candle (e.g. bar 20)This Pine Script indicator, "Mark specific candle (e.g. bar 20)" (short title "Mark candle"), is a simple yet powerful tool to visually highlight a particular candle on your chart.
What it does:
It marks a specific candle (e.g., the 20th, 10th, or any number you choose) counting backwards from the most recent candle on your chart. The marked candle will be colored in a subtle light grey and also feature a tiny, matching grey arrow pointing down from above it.
Why it's useful:
This indicator helps you quickly identify and track a consistent reference point in recent price action. It's great for strategies that depend on fixed look-back periods or for simply keeping an eye on a specific historical candle's position as new data comes in.
Key Features:
Adjustable Candle Number: Easily change which candle is marked (e.g., 20th, 10th, 5th) directly from the indicator settings using the "Candle Number to Mark (from end)" input.
Clear Visuals: Both the candle color and a small arrow provide a subtle, yet effective, visual cue.
How to use:
Simply add this script to your TradingView chart. Then, open the indicator's settings to set your desired candle number.
Heatmap Trailing Stop with Breakouts (Zeiierman)█ Overview
Heatmap Trailing Stop with Breakouts (Zeiierman) is a trend and breakout detection tool that combines dynamic trailing stop logic, Fibonacci-based levels, and a real-time market heatmap into a single, intuitive system.
This indicator is designed to help traders visualize pressure zones, manage stop placement, and identify breakout opportunities supported by contextual price–derived heat. Whether you're trailing trends, detecting reversals, or entering on explosive breakouts — this tool keeps you anchored in structure and sentiment.
It projects adaptive trailing stop levels and calculates Fibonacci extensions from swing-based extremes. These levels are then colored by a market heatmap engine that tracks price interaction intensity — showing where the market is "hot" and likely to respond.
On top of that, it includes breakout signals powered by HTF momentum conditions, trend direction, and heatmap validation — giving you signals only when the context is strong.
█ How It Works
⚪ Trailing Stop Engine
At its core, the script uses an ATR-based trailing stop with trend detection:
ATR Length – Defines volatility smoothing using EMA MA of true range.
Multiplier – Expands/retracts the trailing offset depending on market aggression.
Real-Time Extremum Tracking – Uses local highs/lows to define Fibonacci anchors.
⚪ Fibonacci Projection + Heatmap
With each trend shift, Fibonacci levels are projected from the new swing to the current trailing stop. These include:
Fib 61.8, 78.6, 88.6, and 100% (trailing stop) lines
Heatmap Coloring – Each level'slevel's color is determined by how frequently price has interacted with that level in the recent range (defined by ATR).
Strength Score (1–10) – The number of touches per level is normalized and averaged to create a heatmap ""score"" displayed as a colored bar on the chart.
⚪ Breakout Signal System
This engine detects high-confidence breakout signals using a higher timeframe candle structure:
Bullish Breakout – Strong bullish candle + momentum + trend confirmation + heatmap score threshold.
Bearish Breakout – Strong bearish candle + momentum + trend confirmation + heatmap score threshold.
Cooldown Logic – Prevents signals from clustering too frequently during volatile periods.
█ How to Use
⚪ Trend Following & Trail Stops
Use the Trailing Stop line to manage positions or time entries in line with trend direction. Trailing stop flips are highlighted with dot markers.
⚪ Fibonacci Heat Zones
The projected Fibonacci levels serve as price magnets or support/resistance zones. Watch how price reacts at Fib 61.8/78.6/88.6 levels — especially when they're glowing with high heatmap scores (more glow = more historical touches = stronger significance).
⚪ Breakout Signals
Enable breakout signals when you want to trade breakouts only under strong context. Use the "Heatmap Strength Threshold" to require a minimum score (1–10).
█ Settings
Stop Distance ATR Length – ATR period for volatility smoothing
Stop Distance Multiplier – Adjusts the trailing stop'sstop's distance from price
Heatmap Range ATR Length – Defines how far back the heatmap scans for touches
Number of Heat Levels – Total levels used in the heatmap (more = finer resolution)
Minimum Touches per Level – Defines what counts as a ""hot"" level
Heatmap Strength Threshold – Minimum average heat score (1–10) required for breakouts
Timeframe – HTF source used to evaluate breakout momentum structure
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Bias Bar Coloring + Multi-Timeframe Bias Table + AlertsMulti-Timeframe Bias Bar Coloring with Alerts & Table
This indicator provides a powerful, visual way to assess price action bias across multiple timeframes—Monthly, Weekly, and Daily—while also coloring each bar based on the current chart’s bias.
Features:
Persistent Bar Coloring: Bars are colored green for bullish bias (close above previous high), red for bearish bias (close below previous low), and persist the last color if neither condition is met. This makes trend shifts and momentum easy to spot at a glance.
Bias Change Alerts: Get notified instantly when the bias flips from bullish to bearish or vice versa, helping you stay on top of potential trade setups or risk management decisions.
Multi-Timeframe Bias Table: A table anchored in the top right corner displays the current bias for the Monthly, Weekly, and Daily charts, color-coded for quick reference. This gives you a clear view of higher timeframe context while trading any chart.
Consistent Logic: The same objective bias logic is used for all timeframes, ensuring clarity and reliability in your analysis.
How to Use:
Use the bar colors for instant visual feedback on trend and momentum shifts.
Watch the top-right table to align your trades with higher timeframe bias, improving your edge and filtering out lower-probability setups.
Set alerts to be notified of bias changes, so you never miss a potential opportunity.
This tool is ideal for traders who value multi-timeframe analysis, want clear visual cues for trend direction, and appreciate having actionable alerts and context at their fingertips.