Chart patterns
Trading Copter Ribbon EMATrading Copter Ribbon EMA is a versatile technical analysis tool designed to help traders identify trends and potential reversals in the market. This indicator utilizes multiple Exponential Moving Averages (EMAs) with varying lengths to create a dynamic ribbon effect, offering clear visual cues of market direction.
Shan Alertsi am predicting buy and signals with volume, RSI and chart patterns. this can be used with proper teaching and training
Jurik / HMA with Ribbon
**Jurik / HMA with Ribbon**
This script combines the Jurik Moving Average (JMA), Exponential Moving Average (EMA), and Hull Moving Average (HMA) to provide a comprehensive trend-following tool with a visual ribbon background. Each of these moving averages is tuned for a unique view of market trends, and the script highlights potential momentum changes based on the alignment of these averages.
### Key Components:
1. **Jurik Moving Average (JMA)**:
- JMA is a smooth, adaptive moving average that filters out noise while remaining responsive to price changes.
- The script allows customization of JMA's `length`, `phase`, and `power` parameters to suit different trading styles.
- When the JMA turns from red to green (or vice versa), it indicates a potential momentum shift based on the current price action relative to the previous bar.
2. **Exponential Moving Average (EMA)** and **Hull Moving Average (HMA)**:
- Both EMA and HMA are popular moving averages in technical analysis.
- EMA responds more quickly to recent price changes, while HMA is known for smoothing out price data while reducing lag.
- The `length` for both EMA and HMA can be customized, with a default value of 15.
3. **Ribbon Background**:
- This script creates a "ribbon" effect in the background, highlighting when the JMA is above or below both the EMA and HMA:
- **Green Ribbon**: Indicates a potential bullish trend when JMA is above both EMA and HMA.
- **Red Ribbon**: Indicates a potential bearish trend when JMA is below both EMA and HMA.
- The ribbon provides a clear visual cue, making it easy to identify trend changes at a glance.
### Inputs:
- **JMA Length, Phase, and Power**: Parameters to fine-tune the behavior of the Jurik Moving Average.
- **EMA/HMA Length**: Shared length parameter for both the EMA and HMA, with a default of 15.
- **Highlight Movements**: Option to enable/disable color changes for the JMA based on movement direction.
### Plotting:
- The script plots the JMA, EMA, and HMA lines on the chart, color-coded for easy identification.
- The JMA line changes color based on movement direction, with green for upward movements and red for downward.
- EMA and HMA lines are shown in blue and purple, respectively, for added clarity.
### How to Use:
This indicator can be useful for identifying trend direction and strength:
- When all three moving averages (JMA, EMA, and HMA) align with the same direction and the ribbon color matches, it signals a strong trend.
- This script is ideal for trend-following strategies, as well as for identifying potential reversals when the JMA crosses below or above the EMA/HMA.
### Note:
As always, this indicator should be used alongside other tools or analysis techniques to confirm signals and manage risk effectively.
---
This description should help users understand the functionality and purpose of the script when they see it on TradingView. Let me know if you'd like any further customization!
Multi-Timeframe with TrendLine Cross and Fibonacci LevelsCombined Fib with trendline cross.
FIB Levels automatically calculated based on bar lookback.
From AleSaira:
This indicator "TrendLine Cross", is designed to plot trend lines so you can spot potential trend reversal points on the charts. The main function is to draw several lines on the chart and identify the crossings between these lines, which can be significant indicators for trading. The lines are based on different periods which can be changed in the settings tabs.
Let's see the characteristics of the trend lines:
_Low Line Color(Green Line): This line connects the lowest point of low prices in the "low_time" period with the lowest point of low prices in the "high_time" period. Indicates a possible short-term support level on the chart.
_Liquidity Up Line Color (Golden Line): This line connects the lowest point of low prices in the "low_time" period with the highest point of low prices in the same period. It represents a liquidity zone and an important resistance in the chart.
_Lower Line Color (Blue Line): This horizontal line connects the lowest point of low prices in the "LowerLine_period" with the lowest point of low prices in the "high_time" period. Indicates a possible long-term support level.
_Upper Line Colorr: This line represents a connection between the highest points of the "high_time" period and the lowest point of the "LowerLine_period". Indicates a possible long-term resistance level.
_Up Line Color (Red Line): This line connects the highest point of high prices in the "high_time" period with the highest point of high prices in the "LowerLine_period". It represents a possible long-term resistance level.
_Liquidity Down Line Color(Golden Line): This line connects the highest point of high prices in the "high_time" period with the highest point of low prices in the "low_time" period. It represents a liquidity point and an important support zone.
The indicator becomes particularly interesting when the lines make crossings. These crossovers could suggest a potential trend change in the market. For example:
Change from Bearish to Bullish: If the "long-term" line (black) crosses the "short- or long-term" line (green or blue) from top to bottom, it could indicate a shift from a bearish to a bullish market , suggesting the opportunity for long positions.
_Changing from Bullish to Bearish: If the "long-term" line (blue) crosses the "short-term" line (red or black) from bottom to top, it could indicate a shift from a bullish to a bearish market, suggesting the opportunity for short positions.
Generally speaking, crossings between these lines can be key points of interest for traders, as they can signal significant changes in price direction.
Volatility Screenercomaparing volatility of last 5 days with respect to last 20 days just to indeintyf
trailing stpTHAICHUYENTOAN I WANT TO BE A MILIONARE\
VISE Premium Trading là phần mềm giao dịch chứng khoán dành cho nhà đầu tư chuyên nghiệp với nhiều tính năng cao cấp. Phần mềm cung cấp dữ liệu phân tích kỹ thuật và tài chính doanh nghiệp song song với việc đặt lệnh, theo dõi tài khoản online. VISE Premium Trading tăng cường tính tương tác thông qua những thống kê giao dịch, biến động giá trực tuyến giúp khách hàng nhanh chóng ra quyết định tối ưu nhất.
Các tính năng cao cấp trên Premium trading
Phân tích kĩ thuật theo thời gian thực
ViganThe Vigan is a range bound momentum oscillator. This is designed to display the advance location of the close compared to the high/low range over a user defined number of periods. Typically, this is used for three things; Identifying overbought and oversold levels, spotting divergences and also identifying bull and bear set ups or signals.
COIN/ETH RatioThis TradingView indicator calculates and visualizes the ratio between Coinbase's stock price (COIN) and Ethereum's price (ETH) to help traders compare Coinbase's performance relative to Ethereum over time. This can be useful for those interested in understanding correlations or relative strength between a traditional crypto exchange stock and a major cryptocurrency.
Long-Term Pivot and Golden Crossover Strategy//@version=5
strategy("Long-Term Pivot and Golden Crossover Strategy", overlay=true)
// Input for moving averages
shortTerm = input.int(100, title="Short-term SMA Period") // 100-period SMA
longTerm = input.int(200, title="Long-term SMA Period") // 200-period SMA
// Calculate moving averages
sma100 = ta.sma(close, shortTerm)
sma200 = ta.sma(close, longTerm)
// Golden crossover: when short-term SMA crosses above long-term SMA
goldenCrossover = ta.crossover(sma100, sma200)
// Calculate daily pivot points (traditional formula)
pivot = (high + low + close) / 3
support1 = pivot - (high - low)
resistance1 = pivot + (high - low)
support2 = pivot - 2 * (high - low)
resistance2 = pivot + 2 * (high - low)
// Plot SMAs and pivot points on the chart
plot(sma100, color=color.blue, title="100-period SMA", linewidth=2)
plot(sma200, color=color.red, title="200-period SMA", linewidth=2)
plot(pivot, color=color.purple, title="Pivot Point", linewidth=2)
plot(support1, color=color.green, title="Support 1", linewidth=1)
plot(resistance1, color=color.green, title="Resistance 1", linewidth=1)
plot(support2, color=color.green, title="Support 2", linewidth=1)
plot(resistance2, color=color.green, title="Resistance 2", linewidth=1)
// Entry Condition: Golden crossover with price above the pivot point
longCondition = goldenCrossover and close > pivot
// Exit Condition: You can use a stop-loss and take-profit, or a bearish crossover
stopLossPercent = input.float(3, title="Stop Loss (%)") / 100 // Wider stop loss for long-term trades
takeProfitPercent = input.float(10, title="Take Profit (%)") / 100 // Higher take profit for long-term trades
// Calculate stop-loss and take-profit prices
longStopLoss = close * (1 - stopLossPercent)
longTakeProfit = close * (1 + takeProfitPercent)
// Execute strategy
if (longCondition)
strategy.entry("Long", strategy.long, stop=longStopLoss, limit=longTakeProfit)
// Optional: Exit strategy based on a bearish crossover
exitCondition = ta.crossunder(sma100, sma200)
if (exitCondition)
strategy.close("Long")
// Strategy exit with custom stop loss and take profit
strategy.exit("Take Profit/Stop Loss", from_entry="Long", stop=longStopLoss, limit=longTakeProfit)
5-Minute YEN Pivot Bars 1.0The 5-Minute YEN Pivot Bars indicator is designed to identify and highlight low-range pivot bars on 5-minute charts, specifically tailored for Yen-based pairs (e.g., GBPJPY, USDJPY). By focusing on precise pip thresholds, this tool helps traders detect potential pivot points within specific trading sessions, while avoiding inside bars and other noise often seen in low-volatility conditions. This can be particularly useful for trend traders and those looking to refine their entry points based on intraday reversals.
Key Features:
- Customized Pip Thresholds for Yen Pairs:
The indicator is pre-configured for Yen pairs, where 1 pip is typically represented by 0.01. It applies these thresholds:
- Limited Range: 4 pips or less between open and close prices.
- High/Low Directionality: At least 3 pips from the close/open to the bar's high or low.
- Open/Close Proximity: 4 pips or less between open and close.
- Inside Bar Tolerance: A tolerance of 3 pips for inside bars, helping reduce false signals from bars contained within the previous bar's range.
- Session-Specific Alerts:
- The indicator allows you to enable alerts for the European Session (6:00-12:00), American Session (12:00-17:00), and London Close (17:00-20:00). You can adjust these times based on your own trading hours or timezone preferences via a time-shift setting.
- Receive real-time alerts when a valid bullish or bearish pivot bar is identified within the chosen sessions, allowing you to respond to potential trade opportunities immediately.
- Time Shift Customization:
- Adjust the "Time Shift" parameter to account for different time zones, ensuring accurate session alignment regardless of your local time.
How It Works:
1. Pivot Bar Identification:
The indicator scans for bars where the difference between the open and close is within the "Limited Range" threshold, and both open and close prices are close to either the high or the low of the bar.
2. Directional Filtering:
It requires the bar to show strong directional bias by enforcing an additional distance between the open/close levels and the opposite end of the bar (high/low). Only bars with this directional structure are considered for highlighting.
3. Exclusion of Inside Bars:
Bars that are completely contained within the range of the previous bar are excluded (inside bars), as are consecutive inside bars. This filtering is essential to avoid marking bars that typically indicate consolidation rather than potential pivot points.
4. Session Alerts:
When a valid pivot bar appears within the selected sessions, an alert is triggered, notifying the trader of a potential trading signal. Bullish and bearish signals are differentiated based on whether the close is near the high or low.
How to Use:
- Trend Reversals: Use this indicator to spot potential trend reversals or pullbacks on a 5-minute chart, especially within key trading sessions.
- Entry and Exit Points: Highlighted bars can serve as potential entry points for traders looking to capitalize on short-term directional changes or continuation patterns.
- Combine with Other Indicators: Consider pairing this tool with momentum indicators or trendlines to confirm the signals, providing a comprehensive analysis framework.
Default Parameters:
- Limited Range: 4 Pips
- High/Low Directionality: 3 Pips
- Open/Close Proximity: 4 Pips
- Inside Bar Tolerance: 3 Pips
- Session Alerts: Enabled for European, American, and London Close sessions
- Time Shift: Default 6 (adjustable to align with different time zones)
This indicator is specifically optimized for Yen pairs on 5-minute charts due to its pip calculation.
New Day [UkutaLabs]█ OVERVIEW
The New Day indicator is a useful trading tool that automatically identifies the first bar of each trading day for the user’s convenience.
█ USAGE
At the beginning of each trading day, this indicator will automatically create a line that will display the first bar of the trading day. This is a useful way to visualize where each day begins and ends.
When this indicator is used on a stock or futures chart, the first bar of the session will be identified as the first bar of the trading day. If this indicator is used on crypto or forex charts, which are tradable for 24 hours, the indicator will identify the bar closest to midnight as the first bar of the trading day.
█ SETTINGS
Configuration
• Line Color: This setting allows the user to determine the color of the New Day line.
• Line Width: This setting allows the user to determine the width of the New Day line.
• Line Style: This setting allows the user to determine the style of the New Day line.
Confirmed market structure buy/sell indicatorOverview
The Swing Point Breakout Indicator with Multi-Timeframe Dashboard is a TradingView tool designed to identify potential buy and sell signals based on swing point breakouts on the primary chart's timeframe while simultaneously providing a snapshot of the market structure across multiple higher timeframes. This dual approach helps traders make informed decisions by aligning short-term signals with broader market trends.
Key Features
Swing Point Breakout Detection
Swing Highs and Lows: Identifies significant peaks and troughs based on a user-defined lookback period.
Breakout Signals:
Bullish Breakout (Buy Signal): Triggered when the price closes above the latest swing high.
Bearish Breakout (Sell Signal): Triggered when the price closes below the latest swing low.
Visual Indicators: Highlights breakout bars with colors (lime for bullish, red for bearish) and plots buy/sell markers on the chart.
Multi-Timeframe Dashboard
Timeframes Monitored: 1m, 5m, 15m, 1h, 4h, 1D, and 1W.
Market Structure Status:
Bullish: Indicates upward market structure.
Bearish: Indicates downward market structure.
Neutral: No clear trend.
Visual Table: Displays each timeframe with its current status, color-coded for quick reference (green for bullish, red for bearish, gray for neutral).
Operational Workflow
Initialization:
Sets up a dashboard table on the chart's top-right corner with headers "Timeframe" and "Status".
Swing Point Detection:
Continuously scans the main timeframe for swing highs and lows using the specified lookback period.
Updates the latest swing high and low levels.
Signal Generation:
Detects when the price breaks above the last swing high (bullish) or below the last swing low (bearish).
Activates potential buy/sell setups and confirms signals based on subsequent price movements.
Dashboard Update:
For each defined higher timeframe, assesses the market structure by checking for breakouts of swing points.
Updates the dashboard with the current status for each timeframe, aiding in trend confirmation.
Visualization:
Colors the bars where breakouts occur.
Plots buy and sell signals directly on the chart for easy identification.
SMC StrategyThis Pine Script strategy is based on Smart Money Concepts (SMC), designed for TradingView. Here's a brief summary of what the script does:
1. Swing High and Low Calculation: It identifies recent swing highs and lows, which are used to define key zones.
2. Equilibrium, Premium, and Discount Zones:
- Equilibrium is the midpoint between the swing high and low.
- Premium Zone is above the equilibrium, indicating a potential resistance area (sell zone).
- Discount Zone is below the equilibrium, indicating a potential support area (buy zone).
3. Simple Moving Average (SMA): It uses a 50-period SMA to determine the trend direction. If the price is above the SMA, the trend is bullish; if it's below, the trend is bearish.
4. Buy and Sell Signals:
- Buy Signal: Generated when the price is in the discount zone and above the equilibrium, with the price also above the SMA.
- Sell Signal: Triggered when the price is in the premium zone and below the equilibrium, with the price also below the SMA.
5. Order Blocks: It detects basic order blocks by identifying the highest high and lowest low within the last 20 bars. These levels help confirm the buy and sell signals.
6. Liquidity Zones: It marks the swing high and low as potential liquidity zones, indicating where price may reverse due to institutional players' activity.
The strategy then executes trades based on these signals, plotting buy and sell markers on the chart and showing the key levels (zones) and trend direction.
Hourly Breakout & Multi-Timeframe High/Low Indicator withDescription:
This indicator combines powerful breakout and multi-timeframe analysis features, allowing traders to visualize key support and resistance levels across various timeframes (daily, weekly, monthly, hourly, and 4-hour highs and lows). It also dynamically colors candles based on hourly breakout conditions, making it easy to spot significant price movements and potential trading signals.
Key Features:
Customizable Multi-Timeframe High/Low Levels:
Displays previous and current high/low levels for daily, weekly, and monthly timeframes, as well as previous hourly and 4-hour highs and lows.
Each timeframe’s high/low lines are color-coded and can be toggled on or off based on user preference.
Hourly Breakout Candle Coloring:
Candle colors change when the hourly close breaks above or below the previous day's high or low, visually indicating important breakout conditions.
User-configurable colors for candles that close above or below these breakout levels make this indicator highly customizable.
Dynamic Line Plotting:
Automatically updates and plots dotted lines for the previous day’s high and low levels, providing consistent visual cues for key support and resistance.
This indicator is ideal for intraday and swing traders who want to keep an eye on important breakout levels and multi-timeframe support and resistance zones, all in one convenient tool. Whether you're trading trends, breakouts, or reversals, this indicator helps enhance decision-making with clear, color-coded signals and adaptable settings.
Watchlist & Symbols Distribution [Daveatt]TLDR;
I got bored so I just coded the TradingView watchlist interface in Pinescript :)
TLDR 2:
Sharing it open-source what took me 1 full day to code - haven't coded in Pinescript in a long time, so I'm a bit slow for now :)
█ OVERVIEW
This script offers a comprehensive market analysis tool inspired by TradingView's native watchlist interface features.
It combines an interactive watchlist with powerful distribution visualization capabilities and a performance comparison panel.
The script was developed with a focus on providing multiple visualization methods while working within PineScript's limitations.
█ DEVELOPMENT BACKGROUND
The pie chart implementation was greatly inspired by the ( "Crypto Map Dashboard" script / )
adapting its circular visualization technique to create dynamic distribution charts. However, due to PineScript's 500-line limitation per script, I had to optimize the code to allow users to switch between pie chart analysis and performance comparison modes rather than displaying both simultaneously.
█ SETUP AND DISPLAY
For optimal visualization, users need to adjust the chart's display settings manually.
This involves:
Expanding the indicator window vertically to accommodate both the watchlist and graphical elements
Adjusting the Y-axis scale by dragging it to ensure proper spacing for the comparison panel grid
Modifying the X-axis scale to achieve the desired time window display
Fine-tuning these adjustments whenever switching between pie chart and comparison panel modes
These manual adjustments are necessary due to PineScript's limitations in controlling chart scaling programmatically. While this requires some initial setup, it allows users to customize the display to their preferred viewing proportions.
█ MAIN FEATURES
Distribution Analysis
The script provides three distinct distribution visualization modes through a pie chart.
Users can analyze their symbols by exchanges, asset types (such as Crypto, Forex, Futures), or market sectors.
If you can't see it well at first, adjust your chart scaling until it's displayed nicely.
Asset Exchanges
www.tradingview.com
Asset Types
Asset Sectors
The pie charts feature an optional 3D effect with adjustable depth and angle parameters. To enhance visual customization, four different color schemes are available: Default, Pastel, Dark, and Neon.
Each segment of the pie chart includes interactive tooltips that can be configured to show different levels of detail. Importantly, the pie chart only visualizes the distribution of selected assets (those marked with a checkmark in the watchlist), providing a focused view of the user's current interests.
Interactive Watchlist
The watchlist component displays real-time data for up to 10 user-defined symbols. Each entry shows current price, price changes (both absolute and percentage), volume metrics, and a comparison toggle.
The table is dynamically updated and features color-coded entries that correspond to their respective performance lines in the comparison chart. The watchlist serves as both an information display and a control panel for the comparison feature.
Performance Comparison
One of the script's most innovative features is its performance comparison panel.
Using polylines for smooth visualization, it tracks the 30-day performance of selected symbols relative to a 0% baseline.
The comparison chart includes a sophisticated grid system with 5% intervals and a dynamic legend showing current performance values.
The polyline implementation allows for fluid, continuous lines that accurately represent price movements, providing a more refined visual experience than traditional line plots. Like the pie charts, the comparison panel only displays performance lines for symbols that have been selected in the watchlist, allowing users to focus on their specific assets of interest.
█ TECHNICAL IMPLEMENTATION
The script utilizes several advanced PineScript features:
Dynamic array management for symbol tracking
Polyline-based charting for smooth performance visualization
Real-time data processing with security calls
Interactive tooltips and labels
Optimized drawing routines to maintain performance
Selective visualization based on user choices
█ CUSTOMIZATION
Users can personalize almost every aspect of the script:
Symbol selection and comparison preferences
Visual theme selection with four distinct color schemes
Pie chart dimensions and positioning
Tooltip information density
Component visibility toggles
█ LIMITATIONS
The primary limitation stems from PineScript's 500-line restriction per script.
This constraint necessitated the implementation of a mode-switching system between pie charts and the comparison panel, as displaying both simultaneously would exceed the line limit. Additionally, the script relies on manual chart scale adjustments, as PineScript doesn't provide direct control over chart scaling when overlay=false is enabled.
However, these limitations led to a more focused and efficient design approach that gives users control over their viewing experience.
█ CONCLUSION
All those tools exist in the native TradingView watchlist interface and they're better than what I just did.
However, now it exists in Pinescript... so I believe it's a win lol :)
Heikin Ashi Buy-Sell Signals [Non-Repainting] @TradingadeThis is a basic indicator that displays Heikin Ashi candles in a simple format. Key features include:
- Unlike most other Heikin Ashi indicators, this one does not repaint, which is crucial when building strategies based on indicators.
- It generates Buy & Sell signals based on consecutive candles of the same color:
BUY Signal: Triggered when there are at least x green candles in a row (adjustable in settings).
SELL Signal: Triggered when there are at least x red candles in a row (also adjustable in settings).
Multiple Signal Option: If activated, the indicator will continue generating signals after the buy or sell condition is met, until a candle of the opposite color appears.
The Buy & Sell signals are shown both in the indicator and on your chart. You can turn them on or off in the style section.
You can set alerts when buy or sell signals are generated.
Trend Continuation RatioThis TradingView indicator calculates the likelihood of consecutive bullish or bearish days over a specified period, giving insights into day-to-day continuation patterns within the market.
How It Works
Period Length Input:
The user sets the period length (e.g., 20 days) to analyze.
After each period, the counts reset, allowing fresh data for each new interval.
Bullish and Bearish Day Definitions:
A day is considered bullish if the closing price is higher than the opening price.
A day is considered bearish if the closing price is lower than the opening price.
Count Tracking:
Within each specified period, the indicator tracks:
Total Bullish Days: The number of days where the close is greater than the open.
Total Bearish Days: The number of days where the close is less than the open.
Bullish to Bullish Continuations: Counts each instance where a bullish day is followed by another bullish day.
Bearish to Bearish Continuations: Counts each instance where a bearish day is followed by another bearish day.
Calculating Continuation Ratios:
The Bullish Continuation Ratio is calculated as the percentage of bullish days that were followed by another bullish day:
Bullish Continuation Ratio = (Bullish to Bullish Continuations /Total Bullish Days)×100
Bullish Continuation Ratio=( Total Bullish Days/Bullish to Bullish Continuations )×100
The Bearish Continuation Ratio is the percentage of bearish days followed by another bearish day:
Bearish Continuation Ratio = (Bearish to Bearish Continuations/Total Bearish Days)×100
Bearish Continuation Ratio=( Total Bearish Days/Bearish to Bearish Continuations )×100
Display on Chart:
The indicator displays a table in the top-right corner of the chart with:
Bullish Continuation Ratio (%): Percentage of bullish days that led to another bullish day within the period.
Bearish Continuation Ratio (%): Percentage of bearish days that led to another bearish day within the period.
Usage Insights
High Ratios: If the bullish or bearish continuation ratio is high, it suggests a trend where bullish/bearish days often lead to similar days, indicating possible momentum.
Low Ratios: Low continuation ratios indicate frequent reversals, which could suggest a range-bound or volatile market.
This indicator is helpful for assessing short-term trend continuation tendencies, allowing traders to gauge whether they are more likely to see follow-through on bullish or bearish days within a chosen timeframe.