Monitor market breakoutsThe strategy is based on monitoring price range breakouts during trading hours (default 21:30-04:00 UTC+8). A trading signal is generated when the price breaks through the New York session's high and low. The strategy enters the market at a breakout, with a stop loss set at the opposite extreme point and a take profit set at a 1:1 profit/loss ratio.
週期
Vela apertura del mercado (multi-TF)Mark the 10-minute market opening.
Use a multi-timeframe. To use 10-minute or shorter candles,
Vela apertura del mercado (multi-TF)Mark the 10-minute market opening.
Use a multi-timeframe. To use 10-minute or shorter candles,
Average RSI (Daily + Weekly)📈 Average RSI (Relative Strength Index) – Beginner’s Guide
What it is:
The Average RSI is a technical indicator that combines multiple RSI values—such as daily and weekly RSI—into a single, smoothed line. This helps traders get a clearer picture of a stock’s momentum over both short- and medium-term timeframes.
Why it matters:
The RSI tells you whether a stock is potentially overbought (priced too high and due for a pullback) or oversold (priced too low and due for a bounce). Traditional RSI uses a scale from 0 to 100, with key levels at 70 (overbought) and 30 (oversold).
By averaging RSI across different timeframes, you reduce noise and get a better signal for trends and reversals.
How traders use it:
✅ Buy zone: When the average RSI dips below 40, it could signal a good entry point.
⚠️ Neutral zone: Between 40 and 60 means the trend isn’t strong—wait for more confirmation.
🚫 Sell zone: Above 60–70 may indicate the asset is overbought or due for a pullback.
Helpful for:
Spotting better entry/exit points
Filtering out false signals
Staying in trend-following trades longer
Lignes horaires personnalisables (UTC+2)Customizable vertical lines, useful for applying strategies such as the N-Y reversal.
MFI Divergence Indicator with EMA 9 & EMA 45EMA 9 cắt xuống EMA 45 trên MFI → dòng tiền ngắn hạn đang yếu dần → cảnh báo phân phối tiềm ẩn
BTC 200-Week SMA Zones (Daily + Weekly) + Time + % + LinesShowing Cheap, Fair Value, Expensive, and Very Expensive regions. Inspired by Crypto Currently.
ElfieDT - ScoutThis script was created from my trading proicess and steps....
1. i find anomalies on higher timeframes and then mark up the candles.
2. After this i go to a lower timeframe and then i have to find the same entry criteria on the smaller timeframe before taking the trades.
3. Trades are executed as per colors of the candles or the label prints.
4. SL is placed above or below the nearest low / high.
5. TP is relative to your own way of trading - be it fixed RR or to hold and ride it as long as possible by just managing and trailing the SL.
i suggest using the following combinations of timeframes:
- If you are i=on the 1min chart - set the indicator to 15min in settings.
- if you are on the 5min / 15min charts - use 1hour in the settings
i would not suggest going any higher that the above - as then you might lose the edge to get daily setups.
You can set alerts - 1 alert (ANY ALERT Function) and even set it up on your entire watchlist.... Then you have 1 alert to monitor and give you a headsup on all possible setups on all your favorite pairs.
Hope you enjoy and make pots of money using this unique trading tool.
多周期EMA色带系统+交叉提醒//@version=5
indicator("多周期EMA色带系统+交叉提醒", overlay=true, max_lines_count=50, max_labels_count=500)
// 输入参数
ema6 = ta.ema(close, 6)
ema14 = ta.ema(close, 14)
ema52 = ta.ema(close, 52)
ema77 = ta.ema(close, 77)
ema168 = ta.ema(close, 168)
ema208 = ta.ema(close, 208)
// 绘制基础EMA线
plot(ema6, "EMA 6", color=color.new(#a00a32, 0), linewidth=1)
plot(ema14, "EMA 14", color=color.new(#dfe224, 0), linewidth=1)
plot(ema52, "EMA 52", color=color.new(#9400d3, 83), linewidth=2)
plot(ema77, "EMA 77", color=color.new(#ff00ff, 77), linewidth=2)
plot(ema168, "EMA 168", color=color.new(#00bfff, 73), linewidth=3)
plot(ema208, "EMA 208", color=color.new(#1e8fff, 80), linewidth=3)
// 1. 168/208均线色带
band168_208_condition = ema168 > ema208
fill(plot(band168_208_condition ? ema168 : na, "EMA168_Up", display=display.none),
plot(band168_208_condition ? ema208 : na, "EMA208_Dn", display=display.none),
color=color.new(#89de21, 48), title="空头色带(168>208)")
fill(plot(not band168_208_condition ? ema168 : na, "EMA168_Dn", display=display.none),
plot(not band168_208_condition ? ema208 : na, "EMA208_Up", display=display.none),
color=color.new(#d24720, 56), title="多头色带(168<208)")
// 2. 52/77均线色带
band52_77_condition = ema52 > ema77
fill(plot(band52_77_condition ? ema52 : na, "EMA52_Up", display=display.none),
plot(band52_77_condition ? ema77 : na, "EMA77_Dn", display=display.none),
color=color.new(#0000ff, 49), title="空头色带(52>77)")
fill( plot(not band52_77_condition ? ema52 : na, "EMA52_Dn", display=display.none),
plot(not band52_77_condition ? ema77 : na, "EMA77_Up", display=display.none),
color=color.new(#ffff00, 49), title="多头色带(52<77)")
// 3. 6/52均线色带
band6_52_condition = ema6 > ema52
fill(plot(band6_52_condition ? ema6 : na, "EMA6_Up", display=display.none),
plot(band6_52_condition ? ema52 : na, "EMA52_Mid", display=display.none),
color=color.new(#00ff00, 51), title="多头色带(6>52)")
fill(plot(not band6_52_condition ? ema6 : na, "EMA6_Dn", display=display.none),
plot(not band6_52_condition ? ema52 : na, "EMA52_MidDn", display=display.none),
color=color.new(#ff0000, 51), title="空头色带(6<52)")
// 6/52交叉信号检测
bullCross = ta.crossover(ema6, ema52)
bearCross = ta.crossunder(ema6, ema52)
// 绘制交叉信号标记
plotshape(bullCross, title="多头信号", text="↑ 多", style=shape.labelup, location=location.belowbar,
color=color.new(#00ff00, 32), textcolor=color.white, size=size.small)
plotshape(bearCross, title="空头信号", text="↓ 空", style=shape.labeldown, location=location.abovebar,
color=color.new(#ff0000, 40), textcolor=color.white, size=size.small)
// 添加警报条件
alertcondition(bullCross, title="6上穿52多头信号",
message="6日均线上穿52日均线 - 多头信号 {{ticker}}")
alertcondition(bearCross, title="6下穿52空头信号",
message="6日均线下穿52日均线 - 空头信号 {{ticker}}")
Best EMA FinderThis script, Best EMA Finder, is based on the same original logic as the Best SMA Finder I published previously. Although it was not the initial goal of the project, several users asked for an EMA version, so here it is.
The script scans a wide range of Exponential Moving Average (EMA) lengths, from 10 to 500, and identifies the one that historically delivered the most robust performance on the current chart. The choice to stop at 500 is deliberate: beyond that point, EMA curves tend to flatten and converge, adding processing time without meaningful differences in signals or outcomes.
Each EMA is evaluated using a custom robustness score:
Profit Factor × log(Number of Trades) × sqrt(Win Rate)
Only EMA lengths that exceed a user-defined minimum number of trades are considered valid. Among these, the one with the highest robustness score is selected and displayed on the chart.
A table summarizes the results:
- Best EMA length
- Total number of trades
- Profit Factor
- Win Rate
- Robustness Score
You can adjust:
- Strategy type: Long Only or Buy & Sell
- Minimum number of trades required
- Table visibility
This script is designed for analysis and optimization only. It does not execute trades or handle position sizing. Only one open trade per direction is considered at a time.
Bradley Siderograph Correlation: [Blueprint_So9]█ Bradley Siderograph Correlation Indicator
This tool is designed for use within TradingView’s Pine Beta Screener. It enables users to scan their watchlist and identify which assets have shown the highest positive or inverse correlation to a selected window of the Bradley Siderograph.
How to Use:
Go to your TradingView profile and click the Products tab.
Scroll down to Screeners, then click on the Pine option marked as Beta.
Select your preferred watchlist or a custom list you’ve created.
Click “Choose your favorite indicator” and select Bradley Siderograph Correlation Indicator (make sure to favorite it first so it appears in the list).
Once loaded, set:
The timeframe for analysis (e.g., 1D)
The window (number of bars to look back from the current bar)
Use my open-source Bradley Siderograph overlay to identify a recent pivot or turn, then match that window to scan for alignment across your watchlist.
Output:
The screener returns a sortable table displaying each asset in your selected watchlist, with a correlation coefficient ranging from -1 to +1:
+1 = Strong positive correlation
-1 = Strong inverse correlation
0 = No significant correlation
You can sort the column to quickly identify which assets are most aligned—or most divergent—from the Planetary barometer's behavior within your chosen window.
Timeframe Awareness:
Crypto = 24/7 (calendar-based)
Stocks/Forex = Weekday trading sessions (exclude weekends)
This tool enables watchlist-level filtering to identify correlation and inverse correlation between price movement and the Bradley Siderograph over a defined window.
Credits & Acknowledgments:
This is my implementation of Donald Bradley’s Siderograph, as described in Stock Market Prediction: The Planetary Barometer and How to Use It.
Built using planetary data from Astrolib by @BarefootJoey
Time Based Range# Time Based Range
**A fully customizable session-based range indicator for intraday and daily trading analysis**
## Overview
The Time Based Range indicator identifies and visualizes key price levels from any user-defined time session. Whether you're trading the London open, New York session, or any custom timeframe, this indicator helps you identify crucial support and resistance levels formed during specific trading periods.
## Key Features
### 🕒 **Flexible Session Configuration**
- Customize any time range (e.g., 05:00-13:00, 20:00-02:00)
- Select specific days of the week (Sunday=1 through Saturday=7)
- Works on any timeframe from 1-minute to daily charts
### 📊 **Three Display Modes**
**OHLC Mode:**
- Shows Open, High, Low, Close, and Midpoint lines
- Fully customizable line colors, styles, and widths
- Optional labels with custom text
- Toggle individual lines on/off
**Range Mode:**
- Displays High, Low, and Midpoint lines extending into the future
- Session background box for visual clarity
- Configurable extension length in hours
- Clean range-based analysis
**Mitigate Mode:**
- Horizontal pivot lines that extend until price "mitigates" (touches) them
- Session background box
- Lines automatically stop extending when price reaches the level
- Perfect for ICT-style analysis
### 🚨 **Advanced Alert System**
**Breakout Alerts:**
- Notifies when price breaks above session high or below session low
- Real-time notifications for range expansion
**Liquidity Sweep Alerts:**
- Detects when price briefly breaks a level but closes back inside the range
- Configurable lookback period for sweep detection
- Helps identify false breakouts and liquidity grabs
**Equilibrium Rejection Alerts:**
- Monitors price reaction at the session midpoint
- Detects strong rejections with wick formations
- Configurable sensitivity threshold
### 🎨 **Full Customization**
- Individual color settings for all lines and boxes
- Multiple line style options (Solid, Dashed, Dotted)
- Adjustable line widths and transparency
- Custom label text and positioning
- Session limit control (1-10 sessions displayed)
## Use Cases
### Day Trading
- Mark key levels from overnight sessions
- Identify London/New York opening ranges
- Track Asian session highs and lows
### Swing Trading
- Daily range analysis
- Multi-day level identification
- Key support/resistance from specific periods
### ICT/SMC Trading
- Liquidity pool identification
- Fair value gap analysis
- Market structure understanding
## Technical Specifications
- **Maximum Sessions:** 1-10 (user configurable)
- **Time Format:** 24-hour (HHMM-HHMM)
- **Day Selection:** Individual day toggles (1=Sunday through 7=Saturday)
- **Alert Types:** 4 different alert conditions
- **Drawing Objects:** Optimized with automatic cleanup
- **Performance:** Efficient array management prevents chart lag
## Best Practices
1. **Start Simple:** Begin with OHLC mode to understand session dynamics
2. **Use Alerts:** Enable notifications for key level interactions
3. **Combine Modes:** Switch between modes based on market conditions
4. **Optimize Settings:** Adjust colors and styles for your chart theme
5. **Multiple Timeframes:** Use different sessions for various trading strategies
## Compatibility
- Works on all TradingView chart types
- Compatible with all asset classes (Forex, Stocks, Crypto, Futures)
- Optimized for both light and dark themes
- Mobile-friendly display
---
*This indicator helps traders identify high-probability trading zones based on time-specific price action. Always combine with proper risk management and additional analysis methods.*
Melody Markets Moving Average Transitions🎵 Melody Markets Moving Average Transitions – The Ultimate Trend State Indicator 🎵
📌 Indicator Description
Melody Markets Moving Average Transitions is a powerful indicator designed to accurately represent the market trend state by combining the 5 main moving averages (MA7, MA20, MA50, MA100, MA200) and their 120 possible configurations.
Unlike traditional indicators that display moving averages separately, this tool synthesizes these multiple combinations into a dynamic trend line, which can be displayed directly on the selected moving average or via a specially calculated dynamic moving average.
It provides a clear and precise view of trend strength and momentum, helping traders better anticipate price movements.
🔍 Key Features
✅ Comprehensive Trend State → Analyzes up to 120 configurations between 5 moving averages for a detailed trend state.
✅ Dynamic Trend Line → Simple and intuitive visualization of the trend via a single line, shown directly on the chosen MA or the dynamic MA.
✅ Signal Visualization → Displays signals generated by each moving average, facilitating decision-making.
✅ Relevant Pullbacks Display → Highlights meaningful pullbacks according to trend strength and context.
✅ Fully Customizable → Choose moving averages, toggle signals and pullbacks, and customize colors.
✅ Overlay on Price Chart → Smooth and clear integration directly on the price chart.
📖 How to Use Melody Markets Moving Average Transitions?
1️⃣ Select the moving average (MA7, MA20, MA50, MA100, MA200) to track the trend state.
2️⃣ Activate the dynamic trend line to visualize overall market direction in real-time.
3️⃣ Enable signal and pullback displays to catch key trade setups and corrections.
4️⃣ Customize colors and display options to suit your trading style.
5️⃣ Combine with other technical tools for enhanced entry and exit confirmations.
🎯 Who Is This Indicator For?
🔹 Trend Traders & Swing Traders → Get a clear, precise overview of trend strength and pullbacks.
🔹 Day Traders & Scalpers → Quickly identify relevant signals without clutter.
🔹 Beginner to Advanced Traders → Intuitive and comprehensive trend analysis for all levels.
🔥 Conclusion
Melody Markets Moving Average Transitions revolutionizes trend analysis by combining complex moving average configurations into a single, clear dynamic line and signal system. It empowers traders with a deeper understanding of market conditions, improving decision-making and timing.
📌 Add it to your chart now and experience trend analysis like never before! 🚀
Correlation Coefficient📊 Correlation Coefficient (CC)
This indicator measures the statistical correlation between two selected securities over a defined period, scaled from -100 to +100.
It helps you quickly assess whether assets are moving:
Together (positive correlation)
Opposite (negative correlation)
Independently (zero correlation)
🔧 Features:
Select any two symbols (default: NIFTY & BANKNIFTY)
Adjustable length parameter for short-term or long-term correlation analysis
Clean, color-coded plot with horizontal levels to easily identify key correlation zones
📈 Useful For:
Pair trading setups
Hedging strategies
Detecting market regime shifts or intermarket divergences
⚠️ Disclaimer: This is not trading or investment advice.
This indicator is intended for informational purposes only and is not recommended for making
direct trading decisions.
Visually Layered OscillatorVisually Layered Oscillator User's Manual
Visually Layered Oscillator is a multi-oscillator designed to provide an intuitive visualization of RSI, MACD, ADX + DMI, allowing traders to interpret multiple signals at a glance.
It is designed to allow comparison within the same panel while maintaining the inherent meaning of each oscillator and compensating for visual distortion issues caused by size differences.
Component Overview
Item Description
RSI (x10) Displays relative buy/sell strength. Values above 70 are overbought; values below 30 are oversold.
MACD (3,16,10) Momentum indicator showing the difference between moving averages. Consists of lines and histograms
ADX ×50 + DMI Indicates the strength of the trend; ADX determines the strength of the trend and DMI determines whether it is buy/sell dominant.
White background color treatment Removes difficult-to-see grid lines to improve visibility.
🖥️ Screen Example
The panel is divided into the following three layers
mathematica
Copy
Edit
Top: ⬆️ RSI (purple)
Middle: 📈 MACD, Signal, Histogram + Color Fill
Bottom: 📉 ADX × 50, DMI+ / DMI- (Red, Blue, Orange)
TIP: If you zoom in on the indicators at a larger scale, you can see that each indicator is drawn at a different height level and placed in such a way that they do not overlap.
⚙️ Settings
Fast Length: MACD Quick Line Duration (Basic 3)
Slow Length: MACD slow line period (basic 16)
Smoothing: Signal line smoothing value (basic 10)
Notes and Tips
RSI × 10 and ADX × 50 are for visualization purposes only multiplied by multiples of the actual values. It does not affect the calculation and maintains the original RSI/ADX characteristics.
The MACD fill color visually highlights crossing conditions.
The background is treated in full white, making the indicator look clean without grid lines.
EMA 200 Price Deviation Alerts (1H Only)This script monitors the price deviation from the 200-period Exponential Moving Average (EMA) exclusively on the 1-hour chart. It generates alerts when the absolute difference between the current price and the EMA 200 exceeds a user-defined threshold (default: 65).
Features:
Works only on 1-hour (60-minute) charts to avoid false signals on other timeframes.
Customizable deviation threshold via script input.
Visual display of the 200 EMA on the chart.
Alert system to notify when price deviates significantly above or below the EMA.
Buy/Sell arrows shown when conditions are met:
Sell arrow appears when price is above the EMA and deviation exceeds threshold.
Buy arrow appears when price is below the EMA and deviation exceeds threshold.
Use this tool to identify potential overextended price moves relative to long-term trend support or resistance on the 1H timeframe.
Indicator: Volatility Candle Based 📊 Volatility Candle-Based Indicator (Pine Script v6)
This custom TradingView indicator is designed for futures traders who want to analyze volatility, candle patterns, and support/resistance zones within specific market hours. It overlays price charts and provides visual signals that help determine potential momentum shifts, trend continuations, or reversals.
🔧 Core Features
⏰ Futures Time Filter
The indicator activates only during specific trading hours, customized per futures contract (e.g., NQ, ES, GC).
Time is adjusted to the New York (EST) timezone.
This ensures the logic only runs during relevant futures market sessions.
💹 Contract-Specific Multipliers
Applies custom point multipliers for futures contracts (e.g., GC = 30, ES = 24).
Supports three types of multipliers:
Trailing Stop
Trailing Plot Stop
Stop Loss
Ensures accurate backtesting and risk modeling for each contract.
📈 Trendline Support & Resistance
Uses pivot high/low logic to dynamically plot:
Central pivot zones
Step-like support/resistance lines
These trendlines update based on price behavior and can indicate bullish or bearish control.
🔍 Candle Momentum Analysis
Evaluates each candle's:
Body-to-range ratio (e.g., Marubozu, Doji)
Shadow dominance (upper/lower wicks)
Detects important reversal or continuation patterns such as:
Bullish/Bearish Inside Candles
Doji Star formations
Uses a custom moving average to confirm directional bias.
🕯️ Plotter Candle Signals
Identifies BullishPlotter and BearishPlotter candles:
Highlights candles likely to signal upcoming momentum.
Also accounts for neutral signals when no clear bias is detected.
Tracks the high/low of recent signal candles for reference.
📌 Visual Elements (not shown in snippet but implied by logic)
Signal arrows, dashed current levels, and filled support/resistance zones can be plotted to provide real-time feedback.
These are useful for both manual trading and strategy development.
🎯 Use Case
Perfect for intraday or short-term futures traders on instruments like:
🟡 Gold (GC), 🟠 Silver (SI)
📉 Nasdaq (NQ/MNQ), S&P 500 (ES/MES)
This script provides both structural context (trendlines, pivots) and price action signals (candle formations, momentum shifts), helping traders align their decisions with the underlying market flow.
Multi-Timeframe Opening Dots with PlotcharPlot clean, smart dots that mark where the real action starts — the opening levels of the three higher timeframes above your current chart.
How it works:
Automatically grabs the next 3 higher timeframes.
Drops a slick dot right at each opening price — but only while that bar is still active.
Color-coded at a glance: Price above open? → green dot. Price below open? → red dot.
Why it’s useful: Get instant visual cues on higher timeframe opens — powerful markers for support, resistance, and directional bias.
Perfect for intraday traders and swing strategists who want to stay synced with the big picture.
Celestial Cycles [Orderflowing]Astronomical Calculations | Moon Phases | Lunar Cycles & Rare Events | Solar Eclipses & Seasonal Markers | Mercury Retrograde Analysis | Momentum-Based Trend Coloration | Moon Information Table | Customizable Alerts
Built using Pine Script V6
Introduction
The Celestial Cycles indicator is a simple yet complex script that merges the timeless influence of astronomical events with modern technical analysis. By plotting key celestial phenomena, such as moon phases, seasonal markers, and Mercury retrograde periods onto your price chart, this indicator offers traders a fresh perspective on market cycles.
If you like financial astrology or seeking a creative edge, it provides a visually intuitive way to explore potential correlations between celestial events and market behavior.
This indicator is ideal for traders of all experience levels looking to integrate the celestial cycle into their strategies, complementing traditional technical tools with a unique layer of analysis.
Innovation and Inspiration
Inspired by financial astrology. The notion that celestial events, like moon phases or planetary retrogrades, might influence human psychology and market dynamics has intrigued traders for a long time. "Millionaires don’t use astrology, billionaires do." (allegedly): ~J.P. Morgan
This indicator modernizes that concept with astronomical calculations, plotting these events on your chart.
Core Features
Moon Phases: Displays new moons, full moons, and quarter moons, with optional micro phases (1/8, 3/8, 5/8, 7/8) for detailed analysis.
Special Moons: Highlights rare events like blood moons (lunar eclipses) and blue moons with distinct markers.
Solar Eclipses: Marks solar eclipses during new moon phases when enabled.
Seasonal Events: Plots "Spring | Equinox," "Summer | Solstice," "Autumn | Equinox," and "Winter | Solstice" for cyclical context.
Mercury Retrograde: Visualizes current and future Mercury retrograde periods with background highlights and labels.
Trend Coloration: Colors price bars based on momentum to aid trend visualization (optional).
Information Table: Shows real-time moon age and phase details in a table.
Customizable Alerts: Set up alerts for moon phases, special moon events, seasonal events, and Mercury retrograde transitions to stay informed about key celestial occurrences.
Customization and User Inputs
Celestial Cycles is customizable, allowing you to adjust it to your liking:
Event Toggles: Show or hide specific events (e.g., moon phases, special moons, eclipses, seasonal events, Mercury retrograde).
Visual Adjustments: Set colors and positions (above or below bars) for each event type.
Phase Timing: Fine-tune moon phase detection with hour-based adjustments for precision.
Trend Settings: Enable/disable trend coloration and adjust the momentum calculation period.
Mercury Retrograde Options: Display current retrogrades and up to 10 future periods, with customizable visibility.
Alert Settings: Enable or disable alerts for specific celestial events, including moon phases, special moons, seasonal events, and Mercury retrograde starts and ends.
These options ensure a clean, focused chart highlighting only the elements most relevant to your analysis.
How It Works
The indicator leverages code to show celestial events:
Moon Phases: Calculated using Julian dates and ecliptic coordinates to determine moon age and phase transitions.
Special Events: Detects eclipses and rare moons by analyzing lunar and solar positions relative to the ecliptic plane.
Seasonal Markers: Identifies "Spring | Equinox," "Summer | Solstice," "Autumn | Equinox," and "Winter | Solstice".
Mercury Retrograde: Approximates retrograde cycles and projects future periods based on a simplified orbital model.
Trend Coloration: Applies a momentum oscillator to color bars, reflecting potential bullish or bearish trend.
Analysis and Interpretation
Traders can use Celestial Cycles to explore intriguing market hypotheses:
Moon Phases: New and full moons may align with volatility spikes or trend reversals.
Eclipses: Eclipses might signal significant market shifts.
Seasonal Events: Equinoxes and solstices could highlight cyclical turning points.
Mercury Retrograde: Periods of potential disruption or reversal, often linked to communication and technology challenges.
Trend Coloration: Visual cues to confirm potential momentum alongside celestial events.
Usage and Applications
Long-Term Trends: High Timeframe (HTF) charts to study celestial impacts on major cycles.
Short-Term Trends: Apply to intraday timeframes (LTF) for event correlations.
Confluence: Pair with technical indicators for stronger signals.
Research: Backtest historical data to uncover patterns specific to your chosen market. Use the adjustment periods to fine-tune.
Why Use This Indicator?
Unique Perspective: Combines celestial and technical analysis.
Free Access: Enjoy a premium script with lots of features at no cost.
Customization: Personalize every aspect to suit your preferences.
Educational: Learn about astronomical cycles.
Stay Informed: Set up customizable alerts to receive event notifications.
Conclusion
Celestial Cycles is an exploration of how the cosmos might intersect with the markets. By overlaying key astronomical events on your chart and offering alerts, it invites you to see trading through a new lens. While not a crystal ball, it’s a compelling addition to a trader’s toolkit.
Disclaimer: This indicator is for informational, educational and analytical purposes only. Celestial correlations are speculative and should not be the sole basis for trading decisions. Always combine with other analysis methods and manage risk appropriately.
Algo Structure [ValiantTrader_]Explanation of the "Algo Structure" Trading Indicator
This Pine Script indicator, created by ValiantTrader_, is a multi-timeframe swing analysis tool that helps traders identify key price levels and market structure across different timeframes. Here's how it works and how traders can use it:
Core Components
1. Multi-Timeframe Swing Analysis
The indicator tracks swing highs and lows across:
The current chart timeframe
A higher timeframe (weekly by default)
An even higher timeframe (monthly by default)
2. Swing Detection Logic
Current timeframe swings: Identified when price makes a 3-bar high/low pattern
Higher timeframe swings: Uses the highest high/lowest low of the last 3 bars on those timeframes
3. Visual Elements
Horizontal lines marking swing points
Labels showing the timeframe and percentage distance from current price
An information table summarizing key levels
How Traders Use This Indicator
1. Identifying Key Levels
The indicator draws recent swing highs (red) and swing lows (green)
These levels act as potential support/resistance areas
Traders watch for price reactions at these levels
2. Multi-Timeframe Analysis
By seeing swings from higher timeframes (weekly, monthly), traders can:
Identify more significant support/resistance zones
Understand the broader market context
Spot confluence areas where multiple timeframes align
3. Measuring Price Distance
The percentage display shows how far current price is from each swing level
Helps assess potential reward/risk at current levels
Shows volatility between swings (wider % = more volatile moves)
4. Table Summary
The info table provides a quick reference for:
Exact price levels of swings
Percentage ranges between highs and lows
Comparison across timeframes
5. Trading Applications
Breakout trading: When price moves beyond a swing high/low
Mean reversion: Trading bounces between swing levels
Trend confirmation: Higher highs/lows in multiple timeframes confirm trends
Support/resistance trading: Entering trades at swing levels with other confirmation
Customization Options
Traders can adjust:
The higher timeframes analyzed
Whether to show the timeframe labels
Whether to display swing levels
Whether to show the info table
The indicator also includes price alerts for new swing highs/lows on the current timeframe, allowing traders to get notifications when market structure changes.
This tool is particularly valuable for traders who incorporate multi-timeframe analysis into their strategy, helping them visualize important price levels across different time perspectives
CPD Approach Algo Line [ValiantTrader]CPD Approach Algo Line Indicator - Explanation
This indicator, developed by ValiantTrader, is a sophisticated tool for analyzing price action and volume distribution across different timeframes. Here's how it works and how traders can use it:
Core Functionality
The indicator performs a "Candle Price Distribution" (CPD) analysis by:
Collecting data from a higher timeframe (configurable via input)
Dividing the price range into horizontal zones (either by tick size or evenly distributed)
Analyzing price behavior within each zone
Key Features and Trading Applications
1. Price Zone Analysis
Divides the price range into customizable zones (default 24 zones)
Shows how many candles have traded in each zone
Displays what percentage of total candles occurred in each zone
Trading Use: Identifies high-probability support/resistance areas where price has historically spent more time.
2. Delta Calculation
Shows the difference in candle counts between adjacent zones
Color-coded (green for positive, red for negative)
Trading Use: Helps spot areas where price behavior changes significantly (potential reversal zones).
3. Volume Clusters
Aggregates volume traded within each price zone
Visualized as colored backgrounds
Trading Use: Identifies high-volume nodes which often act as strong support/resistance.
4. Pressure Zones
Scores each zone based on where candles closed within the zone
Positive pressure (green) when candles closed in upper part
Negative pressure (red) when candles closed in lower part
Trading Use: Shows where buyers or sellers were more dominant at each price level.
5. Advanced Candle Pattern Detection
Tracks wick engulfing patterns
Measures body engulfing patterns
Counts rejection candles (long wicks)
Identifies dominant candles (large bodies)
Trading Use: Provides additional confirmation of potential reversal or continuation patterns.
6. Draggable Reference Line
Allows traders to place a horizontal line at any price level
Automatically shows statistics for the zone containing the line
Trading Use: Quickly analyze any price level's historical significance.
Practical Trading Applications
Support/Resistance Identification: The zones with highest candle counts typically represent strong support/resistance levels.
Breakout Trading: When price moves into zones with few previous candles, it may indicate breakout potential.
Reversal Trading: Zones where delta changes significantly (from positive to negative or vice versa) can signal potential reversals.
Volume-Weighted Analysis: Combining candle counts with volume clusters helps identify the most significant price levels.
Multi-Timeframe Analysis: By setting the custom timeframe to a higher period, traders can see where institutional levels exist on weekly/daily charts while trading on lower timeframes.
The indicator is particularly useful for traders who employ volume profile, market profile, or order flow concepts in their trading strategy. The visual presentation makes it easy to quickly assess the most significant price levels on any chart.
Enhanced TEMA with Decimal PeriodsImagine you have a special type of moving average line called a TEMA (Triple
Moving Average). A TEMA is designed to be even quicker to react to price changes than a regular EMA (Exponential Moving Average), helping traders spot trends faster.
What this script does:
Super-Precise TEMA Length:
Normally, when you set the "length" or "period" for a moving average, you use whole numbers (like 10 days, 20 days).
This script lets you be more precise and use decimal numbers for the TEMA's length (like 26.0 days, or even 26.7 days). This allows for very fine-tuning.
How it gets the "Decimal" EMA part (if you choose to use it):
If you want a TEMA with a length of, say, 26.7:
The script first needs to calculate EMAs with a length of 26.7.
To do this, it cleverly calculates two regular EMAs: one with a length of 26 and another with a length of 27 (the whole numbers just below and above 26.7).
Then, it blends these two EMAs. Since 26.7 is closer to 27, it takes more from the "27-period EMA" and a bit less from the "26-period EMA." This mix gives you an EMA that acts like it has a 26.7 period.
Building the TEMA:
A TEMA isn't just one EMA. It's made by taking an EMA of an EMA, and then an EMA of that. It's like smoothing the line multiple times, but in a special mathematical way to make it faster.
So, this script:
-Calculates the first "decimal EMA" (e.g., for 26.7).
-Calculates another "decimal EMA" of that first EMA line (again, using 26.7).
-Calculates a third "decimal EMA" of the second EMA line (still using 26.7).
Finally, it combines these three EMAs using a special TEMA formula to get the final, quick-reacting TEMA line.
Option to Switch Off Decimals:
There's a setting ("Use Decimal Periods"). If you turn this off, the script will just use regular whole-number EMAs to build the TEMA (it will round down your decimal input, so 26.7 would become 26).
Plotting:
The final "Enhanced TEMA" line is drawn on your price chart.
In Simple Terms:
This script gives you a TEMA (a fast-moving average) that you can set up with very precise decimal lengths (like 26.7 instead of just 26 or 27).
It does this "decimal magic" by smartly blending two regular EMAs. You can also choose to use it like a normal TEMA with whole numbers if you prefer. The goal is to give traders a very responsive trend-following line that can be fine-tuned to a high degree of precision.
Ranging DetectionRange detection study v 0.1
Trying to find ranges on price charts. looking at H1 on EURUSD, the indicator will mark a line at the low and high of the last 10 candles, and mark the background grey if it detects a range - defined by how many candles since last high/low (default 3)