Cycles
ALTSEASON Monitor: Macro vs Crypto (normalized)ALTSEASON Monitor: Macro vs Crypto (normalized)
Set 1W or 1M timeframe for the macro picture.
If your provider does not have some symbols, change the tickers in the script settings (for example, ETHBTC from another exchange).
For detailed trading, keep this monitor on the second window and watch local entries on individual charts.
Darvas Box with Mid, 25% & 75% LinesThis script draws a Darvas Box.
The box is drawn between Top (High) and Bottom (Low).
Optionally, additional lines can be displayed:
Midline (50%) → customizable color, width, and style
25% Line → customizable color, width, and style
75% Line → customizable color, width, and style
This helps to quickly identify support and resistance zones inside the box.
Additionally, Breakout/Breakdown arrows are drawn, and alerts can be triggered.
Adaptive Square Levels (Prev + Curr Month, Big Labels)Title:
🔢 Adaptive Square Levels — Monthly Precision Trendlines
Description:
The Adaptive Square Levels indicator dynamically plots mathematical square number levels based on the first trading day’s open of each month.
📌 Key Features:
Plots horizontal trendlines aligned with the nearest square number to the monthly open.
Automatically generates ±10 additional square levels above and below that anchor.
Shows current month and previous month levels only, keeping the chart clean.
Special highlight: levels that are squares of multiples of 3 (9, 36, 81…) appear in orange for easy recognition.
The nearest square line is bold and labeled with a ★ star, making it instantly stand out.
Labels use large fonts, ensuring values are clearly visible alongside price scale.
📊 How It Works:
At the first bar of each new month, the script locks the opening price.
It finds the nearest perfect square to that open.
The indicator then plots horizontal levels extending across the month (finite lines, not rays).
At month change, previous month levels are fixed and new levels start fresh.
⚡ Use Cases:
Identify natural mathematical zones of support/resistance.
Compare current vs. previous month’s adaptive levels.
Use as confluence with price action or other technical tools.
⚠️ Disclaimer:
This script is for educational and analytical purposes only. It is not financial advice. Trading involves risk, and past levels or patterns do not guarantee future performance. Always use with proper risk management.
Mikula's Master 360° Square of 12Mikula’s Master 360° Square of 12
An educational W. D. Gann study indicator for price and time. Anchor a compact Square of 12 table to a start point you choose. Begin from a bar’s High or Low (or set a manual start price). From that anchor you can progress or regress the table to study how price steps through cycles in either direction.
What you’re looking at :
Zodiac rail (far left): the twelve signs.
Degree rail: 24 rows in 15° steps from 15° up to 360°/0°.
Transit rail and Natal rail: track one planet per rail. Each planet is placed at its current row (℞ shown when retrograde). As longitude advances, the planet climbs bottom → top, then wraps to the bottom at the next sign; during retrograde it steps downward.
Hover a planet’s cell to see a tooltip with its exact longitude and sign (e.g., 152.4° ♌︎). The linked price cell in the grid moves with the planet’s row so you can follow a planet’s path through the zodiac as a path through price.
Price grid (right): the 12×24 Square of 12. Each column is a cycle; cells are stepped price levels from your start price using your increment.
Bottom rail: shows the current square number and labels the twelve columns in that square.
How the square is read
The square always begins at the bottom left. Read each column bottom → top. At the top, return to the bottom of the next column and read up again. One square contains twelve cycles. Because the anchor can be a High or a Low, you can progress the table upward from the anchor or regress it downward while keeping the same bottom-to-top reading order.
Iterate Square (shifting)
Iterate Square shifts the entire 12×24 grid to the next set of twelve cycles.
Square 1 shows cycles 1–12; Square 2 shows 13–24; Square 3 shows 25–36, etc.
Visibility rules
Pivot cells are table-bound. If you shift the square beyond those prices, their highlights won’t appear in the table.
A/B levels and Transit/Natal planetary lines are chart overlays and can remain visible on the table as you shift the square.
Quick use
Choose an anchor (date/time + High/Low) or enable a manual start price .
Set the increment. If you anchored with a Low and want the table to step downward from there, use a negative value.
Optional: pick Transit and Natal planets (one per rail), toggle their plots, and hover their cells for longitude/sign.
Optional: turn on A/B levels to display repeating bands from the start price.
Optional: enable swing pivots to tint matching cells after the anchor.
Use Iterate Square to shift to later squares of twelve cycles.
Examples
These are exploratory examples to spark ideas:
Overview layout (zodiac & degree rails, Transit/Natal rails, price grid)
A-levels plotted, pivots tinted on the table, real-time price highlighted
Drawing angles from the anchor using price & time read from the table
Using a TradingView Gann box along the A-levels to study reactions
Attribution & originality
This script is an original implementation (no external code copied). Conceptual credit to Patrick Mikula, whose discussion of the Master 360° Square of 12 inspired this study’s presentation.
Further reading (neutral pointers)
Patrick Mikula, Gann’s Scientific Methods Unveiled, Vol. 2, “W. D. Gann’s Use of the Circle Chart.”
W. D. Gann’s Original Commodity Course (as provided by WDGAN.com).
No affiliation implied.
License CC BY-NC-SA 4.0 (non-commercial; please attribute @Javonnii and link the original).
Dependency AstroLib by @BarefootJoey
Disclaimer Educational use only; not financial advice.
Sessions [New_ProfitEfex]This script is use for displaying session in a very attractive an clarity way
You can give it a try for free
PCV5PCV5 is a round-number lattice the chart keeps tripping over.
On the small clocks it hums in tight teeth—25/50/100—like gears meshing under the hood.
On big clocks (and that lone 15m gate) the skeleton shows: 1000 spines, 500 ribs, with 250/750 pulse points marked inside each thousand.
Everything snaps to the tick, projected both ways from the last heartbeat only.
Each choir can be muted—flip a switch, the line goes silent; flip another, it sings.
Not support, not resistance—just the grid the candles accidentally confess.
Worstfx SessionsThis indicator is designed to outline major Forex/Futures market sessions.
It is built for traders who want visual clarity on sessions & important market structure zones.
✅ Features:
• Automatic shading of Asia, London, Pre-NY, and NY sessions.
• Centered session titles that adapt to each window.
• 6:00 pm ET day divider (new trading day) with vertical weekday labels.
• Lightweight design — no extra clutter, just structure.
⚙️Customization
• Session colors & opacity: change each session’s look.
• Titles: toggle on/off, adjust color and font size.
• Dividers: toggle day divider on/off, change line color, choose weekday label color/size.
Calculadora de posicion)Position Size Calculator is a simple tool that helps traders instantly know how many contracts or lots to use based on their risk.
Just set your account size, risk percentage, and stop loss distance — the calculator does the rest.
Stay disciplined, control your risk, and trade with confidence.
BBCONLL(100)BBLL helps you quickly spot market extremes and potential turning points.
By combining the Relative Volatility Index with fixed Bollinger Bands, it gives a clear view of when momentum is stretched too far — making it easier to time entries, exits, or confirm trends.
Simple, visual, and effective for traders who want a sharper edge in decision-making.
Buy/Sell Volume BalanceDESCRIPTION
Buy/Sell Volume Balance is a simple yet powerful indicator designed to measure and visualize the balance between buying and selling volume over a customizable number of recent candles. It helps traders quickly assess market pressure during consolidation phases or ranges, in order to anticipate the most likely breakout direction.
How it works
The indicator analyzes the last N candles (default = 100, user-editable).
Each candle’s total volume is classified as:
Bullish volume (Buy volume): if the candle closes above or equal to its open.
Bearish volume (Sell volume): if the candle closes below its open.
The volumes are summed separately to calculate:
Total Buy Volume
Total Sell Volume
The percentage of each side relative to the total is also displayed.
All results are shown in a fixed table at the top of the chart for quick interpretation.
Purpose
This tool is specifically designed to help traders evaluate the internal battle between buyers and sellers during a range or sideways market. By understanding which side is accumulating more volume within the range, traders can anticipate which direction is more likely when the price breaks out.
If Buy volume dominates → potential bullish breakout.
If Sell volume dominates → potential bearish breakout.
If both sides are nearly balanced, it signals indecision and a higher chance of false breakouts.
Imbalance Threshold
In practice, traders often consider a clear imbalance when one side reaches at least 55–60% of the total volume.
Above this threshold, the dominant side is more likely to dictate the breakout direction.
Below this threshold, the market is usually in indecision and further confirmation is needed before acting.
How to use it
Add the indicator to your chart and choose the lookback period (number of candles).
Focus on ranges or consolidation zones where price is moving sideways.
Observe the balance of Buy vs Sell volume in the top-right box:
A clear imbalance (>55–60%) suggests the stronger side is more likely to push the breakout.
A balanced ratio (<55–60%) indicates indecision and possible false breakouts.
Use it in combination with support/resistance zones, breakout patterns, or volume spikes for best results.
✅ In summary: This indicator does not give direct buy/sell signals, but it provides valuable context about market pressure, helping you to align your trades with the most probable breakout direction.
Square Levels from First Day of MonthSquare Levels from First Day of Month upto 2500
Plots square numbers upto 2500 and plot rays starting from current month only
Monday Open [Bellsz]Plots the NY Monday range with box, High/Low, EQ, and Monday Open, then projects those levels forward by N bars. Clean weekly framing for liquidity targets and mean reversion.
Purpose
Maps the full New York Monday (00:00–23:59 NY time) and projects its High, Low, EQ (midpoint), and Monday Open forward. Use it to frame the week’s liquidity map, “magnet” levels, and mean-reversion targets with one glance.
What it draws
Monday Box — live-updating box for the NY Monday session (fill + border).
High/Low (solid lines) — locked at Monday close and optionally extended N bars.
EQ / Midline (dashed) — (High + Low) ÷ 2, extended N bars.
Monday Open (solid line) — projected from Monday’s first bar, extended N bars during Monday (temporary), then replaced by a fixed Monday-Open line at session end.
How it works
Detects NY calendar day without dayofyear and anchors to America/New_York.
Starts tracking at NY Monday 00:00; updates the box/high/low in real time.
When Monday ends, the script freezes the range and plots final H/L/EQ + Open, extending each by your chosen number of bars.
No lookahead; levels are only finalized after Monday completes.
Inputs
Extend lines (bars →) — how far to project H/L/EQ/Open into the future.
Monday Box Fill / Border — style the range box.
High/Low Line Color / Width — style Monday H & L.
EQ Line Color / Width — style midpoint.
Monday Open Color / Width — style the Monday open.
Why use this indicator
Weekly bias framing: Monday’s range often acts as the reference box for the week’s expansion.
Liquidity targeting: Equal highs/lows and EQ act as common magnet/rebalance areas.
Confluence: Combine with sessions/killzones, FVGs, order blocks, or news timing.
Best practices
Keep chart on your normal trading TF (M5–H1 for intraday, H4–D for swing).
Watch EQ taps and previous Monday H/L sweeps Tuesday–Friday.
Pair the projection length with your strategy’s average holding horizon.
Notes & limitations
All timing is NY session-based (America/New_York). If your symbol trades Sunday evening (futures/FX), Monday begins at 00:00 NY as coded.
Market holidays that shift liquidity can affect the “feel” of Monday’s range.
Works on any symbol/TF supported by TradingView. No repainting after Monday close.
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.
Support Resistance By VIPIN(30D • MTF • Safe v4)This script automatically detects and plots strong Support & Resistance levels based on pivot highs/lows within a custom lookback period.
Key features:
• Lookback window (days): Select how many past days to scan for pivots.
• Pivot strength: Adjustable left/right bars to filter minor vs. strong swings.
• Clustering: Nearby levels are merged using either ATR-based proximity or percentage proximity.
• Touches count: Each level records how many times it has been tested/retested.
• Ranking: Top N strongest support and resistance levels are highlighted.
• Multi-Timeframe (MTF): Option to detect levels from a higher timeframe while viewing a lower chart.
• Labels: Show price, touch count, and timeframe (optional), with ability to shift labels to the right of current price action.
• Custom styling: Colors, line width, and label placement are fully configurable.
This tool is designed for traders who want to quickly identify key zones of market reaction.
It is not a buy/sell signal generator, but an analytical aid to help you make better decisions alongside your own strategy.
⸻
🔹 How to use
1. Apply on your desired symbol and timeframe.
2. Adjust pivot length and lookback to control sensitivity.
3. Use ATR or % proximity for clustering based on market volatility.
4. Combine levels with your own price action, volume, or strategy confirmation.
This script is created for educational purposes to help traders understand how Support and Resistance zones are formed in the market.
It shows how price reacts to certain levels by:
• Identifying pivots (swing highs and lows).
• Merging nearby levels into zones using ATR or percentage-based proximity.
• Counting how many times a level has been tested or touched.
• Highlighting the most relevant zones with labels.
By studying these zones, traders can learn:
• How markets often respect previously tested levels.
• Why certain levels act as barriers (support or resistance).
• How different timeframes can show different key levels.
⚠️ Note:
This indicator is intended as a learning & analysis tool only. It does not provide buy/sell signals or guarantee results. Always combine it with your own knowledge, analysis, and risk management.
LeToan EMA-STOCH-MACDMulti-frame stoch and macd chart for current and previous candle, giving traders an overview of momentum, also integrated with 10 ema lines 5,12,21,35,50,75,100,200
ASI - Small-CapsAltcoin Season Indicator (ASI) — Small Caps (8h)
Built for young, fast-moving altcoins with limited price history.
This preset keeps ASI’s core edge—timed entries at real bottoms and timely exits near overheating—but is tuned to read early small-cap structure on the 8-hour chart.
---
Why this preset:
Optimized for new listings and low-cap projects with short daily history.
Higher sensitivity to early trend shifts without chasing one-off spikes.
Same clean read as Default: it adapts to the coin and the market phase.
---
Usage:
Timeframe: 8h (primary).
Best fit: newer/smaller projects (e.g., early listings and emerging narratives).
Playbook: If the Default (1D) shows no actionable read on a young coin, switch to Small Caps (8h). As the asset matures and builds sufficient history, transition back to Default (1D).
---
Reading:
Green zone → Entry (credible bottoming, start of a new leg)
Red zone → Exit (overheating, distribution risk)
---
Who is it for?
Traders hunting early rotations in small caps who still want disciplined timing and clear visuals.
*(ASI is a timing tool, not financial advice.)*
Dual MTF Stoch & MACD Visualizer (Vertical) & 10EMAMulti-frame stoch and macd chart for current and previous candle, giving traders an overview of momentum, also integrated with 10 ema lines 5,12,21,35,50,75,100,200
9, 21, 50 EMA TN
This indicator plots three exponential moving averages (EMAs) on the chart:
9 EMA (purple) – short-term trend and momentum
21 EMA (yellow) – medium-term trend
50 EMA (cyan) – long-term trend and overall market direction
How it’s used:
Traders look for the 9 EMA to cross above the 21 EMA as a potential bullish signal. This suggests upward momentum and may be used as confirmation for call entries.
Conversely, when the 9 EMA crosses below the 21 EMA, it can indicate bearish momentum, often used as confirmation for put entries.
The 50 EMA acts as a higher timeframe filter: when price and the shorter EMAs are above the 50 EMA, it confirms bullish bias; when they’re below, it confirms bearish bias.
This tool helps identify short-term momentum shifts while staying aligned with the larger market trend.
[blackcat] L3 Improved Dual Ehlers BPF for Volatility DetectionOVERVIEW
This script implements an advanced L3 Improved Dual Ehlers Bandpass Filter (BPF) for volatility detection, combining both L1 and L2 calculation methods to create a comprehensive trading signal. The script leverages John Ehlers' sophisticated digital signal processing techniques to identify market cycles and extract meaningful trading signals from price action. By combining multiple cycle detection methods and filtering approaches, it provides traders with a powerful tool for identifying trend changes, momentum shifts, and potential reversal points across various market conditions and timeframes. The L3 approach uniquely combines the outputs of both L1 (01 range) and L2 (-11 range) methods, creating a signal that ranges from -1~2 and provides enhanced sensitivity to market dynamics.
FEATURES
🔄 Dual Calculation Methods: Choose between L1 (01 range), L2 (-11 range), or combine both for L3 signal (-1~2 range) to match your trading style
📊 Multiple Cycle Detection: Seven different dominant cycle calculation methods including HoDyDC (Hilbert Transform Dominant Cycle), PhAcDC (Phase Accumulation Dominant Cycle), DuDiDC (Duane Dominant Cycle), CycPer (Cycle Period), BPZC (Bandpass Zero Crossing), AutoPer (Autocorrelation Period), and DFTDC (Discrete Fourier Transform Dominant Cycle)
🎛️ Flexible Mixing Options: Six sophisticated mixing methods including weighted averaging, simple sum, difference extraction, dominant-only, subdominant-only, and adaptive mixing that adjusts based on signal strength
🌊 Bandpass Filtering: Precise bandwidth control for both dominant and subdominant filters, allowing fine-tuning of frequency response characteristics
📈 Advanced Divergence Detection: Robust algorithm for identifying bullish and bearish divergences with customizable lookback periods and range constraints
🎨 Comprehensive Visualization: Extensive customization options for all signals, colors, plot styles, and display elements
🔔 Comprehensive Alert System: Built-in alerts for divergence signals, zero line crosses, and various market conditions
📊 Real-time Cycle Information: Optional display of dominant and subdominant cycle periods for educational purposes
🔄 Adaptive Signal Processing: Dynamic adjustment of parameters based on market conditions and volatility
🎯 Multiple Signal Outputs: Simultaneous generation of L1, L2, and L3 signals for different trading strategies
HOW TO USE
Select Calculation Method: Choose between "l1" (01 range), "l2" (-11 range), or "both" (L3, -1~2 range) in the Calculation Method settings based on your preferred signal characteristics
Configure Cycle Detection: Select your preferred Dominant Cycle Method from the seven available options and adjust the Cycle Part parameter (0.1-0.9) to fine-tune cycle sensitivity
Set Subdominant Parameters: Configure the subdominant cycle either as a ratio of the dominant cycle or as a fixed period, depending on your analysis approach
Adjust Filter Bandwidth: Fine-tune the bandwidth settings for both dominant and subdominant filters (0.1-1.0) to control the frequency response and signal smoothing
Choose Mixing Method: Select how to combine the filters - weighted averaging for balance, sum for maximum sensitivity, difference for trend isolation, or adaptive mixing for dynamic response
Configure Smoothing: Select from SMA, EMA, or HMA smoothing methods with adjustable length (1-20 bars) to reduce noise in the final signal
Customize Visualization: Enable/disable individual plots, divergence detection, zero line, fill areas, and customize all colors to match your chart preferences
Set Divergence Parameters: Configure lookback ranges (5-60 bars) for divergence detection to match your trading timeframe and style
Monitor Signals: Watch for crosses above/below zero line and divergence patterns, paying attention to signal strength and consistency
Set Up Alerts: Configure alerts for divergence signals, zero line crosses, and other market conditions to stay informed of trading opportunities
LIMITATIONS
The script requires the dc_ta library from blackcat1402 for several advanced cycle calculation methods (HoDyDC, PhAcDC, DuDiDC, CycPer, BPZC, AutoPer, DFTDC)
L1 method operates in 01 range while L2 method uses -11 range, requiring different interpretation approaches
Combined L3 signal ranges from -1~2 when both methods are selected, creating unique signal characteristics that traders must adapt to
Divergence detection accuracy depends on proper lookback period settings and market volatility conditions
Performance may be impacted with very long lookback ranges (>60 bars) or when multiple plots are simultaneously enabled
The script is designed for non-overlay use and may not display correctly on certain chart types or with conflicting indicators
Adaptive mixing method requires careful threshold tuning to avoid excessive signal fluctuation
Cycle detection algorithms may produce unreliable results during low volatility or highly choppy market conditions
The script assumes regular price data and may not perform optimally with irregular or gapped price sequences
NOTES
The script implements advanced mathematical calculations including bandpass filters, Hilbert transforms, and various cycle detection algorithms developed by John Ehlers
For optimal results, experiment with different cycle detection methods and bandwidth settings across various market conditions and timeframes
The adaptive mixing method automatically adjusts weights based on signal strength, providing dynamic response to changing market conditions
Divergence detection works best when the "Plot Divergence" option is enabled and when combined with other technical analysis tools
Zero line crosses can indicate potential trend changes or momentum shifts, especially when confirmed by volume or other indicators
The script includes commented code for cycle information display that can be enabled if you want to monitor cycle periods in real-time
Different calculation methods may perform better in different market environments - L1 tends to be smoother while L2 is more sensitive
The subdominant cycle helps filter out noise and provides additional confirmation for signals generated by the dominant cycle
Bandwidth settings control the filter's frequency response - lower values provide more smoothing while higher values increase sensitivity
Mixing methods offer different approaches to combining signals - weighted averaging is generally most reliable for most trading applications
THANKS
Special thanks to John Ehlers for his pioneering work in cycle analysis and digital signal processing for financial markets. This script implements and significantly improves upon his bandpass filter methodology, incorporating multiple advanced techniques from his extensive body of work. Also heartfelt thanks to blackcat1402 for the dc_ta library that provides essential cycle calculation methods and for maintaining such a valuable resource for the Pine Script community. Additional appreciation to the TradingView platform for providing the tools and environment that make sophisticated technical analysis accessible to traders worldwide. This script represents a collaborative effort in advancing the field of algorithmic trading and technical analysis.