Ciclos
TDT Candle CounterThis indicator allows you to count candles inside a custom date range and display labels directly on the chart.
It supports three different counting modes:
🔢 Modes
Every Candle → Marks every bar sequentially (1, 2, 3, 4, …).
Alternative Sequence → Marks bars that match the sequence 1, 5, 9, 17, 25, 37, ….
Special Sequence (default) → Marks bars that match the sequence 1, 3, 7, 13, 21, 31, ….
Each mode has its own color so you can quickly distinguish which cycle is active.
⚙️ Features
Custom start and end date for the counting period.
Option to highlight the active period with a background color.
Labels are positioned above or below candles depending on the initial direction.
Alerts when:
Counting starts
Counting ends
🎯 Use Cases
Visualize candle sequences for cycle analysis.
Track market structure with custom numerical references.
Combine with other tools to study periodic behavior.
Inspired by Time Dilation Theory (TDT)
This counting approach is inspired by the Time Dilation Theory (TDT) methodology created by ICT Morpheus. According to TDT, markets unfold in cycles of 1, 3, 7, 13, 21… etc., reflecting natural rhythms of expansion, contraction, and distortion—an idea grounded in fractal time behavior across multi-timeframe analysis
Incorporating TDT principles into this tool helps visualize and align potential turning points and momentum shifts across different timeframes.
Infinite EMA with Alpha Control♾️ Infinite EMA with Alpha Control
What Makes This EMA "Infinite"?
Unlike traditional EMA indicators that are limited to typical periods (1-5000), this Infinite EMA breaks all boundaries. You can create EMAs with periods of 1,000, 10,000, or even 1,000,000 bars - that's why it's called "infinite"! Also Infinite EMA starts working immediately from the very first bar on your chart
Why This EMA is "Infinite":
1. Mathematically: When N → ∞, alpha → 0, meaning infinitely long "memory"
2. Practically: You can set any period - even 100,000 bars
3. Flexibility: Alpha allows precise control over the "forgetting speed"
How Does It Work?
The magic lies in the Alpha parameter. While regular EMAs use fixed formulas, this indicator gives you direct control over the EMA's "memory" through Alpha values:
• High Alpha (0.1-0.2): Fast reaction, short memory
• Medium Alpha (0.01-0.05): Balanced response
• Low Alpha (0.0001-0.001): Extremely slow reaction, very long memory
• Ultra-low Alpha (0.000001): Almost frozen in time
The Mathematical Formula:
Alpha = 2 / (Period + 1)
This means you can achieve any EMA period by adjusting Alpha, giving you infinite flexibility!
Expanded "Infinite EMA" Table:
Period EMA (N) - Alpha (Rounded) - Alpha (Exact) - Description
10 - 0.1818 - 0.181818... - Fast EMA
20 - 0.0952 - 0.095238... - Short-term
50 - 0.0392 - 0.039215... - Medium-term
100 - 0.0198 - 0.019801... - Long-term
200 - 0.0100 - 0.009950... - Standard long-term
500 - 0.0040 - 0.003996... - Very long-term
1,000 - 0.0020 - 0.001998... - Super long-term
2,000 - 0.0010 - 0.000999... - Ultra long-term
5,000 - 0.0004 - 0.000399... - Mega long-term
10,000 - 0.0002 - 0.000199... - Giga long-term
25,000 - 0.00008 - 0.000079... - Century-scale EMA
50,000 - 0.00004 - 0.000039... - Practically motionless
100,000 - 0.00002 - 0.000019... - "Glacial" EMA
500,000 - 0.000004 - 0.000003... - Geological timescale
1,000,000 - 0.000002 - 0.000001... - Approaching constant
5,000,000 - 0.0000004 - 0.0000003... - Virtually static
10,000,000 - 0.0000002 - 0.0000001... - Nearly flat line
100,000,000 - 0.00000002 - 0.00000001... - Mathematical infinity
Formula: Alpha = 2/(N+1) where N is the EMA period
Key Features:
Dual EMA System: Run fast and slow EMAs simultaneously
Crossover Signals: Automatic buy/sell signals with customizable alerts
Alpha Control: Direct mathematical control over EMA behavior
Infinite Periods: From 1 to 100,000,000+ bars
Visual Customization: Colors, fills, backgrounds, signal sizes
Instant Start: Works accurately from the very first bar
Update Intervals: Control calculation frequency for noise reduction
Why Choose Infinite EMA?
1. Unlimited Flexibility: Any period you can imagine
2. Mathematical Precision: Direct alpha control for exact behavior
3. Professional Grade: Suitable for all trading styles
4. Easy to Use: Simple settings with powerful results
5. No Warm-up Period: Accurate values from bar #1
Simple Explanation:
Think of EMA as a "memory system":
• High Alpha = Short memory (forgets quickly, reacts fast)
• Low Alpha = Long memory (remembers everything, moves slowly)
With Infinite EMA, you can set the "memory length" to anything from seconds to centuries!
⚡ Instant Start Feature - EMA from First Bar
Immediate Calculation from Bar #1
Unlike traditional EMA indicators that require a "warm-up period" of N bars before showing accurate values, Infinite EMA starts working immediately from the very first bar on your chart.
How It Works:
Traditional EMA Problem:
• Standard 200-period EMA: Needs 200+ bars to become accurate
• First 200 bars: Shows incorrect/unstable values
• Result: Large portions of historical data are unusable
Infinite EMA Solution:
Bar #1: EMA = Current Price (perfect starting point)
Bar #2: EMA = Alpha × Price + (1-Alpha) × Previous EMA
Bar #3: EMA = Alpha × Price + (1-Alpha) × Previous EMA
...and so on
Key Benefits:
No Warm-up Period: Start trading signals from day one
Full Chart Coverage: Every bar has a valid EMA value
Historical Accuracy: Backtesting works on entire dataset
New Markets: Works perfectly on newly listed assets
Short Datasets: Effective even with limited historical data
Practical Impact:
Scenario Traditional EMA Infinite EMA
New cryptocurrency Unusable for first 200 days ✅ Works from day 1
Limited data (< 200 bars) Inaccurate values ✅ Fully functional
Backtesting Must skip first 200 bars ✅ Test entire history
Real-time trading Wait for stabilization ✅ Trade immediately
Technical Implementation:
if barstate.isfirst
EMA := currentPrice // Perfect initialization
else
EMA := alpha × currentPrice + (1-alpha) × previousEMA
This smart initialization ensures mathematical accuracy from the very first calculation, eliminating the traditional EMA "ramp-up" problem.
Why This Matters:
For Backesters: Use 100% of available data
For Live Trading: Get signals immediately on any timeframe
For Researchers: Analyze complete datasets without gaps
Bottom Line: Infinite EMA is ready to work the moment you add it to your chart - no waiting, no warm-up, no exceptions!
Unlike traditional EMAs that require a "warm-up period" of 200+ bars before showing accurate values, Infinite EMA starts working immediately from bar #1.
This breakthrough eliminates the common problem where the first portion of your chart shows unreliable EMA data. Whether you're analyzing a newly listed cryptocurrency, working with limited historical data, or backtesting strategies, every single bar provides mathematically accurate EMA values.
No more waiting periods, no more unusable data sections - just instant, reliable trend analysis from the moment you apply the indicator to any chart.
🔄 Update Interval Bars Feature
The Update Interval feature allows you to control how frequently the EMA recalculates, providing flexible noise filtering without changing the core mathematics.
Set to 1 for standard behavior (updates every bar), or increase to 5-10 for smoother signals that update less frequently. Higher intervals reduce market noise and false signals but introduce slightly more lag. This is particularly useful on volatile timeframes where you want the EMA's directional bias without every minor price fluctuation affecting the calculation.
Perfect for swing traders who prefer cleaner, more stable trend lines over hyper-responsive indicators.
Conclusion
The Infinite EMA transforms the traditional EMA from a fixed-period tool into a precision instrument with unlimited flexibility. By understanding the Alpha-Period relationship, traders can create custom EMAs that perfectly match their trading style, timeframe, and market conditions.
The "infinite" nature comes from the ability to set any period imaginable - from ultra-fast 2-bar EMAs to glacially slow 10-million-bar EMAs, all controlled through a single Alpha parameter.
________________________________________
Whether you're a beginner looking for simple trend following or a professional researcher analyzing century-long patterns, Infinite EMA adapts to your needs. The power of infinite periods is now in your hands! 🚀
Go forward to the horizon. When you reach it, a new one will open up.
- J. P. Morgan
ASI - Large-CapsAltcoin Season Indicator (ASI) — Large Caps (1D)
Purpose-built for top-tier, established altcoins (typically Top 10–30, ≳ $15B market cap) that have lived through multiple cycles and move differently than small/mid caps.
---
Why this preset:
Calibrated for large-cap behavior: longer bases, steadier trends, and fewer whipsaws.
Highlights true bottoming and genuine overheating on the daily chart—without overreacting to short-term noise.
Ideal when you want clean timing on names that dominate liquidity and follow broader cycle dynamics.
---
Usage:
Timeframe: 1D (primary).
Best fit: mature, high-cap projects (Top 10–30; ≳ $15B).
Playbook: Use Large Caps (1D) as your default for majors. If a name becomes more volatile or “mid-cap-like,” you can compare against the Mid Caps (1D) preset; for very young listings, start with Small Caps (8h) until history builds.
---
Reading:
Green zone → Entry (credible bottom formation / early uptrend)
Red zone → Exit (overheating / distribution risk)
---
Who is it for?
Investors and active traders who want disciplined, visual BUY/EXIT timing on the market’s most established altcoins—capturing the meat of the move while avoiding premature signals.
*(ASI is a timing tool, not financial advice.)*
ASI - Mid-CapsAltcoin-Season Indicator (ASI) - Mid Caps (1D)
Built for established yet still nimble altcoins.
This preset targets projects typically in the ~$200M–$2B market-cap range—assets with solid history but more volatility than top-tier names.
---
Why this preset:
Tuned for mid-cap volatility: sensitive enough to catch rotations, restrained enough to avoid noise.
Reads bottoming and overheating phases cleanly on the daily chart.
Versatile across sectors; also works on seasoned small caps that now have sufficient history.
---
Usage:
Timeframe: 1D (primary).
Best fit: mid-caps (~$200M–$2B), and small caps with a longer price record.
Playbook: Use Mid Caps (1D) as your go-to once a project has matured beyond the “new listing” phase. If the Default (1D) feels too broad or sluggish for a volatile name, switch to Mid Caps; if a coin is very young, start with Small Caps (8h) and move up to Mid Caps (1D) as history builds.
---
Reading:
Green zone → Entry (credible bottoming, start of a new trend)
Red zone → Exit (overheating, distribution risk)
---
Who is it for?
Investors and active traders who want disciplined, visual BUY/EXIT timing across a broad mid-cap universe—without overfitting.
*(ASI is a timing tool, not financial advice.)*
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.