SessionRangeLevels_v0.1SessionRangeLevels_v0.1 - Indicator Description
Overview:
SessionRangeLevels_v0.1 is a customizable Pine Script (v6) indicator designed to plot key price levels based on a user-defined trading session. It identifies the high and low of the session and calculates intermediate levels (75%, 50% "EQ", and 25%) within that range. These levels are projected forward as horizontal lines with accompanying labels, providing traders with dynamic support and resistance zones. The indicator supports extensive customization for session timing, time zones, line styles, colors, and more.
Key Features:
Session-Based Range Detection: Tracks the high and low prices during a specified session (e.g., 0600-0900) and updates them dynamically as the session progresses.
Customizable Levels: Displays High, 75%, EQ (50%), 25%, and Low levels, each with independent toggle options, styles (Solid, Dashed, Dotted), colors, and widths.
Session Anchor: Optional vertical line marking the session start, with customizable style, color, and width.
Projection Offset: Extends level lines forward by a user-defined number of bars (default: 24) for future price reference.
Labels: Toggleable labels for each level (e.g., "High," "75%," "EQ") with adjustable size (Tiny, Small, Normal, Large).
Time Zone Support: Aligns session timing to a selected time zone (e.g., America/New_York, UTC, Asia/Tokyo, etc.).
Alert Conditions: Triggers alerts when the price crosses any of the plotted levels (High, 75%, EQ, 25%, Low).
Inputs:
Session Time (HHMM-HHMM): Define the session range (e.g., "0600-0900" for 6:00 AM to 9:00 AM).
Time Zone: Choose from options like UTC, America/New_York, Europe/London, etc.
Anchor Settings: Toggle the session start line, adjust its style (default: Dotted), color (default: Black), and width (default: 1).
Level Settings:
High (Solid, Black, Width 2)
75% (Dotted, Blue, Width 1)
EQ/50% (Dotted, Orange, Width 1)
25% (Dotted, Blue, Width 1)
Low (Solid, Black, Width 2)
Each level includes options to show/hide, set style, color, width, and label visibility.
Projection Offset: Number of bars to extend lines (default: 24).
Label Size: Set label size (default: Small).
How It Works:
The indicator detects the start and end of the user-defined session based on the specified time and time zone.
During the session, it tracks the highest high and lowest low, updating the levels in real-time.
At the session start, it plots the High, Low, and intermediate levels (75%, 50%, 25%), projecting them forward.
Lines and labels dynamically adjust as new highs or lows occur within the session.
Alerts notify users when the price crosses any active level.
Usage:
Ideal for traders who focus on session-based strategies (e.g., London or New York open). Use it to identify key price zones, monitor breakouts, or set targets. Customize the appearance to suit your chart preferences and enable alerts for real-time trading signals.
Notes:
Ensure your chart’s timeframe aligns with your session duration for optimal results (e.g., 1-minute or 5-minute charts for short sessions).
The indicator overlays directly on the price chart for easy integration with other tools.
Feedback and suggestions are welcome!
Statistics
Autocorrelation Price Forecasting [The Quant Science]Discover how to predict future price movements using autocorrelation and linear regression models to identify potential trading opportunities.
An advanced model to predict future price movements using autocorrelation and linear regression. This script helps identify recurring market cycles and calculates potential gains, with clear visual signals for quick and informed decisions.
Main function
This script leverages an autocorrelation model to estimate the future price of an asset based on historical price relationships. It also integrates linear regression on percentage returns to provide more accurate predictions of price movements.
Insights types
1) Red label on a green candle: Bearish forecast and swing trading opportunity.
2) Red label on a red candle: Bearish forecast and trend-following opportunity.
3) Green label on a red candle: Bullish forecast and swing trading opportunity.
4) Green label on a green candle: Bullish forecast and trend-following opportunity.
IMPORTANT!
The indicator displays a future price forecast. When negative, it estimates a future price drop.
When positive, it estimates a future price increase.
Key Features
Customizable inputs
Analysis Length: number of historical bars used for autocorrelation calculation. Adjustable between 1 and 200.
Forecast Colors: customize colors for bullish and bearish signals.
Visual insights
Labels: hypothetical gains or losses are displayed as labels above or below the bars.
Dynamic coloring: bullish (green) and bearish (red) signals are highlighted directly on the chart.
Forecast line: A continuous line is plotted to represent the estimated future price values.
Practical applications
Short-term Trading: identify repetitive market cycles to anticipate future movements.
Visual Decision-making: colored signals and labels make it easier to visualize potential profit or loss for each trade.
Advanced Customization: adjust the data length and colors to tailor the indicator to your strategies.
Limitations
Prediction price models have some limitations. Trading decisions should be made with caution, considering additional market factors and risk management strategies.
Pearson Correlation Best MA [victhoreb]Pearson Correlation Best MA is an innovative indicator designed to dynamically select the moving average that best aligns with price action based on the Pearson correlation coefficient. Here’s what it does:
- Multiple MA Evaluation: The indicator computes eight different moving averages — SMA, EMA, DEMA, TEMA, LSMA, RMA, WMA, and VWMA — using a user-defined period.
- Correlation Analysis: For each moving average, it calculates the Pearson correlation with the price (using the average of high and low) over a specified correlation length, then identifies the one with the highest correlation.
- Optional Smoothing: Users can opt to further smooth the selected best moving average for an even more refined signal.
- Visual Cues: The indicator plots the “Best MA” on the chart, colors it based on its direction (bullish or bearish), and also displays the correlation value. Additionally, it can color the price candles to reflect the trend indicated by the best moving average.
- Customizability: All key parameters such as moving average length, correlation length, smoothing options, and color settings are fully customizable.
This tool helps traders by automatically adapting to market conditions—highlighting the moving average that is most in sync with current price trends, potentially improving trade timing and decision-making.
Sessions pro v1 that visualizes multiple trading sessions on a chart. Here's a brief summary of its functionalities:
- **Session Visualization**: It defines up to four trading sessions (Session A, B, C, and D), which are customizable and correspond by default to major global markets:
- **Session A**: New York (`1300-2200` UTC)
- **Session B**: London (`0700-1600` UTC)
- **Session C**: Tokyo (`0000-0900` UTC)
- **Session D**: Sydney (`2100-0600` UTC)
- **Customization Options**:
- **Session Names**: Each session can be named as desired.
- **Time Ranges**: Custom time ranges can be set for each session.
- **Colors**: Users can choose specific colors for each session's visual elements.
- **Dashboard Display**:
- Shows a table on the chart indicating whether each session is currently active based on the real-time clock.
- The dashboard's position and size are customizable (e.g., Top Right, Bottom Center, Small, Large).
- Displays the status (`Active` or `Inactive`) for each session with color indicators (green for active, black for inactive).
**Purpose**:
This indicator helps traders:
- **Visual Analysis**: Easily see when major market sessions start and end.
- **Price Action**: Observe how prices move during different global trading hours.
//////////
Daily Dividers
Core Functionality
Visual Separation of Days: Draws dashed vertical lines at the start of each trading day to clearly separate daily sessions.
Day Labels: Displays the name of the day (e.g., Monday, Tuesday) at the top of the chart for quick reference.
Purpose: Helps traders identify the beginning of new trading days and organize price action analysis by day.
Ideal for: Traders who need a clear visual structure for daily price movements.
///////////
Daily and Weekly Change Tracking: 1D change / 1W change
Monitors and displays percentage changes in price for daily (1D) and weekly (1W) timeframes.
Color-Coded Visualization: Uses color coding to indicate positive (green) and negative (red) changes, enhancing quick visual analysis.
Historical Data Retrieval: Fetches past closing prices to calculate percentage changes, providing context for current price movements.
Dynamic Table Display: Presents changes in a structured table format, allowing for easy comparison across different symbols and timeframes.
//////////
Overbuy/Oversell Dashboard
Core Functionality
Aggregates 19 Technical Indicators: Combines signals to calculate Overbuy and Oversell conditions.
Real-Time Signal Counting: Displays the total number of Overbuy/Oversell signals in a clean, color-coded table.
Key Features:
Overbuy: Green highlight with total signals.
Oversell: Red highlight with total signals.
Purpose: Helps traders identify potential reversal points by showing the strength of conditions across multiple indicators.
Ideal for: Quick market sentiment analysis and confirming trend reversals.
//////////
Multi-Timeframe Trend Analysis:
Displays trends across various timeframes (1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, Daily, Weekly, Monthly).
User Customization: Users can choose which timeframes to display trends for, enhancing flexibility.
Real-Time Updates: Automatically updates trend status (Up/Down) based on the latest price movements.
Visual Dashboard: Presents trends in a table format for easy interpretation, with color-coded indicators for quick analysis.
//
**Warning:**
This indicator is a tool for market analysis and should **not be used alone** for trading decisions. Always combine its signals with other technical analysis methods, risk management strategies, and fundamental analysis to make informed and balanced trading choices.
ALN Sessions - for NQ2/24/25 - v1
This script does not calculate any stats.
It uses the sessions and stats from NQStats/ALNSessions
Option to draw boxes around the session times.
Options to adjust the table text/background colors/position.
The logic will determine how the Asia and London sessions interact.
Once the New York session starts (8am), it will then display the appropriate stats.
Script quirk...fyi. The script removes the stats table at 6PM.
That's just how it works. I used grok to assist with the code, and it got funky. It works, so I left it that way.
The appropriate stats table will then be displayed when the next New York session begins.
---
There is another table I used just for troubleshooting to show the values of the Asia/London session highs/lows. This can just be ignored.
3/3/25 - republished.
US Yield Curve (2-10yr)US Yield Curve (2-10yr) by oonoon
2-10Y US Yield Curve and Investment Strategies
The 2-10 year US Treasury yield spread measures the difference between the 10-year and 2-year Treasury yields. It is a key indicator of economic conditions.
Inversion (Spread < 0%): When the 2-year yield exceeds the 10-year yield, it signals a potential recession. Investors may shift to long-term bonds (TLT, ZROZ), gold (GLD), or defensive stocks.
Steepening (Spread widening): A rising 10-year yield relative to the 2-year suggests economic expansion. Investors can benefit by shorting bonds (TBT) or investing in financial stocks (XLF). The Amundi US Curve Steepening 2-10Y ETF can be used to profit from this trend.
Monitoring the curve: Traders can track US10Y-US02Y on TradingView for real-time insights and adjust portfolios accordingly.
Global M2 Money Supply // Days Offset =Global M2 vs BTC / Days Offset
Chart Explained
This chart illustrates the year-over-year growth in the global money supply (M2) from the top 21 central banks, compared to the price of Bitcoin. The M2 Global measure includes cash, checking and savings deposits, money market accounts, and smaller deposits under $100,000.
An increase in global liquidity indicates that major central banks are making more money available to their economies. They typically achieve this by lowering interest rates or purchasing government bonds and other securities to expand the money supply.
When comparing Bitcoin’s price to the M2 growth rates of central banks like the FED, ECB, PBoC, BoJ, and others, there is a clear correlation—Bitcoin tends to rise in tandem with the growth of the M2 supply. Historically, Bitcoin bull markets have aligned with periods of increased global liquidity.
Indicator Explained
Press settings and add a 72 day offset (or whatever works best for you)
Data for the global money supply has been sourced from the following 21 central banks:
North America: USM, CAM
Eurozone: EUM
Non-Eurozone Europe: CHM, GBM, FIPOP, RUM
Pacific: NZM
Asia: CNM, TWM, HKM, INM, JPM, PHM, SGM
Latin America: BRM, COM, MXM
Middle East: AEM, TRM
Africa: ZAM
This comprehensive data set offers insights into how global liquidity impacts the price of Bitcoin, reinforcing the historical connection between monetary expansion and Bitcoin’s bull markets.
MacroJP: US Macro Conditions & Forward GuidanceMacroJP is a comprehensive, free-to-use TradingView indicator designed to provide a clear snapshot of the US macroeconomic environment. It consolidates key economic metrics into a single, interactive dashboard, allowing traders and investors to quickly assess current conditions and adjust their portfolio biases accordingly.
How It Works:
• Data Aggregation:
The indicator pulls monthly data from reputable free economic sources—specifically, ISM Manufacturing PMI, US CPI YoY, US M2 Money Supply, and US Treasury yields (10-year and 2-year). This robust dataset forms the backbone of the analysis.
• Composite Calculations:
By calculating a Composite Inflation Indicator (the average of CPI YoY and the yield spread) and evaluating the year-over-year change in M2, MacroJP gauges both the inflationary pressures and liquidity trends in the economy. These composite metrics offer a nuanced view that goes beyond single-indicator analysis.
Regime Classification:
The core strength of MacroJP lies in its quadrant classification system. It categorises the macro environment into four distinct regimes based on the direction of economic growth (derived from PMI) and inflation (from the Composite Inflation Indicator):
• Expansion (Reflation): Indicative of a recovering economy with rising production and moderate inflation—ideal for a bullish equity bias.
• Stagflation Risk: A scenario of weak growth coupled with high inflation, where a defensive posture is recommended.
• Slowdown (Deflationary): Characterised by contracting economic activity and falling prices, suggesting a move towards cash or high-quality bonds.
• Disinflationary Boom: Reflects strong growth with stable or falling inflation—an optimal environment for equities with some bond diversification.
Forward Guidance:
To enhance its predictive capability, MacroJP incorporates leading indicators by shifting key data points. For instance, it uses a forward-shifted M2 YoY value and a one-month shifted CPI proxy to offer insights into near-term trends. This approach helps in anticipating changes, providing a sort of “forward guidance” that can inform strategic asset allocation.
User Education:
The indicator features an intuitive table with on-hover tooltips that explain each metric, its relevance, and recommended investment biases. This educational layer is designed to empower users to not only monitor the economic pulse but also to understand the ‘why’ behind each reading, making it a valuable tool for both novice and experienced investors.
MacroJP brings clarity to complex macroeconomic dynamics, allowing users to make more informed decisions in volatile markets. Its seamless integration of free public data and detailed on-chart annotations makes it an indispensable tool for anyone looking to understand the broader economic context impacting their investments.
— Jaroslav
SPX Breakout Strategy [MAP]Here’s a breakdown of the color scheme used in the script:
1. Donchian Levels (Upper and Lower Levels)
Color: color.yellow
Purpose:
The upper and lower levels of the Donchian Channel are plotted as yellow solid lines.
These levels represent the highest high and lowest low over the lookback period.
Example:
Upper Level: 4500 (yellow)
Lower Level: 4400 (yellow)
2. Take-Profit Levels
Buy Take-Profit:
Color: color.green
Purpose:
The take-profit level for a buy position is plotted as a green dashed line.
This level is calculated as upper_level + (2 * risk).
Example: 4600 (green)
Sell Take-Profit:
Color: color.red
Purpose:
The take-profit level for a sell position is plotted as a red dashed line.
This level is calculated as lower_level - (2 * risk).
Example: 4300 (red)
3. Target Levels
Upper Targets:
Color: color.teal
Purpose:
The upper target levels are plotted as teal dashed lines.
These levels are calculated as upper_level + (i * target_distance), where i is the target number (1 to 5).
Example:
Target 1: 4700 (teal)
Target 2: 4800 (teal)
Lower Targets:
Color: color.orange
Purpose:
The lower target levels are plotted as orange dashed lines.
These levels are calculated as lower_level - (i * target_distance), where i is the target number (1 to 5).
Example:
Target 1: 4300 (orange)
Target 2: 4200 (orange)
4. Stop-Loss Levels
Buy Stop-Loss:
Color: color.red
Purpose:
The stop-loss level for a buy position is plotted as a red dashed line.
This level is calculated as upper_level - (atr * stop_loss_distance).
Example: 4450 (red)
Sell Stop-Loss:
Color: color.red
Purpose:
The stop-loss level for a sell position is plotted as a red dashed line.
This level is calculated as lower_level + (atr * stop_loss_distance).
Example: 4350 (red)
5. Entry Labels
Buy Entry:
Color: color.green
Purpose:
A green label is displayed on the chart when a buy condition is met.
The label says "BUY" and is placed at the high of the bar where the breakout occurs.
Example: A green "BUY" label appears on the chart.
Sell Entry:
Color: color.red
Purpose:
A red label is displayed on the chart when a sell condition is met.
The label says "SELL" and is placed at the low of the bar where the breakout occurs.
Example: A red "SELL" label appears on the chart.
6. Text Labels on the Right Side
Color:
The text labels on the right side of the chart use the same colors as the corresponding levels (e.g., yellow for Donchian levels, green for buy take-profit, red for sell take-profit, etc.).
Purpose:
These labels display the price values of the levels (e.g., 4500, 4600, etc.) on the right side of the chart.
They are placed at the corresponding price levels for easy reference.
Giotee-Norm**Gioteen-Norm: A Versatile Normalization Indicator**
This indicator applies a normalization technique to closing prices, providing a standardized view of price action that can be helpful for identifying overbought and oversold conditions.
**Key Features:**
* **Normalization:** Transforms closing prices into a z-score by subtracting a moving average and dividing by the standard deviation. This creates a standardized scale where values above zero represent prices above the average, and values below zero represent prices below the average.
* **Customizable Moving Average:** Choose from four different moving average methods (SMA, EMA, WMA, VWMA) and adjust the period to suit your trading style.
* **Visual Clarity:** The indicator displays the normalized values as a red line, making it easy to identify potential turning points.
* **Optional Moving Average:** You can choose to display a moving average of the normalized values as a green dashed line, which can help to filter out noise and identify trends.
**Applications:**
* **Overbought/Oversold Identification:** Look for extreme values in the normalized data to identify potential overbought and oversold conditions.
* **Divergence Analysis:** Compare the price action with the normalized values to spot potential divergences, which can signal trend reversals.
* **Trading System Integration:** This indicator can be integrated into various trading systems as a building block for generating trading signals.
**This indicator was a popular tool on the MT4 platform, and now it's available on TradingView!**
**Contact:**
If you have any questions or feedback, feel free to reach out to me at admin@fxcorner.net .
Gioteen-Norm** Gioteen-Norm : A Versatile Normalization Indicator**
This indicator applies a normalization technique to closing prices, providing a standardized view of price action that can be helpful for identifying overbought and oversold conditions.
**Key Features: **
* **Normalization:** Transforms closing prices into a z-score by subtracting a moving average and dividing by the standard deviation. This creates a standardized scale where values above zero represent prices above the average, and values below zero represent prices below the average.
* **Customizable Moving Average:** Choose from four different moving average methods (SMA, EMA, WMA, VWMA) and adjust the period to suit your trading style.
* **Visual Clarity:** The indicator displays the normalized values as a red line, making it easy to identify potential turning points.
* **Optional Moving Average:** You can choose to display a moving average of the normalized values as a green dashed line, which can help to filter out noise and identify trends.
**Applications:**
* **Overbought/Oversold Identification:** Look for extreme values in the normalized data to identify potential overbought and oversold conditions.
* **Divergence Analysis:** Compare the price action with the normalized values to spot potential divergences, which can signal trend reversals.
* **Trading System Integration:** This indicator can be integrated into various trading systems as a building block for generating trading signals.
**This indicator was a popular tool on the MT4 platform, and now it's available on TradingView!**
**Contact:**
If you have any questions or feedback, feel free to reach out to me at admin@fxcorner.net .
TASHAEntry Trigger
Parabolic SAR (PSAR): This indicator helps identify potential trend reversals. A sell signal might occur when the PSAR is above the price, indicating a downtrend. When developing your strategy, look for PSAR dots to switch positions relative to the price chart.
Confluence Indicators:
MACD (Moving Average Convergence Divergence): Look for bearish crossovers (when the MACD line crosses below the signal line) to confirm your entry signal from PSAR.
Stochastic Oscillator: A reading above 80 can indicate overbought conditions. Confirmation here would include the %K line crossing below the %D line.
ZLEMA (Zero-Lag Exponential Moving Average): Use this to identify the trend's direction. A downward slope or the price being below the ZLEMA could confirm a bearish bias.
Accumulation Distribution Line (ADL): This technical indicator can confirm the trend's strength. If the ADL is declining while price moves upwards, it can confirm that the upward move may not be sustainable.
Exit Trigger
Parabolic SAR (PSAR): Use the PSAR flip (when it moves below the price) as an exit signal, indicating a potential trend reversal to the upside.
Confirmation Indicators:
RSI (Relative Strength Index): Look for overbought conditions, typically above 70, to confirm an exit signal.
Stochastic Oscillator: A reading above 80, combined with a crossover (where %K crosses below %D), can signal a good opportunity to exit a trade.
VWAP (Volume Weighted Average Price): If the price crosses below the VWAP, it may indicate a shift in sentiment from bullish to bearish.
PPS (Pivots Points Standard): Look for price action around pivot levels. If the price is failing to hold above a key pivot level, it could be a reason to exit.
Estimare preț - Proiecție 10 intervaleFuture price 10 intervals
This indicator uses linear regression on the last 20 bars to project the price evolution over the next 10 ranges. The indicator calculates the current regression value and predicts the future value using the built-in ta.linreg() function, then draws a forecast dotted line that updates dynamically. The result is a clear graphical representation of the predicted trend, useful for identifying potential entry and exit points in the market.
Price AltimeterThis indicator should help visualize the price, inspired by a Digital Altimeter in a Pilots HUD.
It's by default calibrated to Bitcoin, with the small levels showing every $100 and the larger levels setup to display on every $1000. But you can change this to whatever you want by changing the settings for: Small and Large Level Increments.
The default colors are grey, but can be changed to whatever you want, and there are two cause if you want they work as a gradient.
There are options to fade as the values go away from the current price action.
There are options for Forward and Backward Offsets, 0 is the current price and each value represents a candle on whatever time frame your currently on.
Other Options include the Fade Ratio, the Line Width and Style, which are all self explanatory.
Hope you Enjoy!
Backtest it in fast mode to see it in action a little better...
Known Issues:
For some reason it bug's out when either or are displaying more than 19 lines, unsure why so its limited to that for now.
Extra Note on what this may be useful for: I always wanted to make this, but didn't realize how to put things in front of the price action... Offset! Duh! Anyways, I thought of this one because I often it's hard on these charts to really get an idea for absolute price amounts across different time frames, this in an intuitive, at a glance way to see it because the regular price thing on the right always adds values between values when you zoom in and you can sometimes get lost figuring out the proportions of things.
Could also be useful for Scalping?
ATH & 52-Week High Tracker### **Indicator Name: ATH & 52-Week High Tracker**
📌 **Description:**
This indicator provides a **real-time table** displaying key stock statistics to help traders analyze price levels relative to historical highs. It includes:
✔️ **All-Time High (ATH)** price
✔️ **% Change from ATH**
✔️ **52-Week High** price
✔️ **% Change from 52-Week High**
By using this indicator, traders can quickly identify how far a stock has retraced from its **historical peaks**, which can be useful for momentum trading, breakout strategies, and trend analysis.
📊 **What You Get with This Indicator:**
✅ A clear **visual table** with important stock data
✅ Quick reference to **historical price levels**
✅ Helps in identifying potential **breakout or recovery zones**
✅ Useful for both **intraday and swing traders**
⚠️ **Disclaimer:**
This indicator is for **informational purposes only** and should not be considered **financial advice, a trading strategy, or a buy/sell signal.** Always conduct your own analysis and risk management before making trading decisions. 🚀📈
Let me know if you need any refinements! 😊
Date Display with Bar Counter and EMA===== ENGLISH DESCRIPTION =====
OVERVIEW:
This is a multi-function indicator that combines three useful tools in one script:
1. Date Display - Shows current date and symbol information in a customizable table
2. Bar Counter - Displays sequential bar numbers at specified intervals
3. EMA (Exponential Moving Average) - Plots an EMA line with customizable settings
FEATURES:
1. DATE DISPLAY:
- Shows date in full format (e.g., "Mon ∙ January 1, 2023") or short format (e.g., "Mon ∙ 01.01.23")
- Option to show/hide day of week
- Option to show/hide symbol and timeframe information
- Customizable table position (top/middle/bottom, left/center/right)
- Automatic color adjustment based on chart background
2. BAR COUNTER:
- Displays sequential bar numbers below price bars
- Customizable display frequency (every X bars)
- Special handling for Hong Kong futures (resets at market open)
- Different reset logic based on timeframe (daily, weekly, monthly)
- Customizable text size and color
3. EMA INDICATOR:
- Customizable period length (default: 20)
- Option to use different timeframe for calculation
- Option to wait for timeframe close for more stable signals
- Customizable line color
USAGE INSTRUCTIONS:
- After adding the indicator to your chart, customize settings in the "Format" panel
- The Date Display table will appear at your chosen position on the chart
- Bar numbers will appear below price bars at your specified frequency
- The EMA line will be plotted on the chart with your chosen settings
- Colors automatically adjust to light/dark chart themes
===== 中文说明 =====
概述:
这是一个多功能指标,将三个实用工具合并为一个脚本:
1. 日期显示 - 在可自定义的表格中显示当前日期和交易品种信息
2. K线计数器 - 按指定间隔显示K线序号
3. EMA指数移动平均线 - 绘制可自定义设置的EMA线
功能特点:
1. 日期显示:
- 支持完整格式(如"Mon ∙ January 1, 2023")或简短格式(如"Mon ∙ 01.01.23")
- 可选择显示/隐藏星期几
- 可选择显示/隐藏交易品种和时间周期信息
- 可自定义表格位置(顶部/中部/底部,左侧/中间/右侧)
- 根据图表背景自动调整颜色
2. K线计数器:
- 在价格K线下方显示序号
- 可自定义显示频率(每X根K线)
- 对香港期货有特殊处理(在开市时重置)
- 根据时间周期(日线、周线、月线)使用不同的重置逻辑
- 可自定义文字大小和颜色
3. EMA指标:
- 可自定义周期长度(默认:20)
- 可选择使用不同的时间周期进行计算
- 可选择等待时间周期结束以获得更稳定的信号
- 可自定义线条颜色
使用说明:
- 将指标添加到图表后,在"格式"面板中自定义设置
- 日期显示表格将出现在您选择的图表位置
- K线序号将按您指定的频率显示在价格K线下方
- EMA线将根据您选择的设置绘制在图表上
- 颜色会根据浅色/深色图表主题自动调整
*/
Machine Learning + Geometric Moving Average 250/500Indicator Description - Machine Learning + Geometric Moving Average 250/500
This indicator combines password-protected market analysis levels with two powerful Geometric Moving Averages (GMA 250 & GMA 500).
🔒 Password-Protected Custom Levels
Access pre-defined long and short price levels for select assets (crypto, stocks, and more) by entering the correct password in the indicator settings.
Once the correct password is entered, the indicator automatically displays:
Green horizontal lines for long entry zones.
Red horizontal lines for short entry zones.
If the password is incorrect, a warning label will appear on the chart.
📈 Geometric Moving Averages (GMA)
This indicator calculates GMA 250 and GMA 500, two long-term trend-following tools.
Unlike traditional moving averages, GMAs use logarithmic smoothing to better handle exponential price growth, making them especially useful for assets with strong trends (e.g., crypto and tech stocks).
GMA 250 (white line) tracks the medium-term trend.
GMA 500 (gold line) tracks the long-term trend.
⚙️ Customizable & Flexible
Works on multiple assets, including cryptocurrencies, equities, and more.
Adaptable to different timeframes and trading styles — ideal for both swing traders and long-term investors.
This indicator is ideal for traders who want to blend custom support/resistance levels with advanced geometric trend analysis to better navigate both volatile and trending markets.
Fibonacci-Only Strategi V2# Fibonacci-Only Strategy V2
A sophisticated trading strategy that combines Fibonacci retracement levels with advanced pattern recognition and statistical confirmation.
## Key Features:
- Uses 19% and 82.56% Fibonacci retracement levels for trade signals
- Implements pattern matching algorithm to identify high-probability setups
- Incorporates statistical analysis for confirmation
## How to Read the Signals:
- Green Arrow Up: Strong long entry signal
- Red Arrow Down: Strong short entry signal
- Green Background: Long condition triggered
- Red Background: Short condition triggered
- Status Panel: Shows current Fibonacci, Pattern, and Statistical conditions
- Circle Markers: Indicate Fibonacci touch signals
- X-Cross Markers: Indicate Fibonacci break signals
- Text Labels: Display detailed signal information including pattern similarity percentage
This strategy is designed for traders who appreciate the powerful simplicity of Fibonacci levels enhanced by statistical validation and historical pattern recognition. The customizable parameters allow for fine-tuning across different timeframes and markets.
Perfect for both trend-following and reversal trading scenarios, providing clear entry and exit rules combined with dynamic risk management.
PriorHourRangeLevels_v0.1PriorHourRangeLevels_v0.1
Created by dc_77 | © 2025 | Mozilla Public License 2.0
Overview
"PriorHourRangeLevels_v0.1" is a versatile Pine Script™ indicator designed to help traders visualize and analyze price levels based on the prior hour’s range. It overlays key levels—High, Low, 75%, 50% (EQ), and 25%—from the previous hour onto the current price chart, alongside the current hour’s opening price. With customizable display options and time zone support, it’s ideal for intraday traders looking to identify support, resistance, and breakout zones.
How It Works
Hourly Reset: The indicator detects the start of each hour based on your chosen time zone (e.g., "America/New_York" by default).
Prior Hour Range: It calculates the High and Low of the previous hour, then derives three additional levels:
75%: 75% of the range above the Low.
EQ (50%): The midpoint of the range.
25%: 25% of the range above the Low.
Current Hour Open: Displays the opening price of the current hour.
Projection: Lines extend forward (default: 24 bars) to project these levels into the future, aiding in real-time analysis.
Alerts: Triggers alerts when the price crosses any of the prior hour’s levels (High, 75%, EQ, 25%, Low).
Key Features
Time Zone Flexibility: Choose from options like UTC, New York, Tokyo, or London to align with your trading session.
Visual Customization:
Toggle visibility for each level (High, Low, 75%, EQ, 25%, Open, and Anchor).
Adjust line styles (Solid, Dashed, Dotted), colors, and widths.
Show or hide labels with adjustable sizes (Tiny, Small, Normal, Large).
Anchor Line: A vertical line marks the start of the prior hour, with optional labeling.
Alert Conditions: Set up notifications for price crossings to catch key moments without watching the chart.
Usage Tips
Use the High and Low as potential breakout levels, while 75%, EQ, and 25% act as intermediate support/resistance zones.
Trend Confirmation: Watch how price interacts with the EQ (50%) level to gauge momentum.
Session Planning: Adjust the time zone to match your market (e.g., "Europe/London" for FTSE trading).
Projection Offset: Extend or shorten the lines (via "Projection Offset") based on your chart timeframe.
Inputs
Time Zone: Select your preferred market time zone.
Anchor Settings: Show/hide the prior hour start line, style, color, width, and label.
Level Settings: Customize visibility, style, color, width, and labels for Open, High, 75%, EQ, 25%, and Low.
Display: Set projection length and label size.
Feedback welcome—happy trading!
EMA Alignment & Spread Monitor (Sang Youn)Overview
The EMA Alignment & Spread Monitor is a dynamic trading script designed to monitor EMA (Exponential Moving Average) alignments, track spread deviations, and provide real-time alerts when significant conditions are met. This script allows traders to customize their EMA periods, analyze market trends based on EMA positioning, and receive visual and audio alerts when key spread conditions occur.
🔹 Key Features
✅ Customizable EMA Periods – Users can input their own EMA lengths to adapt the script to various market conditions. (Default: 5, 10, 20, 60, 120)
✅ EMA Alignment Detection – Identifies bullish alignment (all EMAs in ascending order) and bearish alignment (all EMAs in descending order).
✅ Spread Calculation & Monitoring – Computes the spread difference between each EMA and tracks the average spread over a user-defined period.
✅ Deviation Alerts – Notifies traders when:
Bullish Trend: The spread exceeds its average, indicating a potential strong uptrend.
Bearish Trend: The spread falls below its average, signaling a possible downtrend.
✅ Chart Annotations – Displays 📈 (green triangle) when bullish spread exceeds average and 📉 (red triangle) when bearish spread drops below average for easy visualization.
✅ Real-time Alerts – Sends alerts when spread conditions are met, helping traders react to market shifts efficiently.
✅ Spread Histogram – Visual representation of bullish and bearish spread levels for trend analysis.
🔹 How It Works
1️⃣ Set your EMA periods in the script settings (default: 5, 10, 20, 60, 120).
2️⃣ Define the spread average calculation length (default: 50 candles).
3️⃣ The script tracks EMA alignment to determine bullish or bearish trends.
4️⃣ If the spread deviates significantly from its average, the script:
Places a 📈 green triangle above candles in a bullish trend when spread > average.
Places a 📉 red triangle below candles in a bearish trend when spread < average.
Triggers an alert for timely decision-making.
5️⃣ Use the histogram & real-time alerts to stay ahead of market movements.
Financial and Pricing ReferencesThe ideal time frame for this script is "Day."
This script captures fundamental data and buy/sell recommendation analysis, including respective ceiling price values provided by TradingView. The data is organized into two tables: one displaying recommendations and prices, and the other presenting fundamental metrics such as EPS, debt ratio, Graham Number, dividends, etc.
The script also calculates, compares, and filters the following data:
- EPS and Book Value for Graham Value calculation;
- Dividend Ratio (r_Dividend);
- The Pivot, calculated as the average Close price over the past 22 days;
- Support and Resistance levels to reference the "ceiling price."
The "ceiling price" is determined based on a combination of Enterprise Value, r_Dividend, Graham Number, and analysts' recommendation prices.
The "ceiling price" is displayed on the chart along with the Support and Resistance lines.
The following parameters can be adjusted:
- Period for Mclose calculation;
- Dividend Ratio;
- Period for Support and Resistance calculation.