Ehlers Cyber CycleEhlers Cyber Cycle indicator script. This indicator was originally developed by John F. Ehlers (see his book `Cybernetic Analysis for Stocks and Futures`, Chapter 4: `Trading the Cycle`).Pine Script® indicatorby evergetUpdated 11160
Crimson/Grover Sine CycleThere is plenty of indicators trying to show cycles in price, the majority of them create a stationary version of the price and then smooth it, the Crimson/Grover cycle use as source a pure sine wave of period crimson and then use a best fit line with y = price and x = sine wave.Some final transformations are mades for highlights the cycle of the price. The length parameter control the regression period and the crimson parameter the period of the sine cycle.If the length is higher than the crimson period then the indicator is more smoother but give more liberty to the sine wave. The period of sine wave is equal to period/(2*3.14) . A sine wave of period 100 For any questions regarding the indicator please contact me :)Pine Script® indicatorby alexgrover1010113
Ehlers Stochastic Cyber CycleEhlers Stochastic Cyber Cycle indicator script. This indicator was originally developed by John F. Ehlers (see his book `Cybernetic Analysis for Stocks and Futures`, Chapter 8: `Stochasticization and Fisherization of Indicators`).Pine Script® indicatorby evergetUpdated 33235
AnNam RSI Cycle [PlungerMen] This script improves the default RSI 14 1: it identifies regions of the RSI which are oversold and overbought by changing the color of RSI from white to red. 2: it adds additional reference lines at 20,25.. 75,80 to better gauge the RSI value Finally, the coolest feature, the middle 50 line is used to indicate which cycle the price is currently at A green color at the 50 line indicates a bullish cycle, a red color indicators a bearish cycle, and a white color indicates a neutral cycle. The cycles are determined using the RSI as follows: if RSI is overbought, cycle switches to bullish until RSI falls below 40 , at which point it becomes neutral if RSI is oversold, cycle switches bearish until RSI rises above 60, at which point it becomes neutral a neutral cycle is exited at either overbought or oversold conditions Thank for TradeCamily!Pine Script® indicatorby luongson10711124
Ehlers Cycle BandPass Filter [CC]The Cycle BandPass Filter was created by John Ehlers (Cycle Modes and Trend Modes) and this is an alternate to the default BandPass Filter by changing some settings. This will be another series I will be introducing showing some indicators created by Ehlers and that didn't get much attention. This identifies the underlying cycle in the price data and these indicators aren't very common so I want to introduce more of these to tv. Buying and selling with these indicators can be a bit tricky but overall what Ehlers recommends is to buy at the lowest point and sell at the highest point to capture the underlying cycle. I have included strong buy and sell signals as darker colors and normal signals as lighter colors. Buy when the line turns green and sell when it turns red. Let me know if there are any other scripts you would like to see me publish!Pine Script® indicatorby cheatcountry2274
Thiru Time CyclesThiru Time Cycles - Advanced Time-Based Market Analysis System WHAT IT DOES: Automatically identifies and visualizes trading sessions, time cycles, and market structure elements. Helps traders identify optimal entry times, track session ranges, and monitor market structure through ICT/SMC methodologies. KEY FEATURES: 1. SESSION KILLZONES - Asia, London, NY AM, NY PM, Lunch, Power Hour sessions - Customizable colors, transparency, and visual styles (Filled, Outline, TopLine, SideBars) - Real-time high/low tracking within each session 2. 90-MINUTE TIME CYCLES - Divides major sessions into three 90-minute cycles (A/M/D phases) - London: LO A, LO M, LO D - NY AM: AM A, AM M, AM D - NY PM: PM A, PM M, PM D 3. 30-MINUTE SUB-CYCLES - Granular 30-minute breakdowns (A1-A3, M1-M3, D1-D3) - Precise entry timing within larger cycles 4. TOI (TIME OF INTEREST) TRACKER - London: 2:45-3:15 AM, 3:45-4:15 AM - NY AM: 9:45-10:15 AM, 10:45-11:15 AM - NY PM: 1:45-2:15 PM, 2:45-3:15 PM 5. TRADE SETUP TIME WINDOWS - London: 2:30-4:00 AM - NY AM: 9:30-10:30 AM - NY PM: 1:30-2:30 PM 6. TOI VERTICAL LINES - 90-minute and 30-minute cycle boundary markers - Customizable opacity, style, and height 7. PIVOT ANALYSIS - High/Low pivot identification per session - Pivot midpoints - Customizable labels with price display - Extension options (until mitigated/past mitigation) 8. SESSION RANGE TABLE - Real-time range display - Average range calculation - Color-coded active sessions 9. OPENING PRICE LINES - Daily Chart Open, hourly opens - Customizable session opens 10. DAY/WEEK/MONTH FILTERS - Filter by day of week - Current week/last 4 weeks options - D/W/M high/low tracking HOW TO USE: BASIC SETUP: 1. Add indicator to chart 2. Set timezone (default: America/New_York) 3. Enable desired sessions in Killzones section 4. Customize colors and styles FOR SESSION TRADING: - Enable session killzones you trade - Monitor session boxes for high/low ranges - Use range table for current/average ranges FOR TIME CYCLE ANALYSIS: - Enable 90-min or 30-min cycles - Watch price action at cycle boundaries - Use vertical lines for cycle transitions FOR PIVOT TRADING: - Enable "Show Pivots" in Killzone Pivots - Use pivots as support/resistance - Set alerts for pivot breaks FOR TOI TRADING: - Enable TOI Tracker - Monitor specific time windows - Use for precise entry timing UNIQUE FEATURES: ✓ Custom visual system (Filled/Outline/TopLine/SideBars box styles) ✓ Proprietary color processing functions ✓ Dual cycle system (90-min + 30-min simultaneous tracking) ✓ Integrated TOI system with vertical line visualization ✓ Smart label positioning with collision detection ✓ Comprehensive range analysis with averaging ✓ Flexible session management with custom time windows TECHNICAL: - Pine Script v6 - 500 max labels/lines/boxes - Full DST-aware timezone support - Multi-timeframe compatible - Customizable timeframe limits BEST PRACTICES: - Start with session killzones, add cycles gradually - Set appropriate timeframe limits to avoid clutter - Use consistent colors for clarity - Enable only sessions you actively trade - Monitor range table for session volatility - Set pivot break alerts for your trading sessions Compatible with all instruments (forex, stocks, futures, crypto). Works on all timeframes, optimized for intraday trading. For support: @thirudinesh on TradingView © 2025 thirudinesh - Advanced Time Cycle Analysis System Proprietary Algorithm - All Rights Reserved Pine Script® indicatorby thirudineshUpdated 5536
Simple CycleIntroduction A simple and really clean cycle oscillator, in fact its quite precise even if the script use recursion which can sometime produce totally uncorrelated results. On The Code The calculations start with a who is a smoothing/averaging constant. Then comes src who is the input and is defined as the sum of the closing price with the output, then the output is high-pass filtered in b , after that the output is just the weighted average of the input change with b . All those recursions and detrending steps make the indicator able to highlights cycles. Pine Script® indicatorby alexgrover1195
Full Cycle Valuation | QuantumResearchQuantumResearch Full Cycle Valuation Indicator for BTC only! The Full Cycle Valuation indicator is an advanced on-chain valuation model that synthesizes multiple fundamental Bitcoin metrics into a single, normalized score. By leveraging Power Law Corridor, Pi Cycle Top, Crosby Ratio, MVRV Z-Score, SOPR Z-Score, NUPL Z-Score, BAERM, and other key valuation signals, this tool provides traders and investors with an intuitive way to assess Bitcoin’s market cycle positioning and identify potential overbought or undervalued conditions. 🚀📊 1. Overview This indicator helps users: Identify Market Cycles – Uses a blend of statistical and fundamental models to determine whether Bitcoin is undervalued or overvalued.🔄 Normalize On-Chain & Valuation Metrics – Standardizes multiple valuation indicators through Z-score transformation for clearer insights📉📈 Assess Risk & Reward – Generates an Average Valuation Z-score, offering a high-level overview of current market positioning. ⚖️ Customize Visual Preferences – Dynamic color-coded signals, background fills, and table-based valuation metrics enhance usability. 🎨 2. How It Works A. Power Law Corridor The Power Law Model provides a long-term price corridor for Bitcoin based on a logarithmic regression formula. 🔢 The indicator evaluates where the current price sits relative to the Power Law Support & Resistance levels. 📊 Normalized Z-score Calculation: A standardized metric indicating overvaluation or undervaluation. 🎯 B. Pi Cycle Top Uses the 111-day and 350-day moving averages to identify cyclical market peaks. 🔺 Generates a Z-score that measures deviation from historical overbought conditions. ⚠️ C. Crosby Ratio Measures market momentum by analyzing Heikin-Ashi candle trends and ATR-based volatility. 📊 Provides a weekly trend strength score that is normalized into a Z-score. 📈 D. MVRV Z-Score Compares Bitcoin's Market Cap to Realized Cap to assess whether price is above or below fair value. 💰 The higher the MVRV Z-score, the more overvalued Bitcoin is; lower scores indicate undervaluation. 🔻 E. SOPR Z-Score Spent Output Profit Ratio (SOPR) measures profit-taking behavior in the market. 💵 SOPR is smoothed and standardized to filter out noise and highlight macro trends. 📊 F. NUPL Z-Score Net Unrealized Profit/Loss (NUPL) calculates the proportion of coins held in profit versus loss. 📉📈 High Z-score values indicate speculative euphoria, while low values suggest capitulation. ⚠️ G. BAERM (Bitcoin AR Model) BAERM is a statistical model that incorporates Bitcoin's supply, halvings, and historical growth trends to estimate fair value. 📉 This model is adjusted with a damping function to remove excess noise. 🎛️ H. Composite Full Cycle Z-Score The indicator calculates a weighted average Z-score across all valuation models to generate a final Full Cycle Valuation Score. 📊 The score is used to define five distinct market states: Very Undervalued (-3 to -2 Z-score): Ideal accumulation zone. 🟢 Undervalued (-2 to -1.5 Z-score): Accumulate Bitcoin at a discount. 🔵 Neutral (-1.5 to +1.5 Z-score): Fair market conditions. ⚪ Overheated (+1.5 to +2 Z-score): Potential distribution phase. 🟠 Very Overheated (>2 Z-score): High risk of market tops. 🔴 3. Visual Representation This indicator offers multiple dynamic visual elements to improve clarity and ease of use: Color-Coded Background Fill Green Background – Indicates undervalued market conditions (Accumulation). 🟢 Blue Background – Signals overheated conditions (Distribution). 🔵 Table Display for Z-Scores Displays each individual valuation model’s Z-score in a compact, color-coded format. 📊 The final average Z-score is highlighted, along with a corresponding market action recommendation. 🎯 4. Customization & Parameters Traders and analysts can fine-tune the Full Cycle Valuation indicator to match their specific strategies: On-Chain Valuation Metrics MVRV, SOPR, and NUPL Z-score lengths can be adjusted for different market perspectives. Market Cycle Models Power Law Corridor: Adjustable regression parameters to modify long-term projections. Pi Cycle & Crosby Ratio: Customizable smoothing lengths. Threshold Adjustments Modify overvaluation and undervaluation thresholds to fine-tune signal sensitivity. Visual Settings Valuation Mode: Allows traders to switch between default mode and valuation-focused color themes. 🎨 5. Trading Applications This indicator is not just for trading—it serves as a powerful macro analysis tool: Long-Term Investing – Helps Bitcoin investors identify key accumulation and distribution phases. 📈 Market Timing – Guides traders in recognizing overbought and oversold conditions based on fundamental valuation. ⏳ Risk Management – Provides a systematic way to assess whether Bitcoin is fundamentally cheap or expensive. ⚠️ Cyclical Trend Analysis – Helps long-term investors compare past market cycles and spot repeating patterns. 🔄 6. Final Thoughts The Full Cycle Valuation Indicator is a comprehensive macro valuation tool that combines multiple on-chain, statistical, and fundamental models into one easy-to-interpret score. Whether you are a long-term investor looking to time Bitcoin cycles or a trader searching for additional confluence, this tool offers invaluable insights. Important Disclaimer: No indicator can predict future price action with certainty. Always perform additional research and use proper risk management when making investment decisions. ⚠️📊Pine Script® indicatorby QuantumResearchUpdated 2296
Sinusoidal Cycles OscillatorTitle: Sinusoidal Cycles Oscillator – Multi-Cycle Market Indicator Description: Discover market rhythm with the Sinusoidal Cycles Oscillator, a powerful tool for technical analysis and cyclical trading. Three customizable cycles track short, medium, and long-term market oscillations. Cycle 1 serves as the main reference wave with an optional mirror envelope. Cycles 2 & 3 provide supporting harmonics for deeper insight. Composite wave averages all cycles to reveal overall market phase. Features: Fully adjustable periods and amplitude. Visualize tops, bottoms, and turning points at a glance. Oscillator ranges from -1 to +1 with clear threshold guides. Ideal for traders using cycle analysis, harmonic trading, or market timing. Easy-to-read visual overlay and separate panel option. Use it to: Identify potential price reversals. Compare market cycles across multiple timeframes. Enhance timing and entry/exit decisions.Pine Script® indicatorby egghen12
Bitcoin Bull Runs Mid Cycle Aligned This script plots 2 lines which are the 2013 and 2016 bull run. The plots are aligned on their mid cycles to the 2021 mid cycle. Settings: You can move the plots on the x and y axis in the settings for the Daily, Weekly and Monthly TFs. The plot is weird on the Monthly TF, best to use the Daily and Weekly. If it doesn't load at first you have to zoom out fully and go back to 2013 for it to load. Then it will load.Pine Script® indicatorby jewinator_8Updated 121270
Ehlers Instantaneous Phase Dominant Cycle [CC]The Instantaneous Phase Dominant Cycle was created by John Ehlers (Stocks & Commodities V. 18:3 (16-27)) and this is one of many similar indicators that I will be publishing from Ehlers in the next few months that calculate the current dominant cycle period. The cycle period can be used in multiple ways but generally this means that if the stock is currently at a low then the current cycle period will tell you when the next lowest low will get hit or vice versa. This is also useful for using this cycle period as an input for other indicators to provide a very good adaptive length. Let me know how you wind up using these indicators in your daily trading. I have included the same buy and sell signals from my recent Hilbert Transform and so buy when the line turns green and sell when it turns red. Let me know if there are any other indicators you would like to see me publish!Pine Script® indicatorby cheatcountry22102
CCI Cycle (Modified Schaff Trend Cycle)This is a modified Schaff Trend Cycle (STC), which is designed to provide quicker entries and exits. I've been a huge fan of the STC for a long time, but being based on the MACD means its signals often lag by a bar or two (especially in fast moving markets). All I've done here is take the base STC script (all credit to user @LazyBear), and change the source to a modified CCI. The CCI Cycle provides more timely entries and exits, often by 1-2 bars. The flip side of the increased responsiveness is a prevalence for more false signals (a perfect example is the 17th August on the above chart). It's the nature of the beast! Still, I've been using this for a few months now and it's (in my opinion) an upgrade on the standard STC. As always, you will need to pair this with another indicator or method of technical analysis to provide a trade bias, as the CCI Cycle (and STC) aren't designed to trade every signal. In my experience, either divergence identification, or using one or more moving averages works particularly well. The indicator is also MTF capable, so you can get some interesting results from that. Any queries let me know. DDPine Script® indicatorby DreamsDefined1313 1.6 K
Goertzel Cycle Period Adaptive Fisher Transform [Loxx]Goertzel Cycle Period Adaptive Fisher Transform is an adaptive Fisher Transform using the Goertzel Cycle Algorithm to derive length inputs. What is Goertzel Cycle Algorithm? Read here: What is Fisher Transform? The Fisher Transform is a technical indicator created by John F. Ehlers that converts prices into a Gaussian normal distribution. The indicator highlights when prices have moved to an extreme, based on recent prices. This may help in spotting turning points in the price of an asset. It also helps show the trend and isolate the price waves within a trend. Included: Zero-line and signal cross options for bar coloring Customizable overbought/oversold thresh-holds Alerts Signals ***Please note, the Goertzel Cycle Algorithm is processor heavy, so this indicator will take some time to load.Pine Script® indicatorby loxx3397
Ehlers Mesa Spectrum Dominant Cycle [CC]The Mesa Spectrum Dominant Cycle was created by John Ehlers and this is the foundation for many indicators he created that would later follow. This is his updated version of his original Mesa algorithm and I do not recommend this indicator as a stand alone for trading. This is more of an informational indicator that will tell you the current dominant cycle period which is the approximate period between peaks and valleys in the underlying data. I have color coded buy signals just in case with both strong and normal signals. Darker colors are strong and lighter colors are normal. Buy when the line is green and sell when it is red. Let me know if there are any other indicators you would like to see me publish!Pine Script® indicatorby cheatcountryUpdated 2525142
3 EMA & SMA (Market Cycle)Simple Indicator based on 3 Simple and 3 Exponential Moving Averages. Used to indicate Market Cycles. Definition of Bull Market: 10 SMA is above 21 EMA . 30 SMA slope is up. 55 EMA is trending above 200 EMA . Definition of Bear Market: 10 SMA is below 21 EMA . 30 SMA slope is down. 55 EMA is trending below 200 EMA .Pine Script® indicatorby MrHaugen45
[RS]MTF Fibonacci Cycles V0EXPERIMENTAL: Fibonacci rate levels based on price advance/decline, can be used to make visualizations of fib clusters or for cycles.Pine Script® indicatorby RicardoSantos1414 3.4 K
Dominant Cycle Tuned RsiIntroduction Adaptive technical indicators are importants in a non stationary market, the ability to adapt to a situation can boost the efficiency of your strategy. A lot of methods have been proposed to make technical indicators "smarters" , from the use of variable smoothing constant for exponential smoothing to artificial intelligence. The dominant cycle tuned rsi depend on the dominant cycle period of the market, such method allow the rsi to return accurate peaks and valleys levels. This indicator is an estimation of the cycle finder tuned rsi proposed by Lars von Thienen published in Decoding the Hidden Market Rhythm/Fine-tuning technical indicators using the dominant market vibration/2010 using the cycle measurement method described by John F.Ehlers in Cybernetic Analysis for Stocks and Futures . The following section is for information purpose only, it can be technical so you can skip directly to the The Indicator section. Frequency Estimation and Maximum Entropy Spectral Analysis “Looks like rain,” said Tom precipitously. Tom would have been a great weather forecaster, but market patterns are more complex than weather ones. The ability to measure dominant cycles in a complex signal is hard, also a method able to estimate it really fast add even more challenge to the task. First lets talk about the term dominant cycle , signals can be decomposed in a sum of various sine waves of different frequencies and amplitudes, the dominant cycle is considered to be the frequency of the sine wave with the highest amplitude. In general the highest frequencies are those who form the trend (often called fundamentals) , so detrending is used to eliminate those frequencies in order to keep only mid/mid - highs ones. A lot of methods have been introduced but not that many target market price, Lars von Thienen proposed a method relying on the following processing chain : Lars von Thienen Method = Input -> Filtering and Detrending -> Discrete Fourier Transform of the result -> Selection using Bartels statistical test -> Output Thienen said that his method is better than the one proposed by Elhers. The method from Elhers called MESA was originally developed to interpret seismographic information. This method in short involve the estimation of the phase using low amount of information which divided by 360 return the frequency. At first sight there are no relations with the Maximum entropy spectral estimation proposed by Burg J.P. (1967). Maximum Entropy Spectral Analysis. Proceedings of 37th Meeting, Society of Exploration Geophysics, Oklahoma City. You may also notice that these methods are plotted in the time domain where more classic method such as : power spectrum, spectrogram or FFT are not. The method from Elhers is the one used to tune our rsi. The Indicator Our indicator use the dominant cycle frequency to calculate the period of the rsi thus producing an adaptive rsi . When our adaptive rsi cross under 70, price might start a downtrend, else when our adaptive rsi crossover 30, price might start an uptrend. The alpha parameter is a parameter set to be always lower than 1 and greater than 0. Lower values of alpha minimize the number of detected peaks/valleys while higher ones increase the number of those. 0.07 for alpha seems like a great parameter but it can sometimes need to be changed. The adaptive indicator can also detect small top/bottoms of small periods Of course the indicator is subject to failures At the end it is totally dependent of the dominant cycle estimation, which is still a rough method subject to uncertainty. Conclusion Tuning your indicator is a great way to make it adapt to the market, but its also a complex way to do so and i'm not that convinced about the complexity/result ratio. The version using chart background will be published separately. Feel free to tune your indicators with the estimator from elhers and see if it provide a great enhancement :) Thanks for reading ! References for the calculation of the dominant cycle estimator originally from www.davenewberg.com Decoding the Hidden Market Rhythm (2010) Lars von Thienen Ehlers , J. F. 2004 . Cybernetic Analysis for Stocks and Futures: Cutting-Edge DSP Technology to Improve Your Trading . Wiley Pine Script® indicatorby alexgrover88622
Quarterly Cycles [Daye's Theory] with LabelsDescription: This indicator automates the Quarterly Theory (also known as Cycle Days Theory), popularized by traders like Daye. It divides time into four distinct quarters to help traders identify the algorithmic phases of price delivery: Accumulation, Manipulation, Distribution, and Continuation (or Reversal). Unlike standard cycle indicators that just color the background, this script draws High/Low Boxes around each quarter. This makes it significantly easier to spot SMT Divergences (Smart Money Technique) and liquidity sweeps between correlated assets (e.g., comparing the Q2 box on NQ vs. ES). Key Features: Fully Adaptive Timeframes: The indicator automatically switches modes based on your chart: Intraday (1m - 30m): Shows Daily Cycles (Asia, London, NY AM, NY PM). Weekly (1H - 2H): Shows Weekly Cycles (Mon, Tue, Wed, Thu). Monthly (4H+): Shows Monthly Cycles (Week 1, Week 2, Week 3, Week 4). New York Time Locked: All calculations are hardcoded to New York time (EST/EDT). You do not need to change your chart's timezone settings; the boxes will always appear at the correct algorithmic times. True Open & Equilibrium: True Open Line: Automatically plots a line from the Open of Q2 (e.g., Midnight NY). Price above this line suggests a Long bias; below suggests Short. 50% Equilibrium: (Optional) Toggle a midline to easily see if price is in Premium or Discount relative to the quarter's range. Settings: Fully customizable colors for Q1-Q4. Toggle labels, borders, and the "True Open" line.Pine Script® indicatorby CookieCookie0_019
Uber STC - Schaff Trend Cycle [UTS]Desc: The Schaff Trend Cycle (STC) is a charting indicator that is commonly used to identify market trends and provide buy and sell signals to traders. Developed in 1999 by noted currency trader Doug Schaff, STC is a type of oscillator and is based on the assumption that, regardless of time frame, currency trends accelerate and decelerate in cyclical patterns. This indicators source code is based on Releasing the Code to the Schaff Trend Cycle.pdf Executive Summary Schaff Trend Cycle is a charting indicator used to help spot buy and sell points in the markets. Compared to the popular MACD indicator, STC will react faster to changing market conditions. A drawback to STC is that it can stay in overbought or oversold territory for long stretches of time. General Usage There are two lines indicating overbought and oversold conditions, default at 75 and 25 which is customizable of course. Signals are created on line crosses. They that can be used to enter LONG/SHORT or EXIT a trade. If the STC crosses the lower line upwards a LONG signal is triggered and if it crosses the upper line a SHORT signal is triggered. Line crosses in the other direction than the current trade also work as EXIT signal. Alerts Traders can easily use the reversal signal to trigger alerts from: Cross Up Cross Down Those values are > zero if a condition is triggered. Alert condition example: "Cross Up" - "Greater Than" - "0" Moving Averages 16 different Moving Averages are available: ALMA (Arnaud Legoux Moving Average) DEMA (Double Exponential Moving Average) EMA (Exponential Moving Average) FRAMA (Fractal Adaptive Moving Average) HMA (Hull Moving Average) JURIK (Jurik Moving Average) KAMA (Kaufman Adaptive Moving Average) Kijun (Kijun-sen / Tenkan-sen of Ichimoku) LSMA (Least Square Moving Average) RMA (Running Moving Average) SMA (Simple Moving Average) SuperSmoothed (Super Smoothed Moving Average) TEMA (Triple Exponential Moving Average) VWMA (Volume Weighted Moving Average) WMA (Weighted Moving Average) ZLEMA (Zero Lag Moving Average) A freely determinable length allows for sensitivity adjustments that fits your own requirements. Pine Script® indicatorby UberTradingSystems88287
Master Cycle: Quantum Wave# AI Smart Signal: Quantum Wave Edition **The Ultimate Market Co-Pilot: Precision Trend & Momentum Synthesis** The **Quantum Wave** is not just another moving average; it is a sophisticated **Double-Smoothed Heiken Ashi Oscillator** designed to mathematically filter out market noise and visualize the true underlying trend structure. This script combines three powerful engines into one "Master" system: 1. **Quantum Cycle Logic:** A proprietary algorithm that smooths price action to reveal the dominant "Heartbeat" of the market. 2. **Adaptive Momentum Visuals:** Dynamic dot sizing that reacts to volatility expansion and contraction. 3. **Smart Regime Filtering:** An AI-driven filter (ADX & Volatility) that automatically suppresses signals during dangerous "Choppy" or sideways markets. --- ## 🔬 Scientific Methodology ### 1. The Quantum Smoothing Algorithm Most indicators suffer from "Whipsaws" (fake signals) because they react to every candle wick. The Quantum Wave solves this by creating a **Synthetic Price Series**. * **Step 1:** It normalizes Open, High, Low, and Close data. * **Step 2:** It applies a dual-layer Exponential Smoothing filter. * **Result:** A clean, flowing "Ribbon" that ignores noise and only turns when the actual trend structure shifts. ### 2. Dynamic Momentum Sizing (The "Living" Dots) The visual dots on the chart are "alive". They resize in real-time based on the **Body Strength** of the movement: * 🔵 **Small Dots (Weak/Range):** Indicates the market is resting or deciding. *Guidance: STAY OUT / WAIT.* * 🟢 **Medium Dots (Trend):** Indicates a confirmed healthy trend. *Guidance: ENTER / HOLD.* * 🟡 **Large Dots (Power):** Indicates a high-volatility expansion phase. *Guidance: MAX PROFIT POTENTIAL.* --- ## 🛠️ Key Features * **Instruction Overlay:** A built-in Dashboard tells you exactly what to do (BUY, SELL, HOLD, or WAIT) based on complex logic, simplified into one word. * **Auto-Timeframe Detection:** The sensitivity automatically adjusts whether you are scalping (1-min) or Swing Trading (Daily). * **Market Structure Labels:** Automatically identifies Higher Highs (HH) and Lower Lows (LL) to confirm trend direction. * **Demand & Supply Zones:** Auto-plots key reaction levels for Take Profit targets. --- ## 🎯 How to Trade **For a BUY Setup:** 1. **Trend:** Ensure the Quantum Wave (Dots) are **GREEN**. 2. **Momentum:** Look for the dots to grow from Small to Medium. 3. **Confirmation:** Wait for the Dashboard to read "ACTION: BUY". **For a SELL Setup:** 1. **Trend:** Ensure the Quantum Wave (Dots) are **RED**. 2. **Momentum:** Look for the dots to grow from Small to Medium. 3. **Confirmation:** Wait for the Dashboard to read "ACTION: SELL". --- Pine Script® indicatorby QUANTIVESTAUpdated 5
Quarterly Cycles [Daye's Theory]This is entirely based on quarters theory by Daye (@traderdaye in Twitter). I'm merely the creator of the indicator and full credits for the underlying concept goes to Daye. The idea is to split year, month, week and day into quarters at specific times which lead to PO3 (Accumulation-Manipulation-Distribution) cycles within those quarters. They present in one of these two forms: Q1. (A)ccumulation - Consolidation Q2. (M)anipulation - Judas Swing Q3. (D)istribution - Low Resistance Liquidity Run Q4. (X) - Continuation/Reversal of previous quarter (OR) Q1. (X) - Continuation/Reversal of previous quarter Q2. (A)ccumulation - Consolidation Q3. (M)anipulation - Judas Swing Q4. (D)istribution - Low Resistance Liquidity Run As of now, the indicator assumes everything as AMDX, but if some clever idea comes in the future, I'll try to implement XAMD as well. Similar to True Day Opens, there are True Monthly Opens, True Weekly Opens and True Session Opens, all of which form during the second quarters of those periods, all of which are marked by the indicator. For timeframes in H1 and below, the indicator shows weekly, daily and session quarter cycle phases. For higher timeframes, it shows yearly, monthly and weekly cycle phases. Pine Script® indicatorby waffles_btcUpdated 224224 5.4 K
xxmonk. 3H Cycle Hunter xxmonk. 3H Cycle Hunter (Absolute Fractal) Description This indicator is engineered to execute the "Absolute Fractal" time theory by hunting for the very first valid inefficiency that forms immediately after every 3-Hour Macro Anchor (00:00, 03:00, 06:00, 09:00, etc.). Unlike standard FVG indicators that mark every gap, the 3H Cycle Hunter waits patiently for the specific "Cycle Reset" and identifies only the First High-Probability Setup > 17 handles. It features advanced "Mirror Logic" to dynamically adjust box coordinates based on Volume Imbalance (VI) presence. Key Features 3-Hour Cycle Anchors: Automatically tracks the 3-hour macro blocks (00, 03, 06, 09, 12, 15, 18, 21 NY Time). Smart "Mirror" Logic: Standard FVG: Draws strictly Wick-to-Wick. VI Detected: Automatically shifts to Body-to-Body precision on the specific side where the Volume Imbalance exists (using Open/Close logic). NDOG Bypass: Intelligently ignores the 18:00 New Day Opening Gap noise, starting the hunt at 18:01 to find the true session setup. Precision Filters: Size Filter: Ignores any setup smaller than 17 Handles (customizable). Eighths Grid: Automatically projects a specialized Fibonacci grid (12.5%, 25%, 50%, 75%) inside the box for precision grading. Full Customization: Assign unique colors and text positions for each 3-hour cycle independently (e.g., make the 09:00 Open Red and the 12:00 Lunch Purple). How to Use Apply the indicator to your chart (Recommended: 1-Minute or 5-Minute timeframe). Wait for a vertical cycle line (e.g., 09:00). The indicator will scan price action until it finds the first valid gap > 17 points. Once found, it draws an extended box with the Eighths Grid for your entry and targeting. It then stops hunting until the next 3-hour window opens. Settings Max Days History: Limit how far back it draws to keep charts clean. Minimum Gap Size: Default is 17.0 handles (Nasdaq optimized). Cycle Colors: Customize the visual style for every specific time block. Grid Style: Toggle the internal 1/8th grid lines on or offPine Script® indicatorby xmonkk1
Trend-cycle reversion (multi-timeframe)Trend-cycle reversion (multi-timeframe) is a mean-reversion “stretch” gauge built around a simple idea: price often deviates from its recent path (trend + dominant swing rhythm), and those deviations become more actionable when you scale them by volatility and express them as a standardized score. This script models the last N bars as: 1) a linear trend (to capture drift), plus 2) a single dominant cycle (to capture the most prominent oscillation inside the same window). It then measures how far current price is from the model’s next-bar projection, normalizes that distance by ATR (volatility), and finally converts the result into a rolling Z-score. The output is displayed as a multi-timeframe dashboard so you can see “stretch vs. fit” across several time compressions at once. ------------------------------------------------------------ What you see on the chart ------------------------------------------------------------ The indicator draws a table (overlay) with up to 12 rows (configurable), one per timeframe from your CSV list. Each row shows: • TF: The timeframe being evaluated (e.g., 1, 5, 15, 60, 240, D). • Z: The current Z-score of the volatility-scaled model gap on that timeframe. • State: A simple interpretation using your Z threshold: - “Short ▼” when Z > +threshold (price is extended above the model path) - “Long ▲” when Z < −threshold (price is extended below the model path) - “Hold •” when inside the band (not unusually stretched) Colors follow the same logic: red for high positive Z, green for high negative Z, gray when neutral or unavailable. Important: “Long/Short” here describes the direction of mean-reversion pressure (over/under the fitted path), not a complete trading system by itself. ------------------------------------------------------------ How it works (plain-English math) ------------------------------------------------------------ 1) Optional log transform If “Fit on log(price)” is enabled, the model runs on log(price) instead of raw price. This is often useful for markets that behave multiplicatively (large percentage moves, long-term exponential growth), because distances become closer to “percent-like” rather than absolute dollars. 2) Trend fit (linear regression in the window) Over the last Window Length bars, the script estimates a straight-line trend. Think of this as the baseline path that best explains the window if you ignore swings. 3) Cycle search (best period by least-squares error) After removing the linear trend, the script searches for a single sinusoidal cycle period between: • Min Period and Max Period (in bars), stepping by Period Step. For each candidate period, it computes the best-fitting sine+cosine components and measures the remaining error (SSE). The period with the smallest SSE is selected as the “best” cycle for that window. To reduce recalculation cost and to keep the chosen cycle from flapping every bar, the script re-runs this period search only every “Re-search best period every N bars”. Between searches, it keeps using the last best period. 4) Next-bar projection and “gap” Using the fitted trend + fitted cycle, the script projects the model value one bar ahead (relative to the window indexing). It then computes: gap = (current value) − (projected value) If “Invert sign” is enabled, the gap is multiplied by −1. This doesn’t change magnitude, it only flips interpretation (useful if you prefer the opposite sign convention). 5) Volatility scaling via ATR The raw gap is divided by ATR to make it comparable across symbols and regimes. If you are fitting on log(price), ATR is also computed in log space using a log-based true range, then smoothed similarly (so the scale is consistent). This produces a “gap in ATR units”. 6) Z-score standardization Finally, the script computes a rolling Z-score of the ATR-scaled gap over “Z-score length”: Z = (gapATR − mean(gapATR)) / stdev(gapATR) This is what appears in the table. The Z-score answers: “How unusual is today’s model deviation compared to the last Z-score length observations?” ------------------------------------------------------------ How to interpret the Z-score ------------------------------------------------------------ Z near 0: Price is close to the model path relative to recent volatility (nothing unusual). Z above +threshold: Price is meaningfully ABOVE the fitted path (stretched up). This can be read as elevated downside mean-reversion pressure — but it can also persist during strong trends. Z below −threshold: Price is meaningfully BELOW the fitted path (stretched down). This can be read as elevated upside mean-reversion pressure — but it can also persist during fast selloffs. A practical way to use this indicator is to treat it as a “context filter” or “risk tool”: • Fading extremes: look for mean-reversion setups when Z is beyond the threshold and price action confirms (e.g., momentum stalls, structure breaks, volatility contraction/expansion cues). • Trend-aware reversion: only take “reversion” signals in the direction permitted by your separate trend filter (higher-timeframe trend, moving average regime, market structure, etc.). • Take-profit / risk management: in a trend-following strategy, extremes can be used as partial profit zones or as “don’t chase here” warnings. ------------------------------------------------------------ Multi-timeframe (MTF) notes ------------------------------------------------------------ Each table row is computed with request.security() on that timeframe with no lookahead, so it is not using future bars to form the value. However, like any live indicator, the value for an actively forming bar can change until that bar closes (especially on the lower timeframes). Also, higher-timeframe rows update when that higher-timeframe bar updates/closes. ------------------------------------------------------------ Inputs (what to change first) ------------------------------------------------------------ If you only change a few settings, start here: • Window Length: Controls how much history the model uses. Larger = smoother/stabler, but slower to adapt. • Min/Max Period + Step: Controls the cycle search range and granularity. - Wider ranges can capture more possibilities but cost more computation. - Smaller steps can find a closer match but also cost more. • Re-search every N bars: Higher = faster performance and more stability; lower = more adaptive but can be noisier. • ATR length (scale gap): Controls the volatility scale. Shorter reacts faster to volatility changes; longer is steadier. • Z-score length: Controls how “rare” extremes are. Longer lengths make Z more stable, but require more history and adapt slower to regime shifts. • Z threshold: Defines when the table labels “Long/Short”. Common choices are 1.5–2.5 depending on how selective you want extremes to be. • Timeframes (CSV) + Max table rows: Controls what you see in the dashboard. ------------------------------------------------------------ Limitations and expectations ------------------------------------------------------------ This is a single-cycle, windowed model. Markets can be multi-cycle, non-sinusoidal, or structurally shifting; in those cases the “best period” is simply the best approximation inside the window, not a guarantee of a true underlying rhythm. Z-score extremes are not automatic reversal calls. In strong trends or during volatility shocks, Z can stay extreme longer than expected. Use this as a measurement tool, then combine it with your own confirmation and risk management. This indicator is for analysis/education and does not provide financial advice. Pine Script® indicatorby Tradenometry6