Sma Indicator with Ratio (pr)SMA Indicator with Ratio (PR) is a technical analysis tool designed to provide insights into the relationship between multiple Simple Moving Averages (SMAs) across different time frames. This indicator combines three key SMAs: the 111-period SMA, 730-period SMA, and 1400-period SMA. Additionally, it introduces a ratio-based approach, where the 730-period SMA is multiplied by factors of 2, 3, 4, and 5, allowing users to analyze potential market trends and price movements in relation to different SMA levels.
What Does This Indicator Do?
The primary function of this indicator is to track the movement of prices in relation to several SMAs with varying periods. By visualizing these SMAs, users can quickly identify:
Short-term trends (111-period SMA)
Medium-term trends (730-period SMA)
Long-term trends (1400-period SMA)
Additionally, the multiplied versions of the 730-period SMA provide deeper insights into potential price reactions at different levels of market volatility.
How Does It Work?
The 111-period SMA tracks the shorter-term price trend and can be used for identifying quick market movements.
The 730-period SMA represents a longer-term trend, helping users gauge overall market sentiment and direction.
The 1400-period SMA acts as a very long-term trend line, giving users a broad perspective on the market’s movement.
The ratio-based SMAs (2x, 3x, 4x, 5x of the 730-period SMA) allow for an enhanced understanding of how the price reacts to higher or lower volatility levels. These ratios are useful for identifying key support and resistance zones in a dynamic market environment.
Why Use This Indicator?
This indicator is useful for traders and analysts who want to track the interaction of price with different moving averages, enabling them to make more informed decisions about potential trend reversals or continuations. The added ratio-based values enhance the ability to predict how the market might react at different levels.
How to Use It?
Trend Confirmation: Traders can use the indicator to confirm the direction of the market. If the price is above the 111, 730, or 1400-period SMA, it may indicate an uptrend, and if below, a downtrend.
Support/Resistance Levels: The multiplied versions of the 730-period SMA (2x, 3x, 4x, 5x) can be used as dynamic support or resistance levels. When the price approaches or crosses these levels, it might indicate a change in the trend.
Volatility Insights: By observing how the price behaves relative to these SMAs, traders can gauge market volatility. Higher multiples of the 730-period SMA can signal more volatile periods where price movements are more pronounced.
Penunjuk dan strategi
Price Step Channel [BigBeluga]Price Step Channel is designed to provide a structured look at price trends through a dynamic step line channel, highlighting trend direction and volatility boundaries.
🔵 Key Features:
Step Line with Boundaries: The central step line adjusts with price movements, creating upper and lower boundaries based on price volatility. The channel is green during uptrends and red during downtrends, visually signaling the trend’s direction.
Fakeout Markers: "✖" markers identify potential fakeouts—moments when the price breaches the channel boundary without confirming a trend change. These markers help you spot possible mean reversion points.
Dynamic Boundary Labels: Labels at the end of the channel show the price levels of the upper and lower boundaries. In uptrends, the upper label turns green; in downtrends, the lower label turns red, providing an instant read on the trend's direction.
Customizable Display: You can toggle off the boundaries and labels for a cleaner view, focusing only on the step line and its color-coded trend signals.
🔵 When to Use:
Price Step Channel is ideal for traders looking to follow structured trends with defined volatility boundaries. The step line and color-coded channel provide clear trend insights, while the fakeout markers and customizable display options enhance flexibility in different market conditions. Whether you’re focusing on clean trend signals or detailed boundary interactions, this tool adapts to your style.
Excess Liquidity IndicatorExcess Liquidity Indicator
This script visualizes excess liquidity trends in relation to risk assets. It estimates excess liquidity by combining various macroeconomic factors such as WW M2 money supply, central bank balance sheets, and interest rates, oil, and the dollar index, and it substracts WW GDP. The tool helps traders analyze liquidity-driven market trends in a structured manner.
Note: This script is for research purposes only and does not provide financial advice.
I cannot point names cause I get banned but work is inspired by others...
Fibonacci Volume Profiles [AlgoAlpha]Unlock a deeper understanding of price action with the Fibonacci Volume Profiles indicator by AlgoAlpha! This powerful tool blends Fibonacci retracement levels with customizable volume profiles, helping traders identify high-probability areas of support, resistance, and accumulation. Designed for both continuous dynamic levels and custom time periods, this indicator is a must-have for traders seeking confluence in market structure analysis.
🔑 Key Features
📈 Dual Mode Selection : Choose between Continuous Fibonacci levels, which adapt dynamically to pivots, or a Custom Period mode, where you set your own start and end points.
📊 Integrated Volume Profile : Visualize volume distributions at key Fibonacci retracement levels, revealing areas of strong buying/selling interest.
🎨 Customizable Colors & Transparency : Adjust Fibonacci level colors, fill zones, and profile transparency for a visually clear experience.
🔍 Profile Resolution & Scaling : Control the number of price levels and width of the volume profile for detailed market insights.
🛠 Extendable Levels : Optionally extend Fibonacci levels to the right of the chart for better visualization of future price interaction.
📌 How to Use
Add the Indicator: Click on the star icon to add it to your favorites and apply it to your TradingView chart.
Analyze The Market: Observe how price interacts with Fibonacci levels alongside the volume profile to confirm support/resistance zones. Switch between custom range or continuous mode to align the tool with your trading style.
⚙️ How It Works
The indicator calculates pivot highs/lows dynamically (or uses user-defined time periods) to plot Fibonacci retracement levels. It then builds a volume profile by analyzing historical volume data, grouping it into price bins to highlight volume-heavy zones. The Point of Control (PoC) is identified as the level with the highest traded volume, acting as a key price magnet. The color-coded Fibonacci levels help traders spot retracement zones, while the volume profile confirms strength or weakness in those areas.
Volume Delta with PVSRAVolume Delta with PVSRA
Volume Delta with PVSRA is an advanced volume indicator that dissects each bar’s volume into its directional components using higher resolution data. It visually distinguishes between buying and selling volume, so that for a bullish candle the bottom portion represents buying volume and for a bearish candle it represents selling volume. A dot is plotted at the 50% mark of the candle’s total volume, serving as a clear reference point.
Key Features:
Directional Volume Breakdown:
The indicator calculates the delta volume by analyzing lower timeframe data. The bottom portion of a bullish candle (displayed in green) represents buying volume, while that of a bearish candle (displayed in red) represents selling volume.
PVSRA Analysis:
Using Price-Volume Spread Range Analysis, the indicator compares the current volume to the 10-bar average. When volume is significantly higher (using thresholds of 150% and 200%), the candle borders are highlighted in custom colors, indicating medium or strong volume conditions.
Volume Moving Averages:
Three moving averages are plotted:
Total Volume MA (yellow): Tracks overall volume.
Buying Volume MA (green) and Selling Volume MA (red): These are re-centered around the total volume MA. A crossover of the green over the red typically signals rising buying pressure, while the opposite indicates increasing selling pressure.
Scalable Volume Bars:
The indicator scales the volume bars to provide optimal visualization on your chart.
Setup Instructions:
For best results, open your chart settings, navigate to the Canvas tab, and set the bottom margin to 0%. This ensures the indicator displays like a standard volume indicator without any unwanted gaps at the bottom.
Customize the various settings—including colors, border opacity, and moving average parameters—to suit your trading style.
Moving Average Crossover StrategyCertainly! Below is an example of a professional trading strategy implemented in Pine Script for TradingView. This strategy is a simple moving average crossover strategy, which is a common approach used by many traders. It uses two moving averages (a short-term and a long-term) to generate buy and sell signals.
Input Parameters:
shortLength: The length of the short-term moving average.
longLength: The length of the long-term moving average.
Moving Averages:
shortMA: The short-term simple moving average (SMA).
longMA: The long-term simple moving average (SMA).
Conditions:
longCondition: A buy signal is generated when the short-term MA crosses above the long-term MA.
shortCondition: A sell signal is generated when the short-term MA crosses below the long-term MA.
Trade Execution:
The strategy enters a long position when the longCondition is met.
The strategy enters a short position when the shortCondition is met.
Plotting:
The moving averages are plotted on the chart.
Buy and sell signals are plotted as labels on the chart.
How to Use:
Copy the script into TradingView's Pine Script editor.
Adjust the shortLength and longLength parameters to fit your trading style.
Add the script to your chart and apply it to your desired timeframe.
Backtest the strategy to see how it performs on historical data.
This is a basic example, and professional traders often enhance such strategies with additional filters, risk management rules, and other indicators to improve performance.
3-1 Setup Detector (Multi-Timeframe)📌 3-1 Setup Detector (Multi-Timeframe) – Description
The 3-1 Setup Detector (Multi-Timeframe) is a powerful price action indicator designed for The Strat trading method. It automatically detects 3-1 setups, where an outside bar (3) is followed by an inside bar (1), signaling potential breakout opportunities.
🔥 Key Features:
✅ Multi-Timeframe Support – Works on 1H, 2H, 3H, 4H, 6H, 12H, Daily, 2D, 3D, Weekly, 2W, 3W, Monthly, Quarterly
✅ Real-Time Alerts – Get notified when a 3-1 setup forms
✅ Easy Visualization – Plots markers on the chart for quick recognition
✅ Customizable Timeframe – Select a specific higher timeframe for confirmation
📊 How It Works:
Identifies an outside bar (3), where the high is higher and the low is lower than the previous bar.
Detects an inside bar (1), where the high is lower and the low is higher than the previous bar.
If a 3-1 sequence occurs, the indicator marks the setup on the chart and triggers an alert.
🎯 Trading Applications:
Breakout Strategy: Trade breakouts when the 3-1 setup forms near key levels.
Reversal Signals: Use in combination with support/resistance for confirmation.
Multi-Timeframe Analysis: Detect setups on higher timeframes while trading lower ones.
🚀 Perfect for traders who use The Strat method and want real-time, high-probability trade setups across multiple timeframes!
Multiple Candlestick Patterns - AlgomaxxA comprehensive candlestick pattern detection indicator that identifies seven major Japanese candlestick patterns in real-time. This indicator helps traders identify potential reversal and continuation patterns with customizable visual alerts and labels.
Features
Detects 7 major candlestick patterns:
Doji
Hammer
Shooting Star
Bullish Engulfing
Bearish Engulfing
Morning Star
Evening Star
Color-coded candlesticks for easy pattern identification
Customizable pattern indicators above/below candles
Optional pattern labels with adjustable position
Alert conditions for each pattern
Grouped settings for easy customization
Settings
General Settings
Lookback Period: Number of candles to analyze (default: 20)
Body Size Threshold: Minimum relative size for candle body (default: 0.6)
Pattern Settings
Toggle visibility for each pattern type:
Doji Pattern
Hammer Pattern
Shooting Star Pattern
Bullish Engulfing Pattern
Bearish Engulfing Pattern
Morning Star Pattern
Evening Star Pattern
Label Settings
Show Labels: Toggle pattern labels on/off
Label Text Color: Customize label color
Label Position: Choose between Left/Center/Right alignment
Label Offset: Adjust distance of labels from candles
Pattern Descriptions
Doji: Shows indecision when open and close prices are very close
Yellow color
Cross symbol below candle
Hammer: Potential bullish reversal with long lower shadow
Green color
Triangle up symbol below candle
Shooting Star: Potential bearish reversal with long upper shadow
Red color
Triangle down symbol above candle
Bullish Engulfing: Bullish reversal pattern where current green candle completely engulfs previous red candle
Light green color
Triangle up symbol below candle
Bearish Engulfing: Bearish reversal pattern where current red candle completely engulfs previous green candle
Light red color
Triangle down symbol above candle
Morning Star: Three-candle bullish reversal pattern
Seafoam green color
Triangle up symbol below candle
Evening Star: Three-candle bearish reversal pattern
Pink red color
Triangle down symbol above candle
How to Use
Add the indicator to your chart
Customize the settings based on your preferences:
Enable/disable specific patterns you want to monitor
Adjust label settings for better visibility
Set up alerts for patterns you want to be notified about
Pattern Recognition:
Watch for color changes in candlesticks indicating pattern formation
Look for shape indicators above/below candles
Read pattern labels for quick pattern identification
Trading Suggestions:
Use in conjunction with other technical indicators
Consider overall trend and support/resistance levels
Confirm patterns with volume and price action
Wait for pattern completion before making trading decisions
Tips
Patterns work best when used with multiple timeframes
Combine with trend lines and support/resistance levels
Use volume to confirm pattern strength
Consider market context and overall trend
Larger timeframes typically produce more reliable signals
Use alerts to avoid missing important pattern formations
Disclaimer
This indicator is for informational and educational purposes only. No guarantee is made regarding the accuracy of pattern detection or potential future price movements. Always use proper risk management and consider multiple factors before making trading decisions.
CMP vs ATH PercentageThis indicator helps traders and investors track how the current market price (CMP) compares to the all-time high (ATH) price of an asset. It calculates the percentage difference between the CMP and ATH and displays it visually on the chart. A label is placed on the latest bar, showing key information like:
ATH (All-Time High Price)
CMP (Current Market Price)
Percentage Comparison (CMP as a percentage of ATH)
Additionally, the indicator plots a horizontal line at the ATH level to provide a clear visual reference for the price history.
Use Cases:
Identify price levels relative to historical highs.
Gauge whether the price is nearing or far from its ATH.
Quickly assess how much the price has recovered or declined from the ATH.
Customization:
You can modify the label's style, color, or text formatting according to your preferences. This indicator is useful for long-term analysis, especially when tracking stocks, indices, or other financial instruments on a weekly timeframe.
Note:
This indicator is designed to work on higher timeframes (e.g., daily or weekly) where ATH levels are more meaningful.
Engulfing Pattern with Volume and EMAs
**Strategy Overview:
This strategy combines price action (Engulfing patterns), volume analysis, trend confirmation (EMAs), and noise reduction (ATR filter) to generate high-probability trading signals.
Engulfing Pattern with Volume, EMAs, and Market Noise Filter**
This strategy identifies bullish and bearish Engulfing candlestick patterns, combined with volume analysis, moving averages (EMAs), and a market noise filter to generate trading signals.
**Key Components:**
1. **Engulfing Pattern Detection:**
- **Bullish Engulfing**: A green candle completely engulfs the previous red candle.
- **Bearish Engulfing**: A red candle completely engulfs the previous green candle.
2. **Volume Filter:**
- Signals are validated only if the current volume is higher than the 20-period Simple Moving Average (SMA) of volume.
3. **EMA Indicators:**
- Three EMAs are plotted: 50-period (blue), 89-period (orange), and 200-period (red).
- These EMAs help identify the trend direction and provide additional confirmation.
4. **Market Noise Filter:**
- Uses the Average True Range (ATR) to filter out insignificant price movements.
- A signal is considered valid only if the price movement (absolute difference between open and close) is greater than 0.5 times the 14-period ATR.
**Trading Signals:**
**Buy Signal**:
- Bullish Engulfing pattern + High volume (above SMA 20) + Significant price movement (filtered by ATR).
- Plotted as a green "BUY" label below the candle.
**Sell Signal**:
- Bearish Engulfing pattern + High volume (above SMA 20) + Significant price movement (filtered by ATR).
- Plotted as a red "SELL" label above the candle.
**Customization:**
- Users can adjust EMA lengths, volume SMA period, and ATR multiplier to suit their trading preferences.
Candlesticks Not Touching EMA 3 & EMA 5 ScannerCandlesticks Not Touching EMA 3 & EMA 5 Scanner
Short Title: EMA Scanner
Overview
This indicator scans for candlesticks that do not touch the EMA 3 and EMA 5, highlighting potential trading opportunities where price action is significantly distanced from these moving averages. It identifies momentum-based entries and helps traders spot strong trends.
How It Works
It checks if the candle's high and low are completely above or below both EMAs (3 & 5).
It ensures that the distance between the candle and EMA 5 is at least a user-defined multiple of the candle range.
When a valid candle is detected, a triangle marker appears below (for long trades) or above (for short trades).
Trade Execution Strategy
Entry:
Long Entry → Break of the candle’s high
Short Entry → Break of the candle’s low
Stop Loss:
Long SL → Low of the same candle
Short SL → High of the same candle
Target: EMA 5
Additional Features
✅ Plots EMA 3 (Blue) and EMA 5 (Red) for reference
✅ Marks potential long and short trades with arrows
✅ Detects & plots when Target or Stop Loss is hit
✅ Alerts for valid signals, target hits, and stop loss hits
Best Use Cases
🔹 Suitable for intraday & swing traders looking for momentum-based trades
🔹 Works well in trending markets
🔹 Helps identify mean-reversion & breakout opportunities
🚀 Use this indicator to refine your trading setups & boost your market edge! 🚀
Ethereum COT [SAKANE]#Overview
Ethereum COT is an indicator that visualizes Ethereum futures market positions based on the Commitment of Traders (COT) report provided by the CFTC (Commodity Futures Trading Commission).
This indicator stands out from similar tools with the following features:
- **Flexible Data Switching**: Supports multiple COT report types, including "Financial," "Legacy," "OpenInterest," and "Force All."
- **Position Direction Selection**: Easily switch between long, short, and net positions. Net positions are automatically calculated.
- **Open Interest Integration**: View the overall trading volume in the market at a glance.
- **Comparison and Customization**: Toggle individual trader types (Dealer, Asset Manager, Commercials, etc.) on and off, with visually distinct color-coded graphs.
- **Force All Mode**: Simultaneously display data from different report types, enabling comprehensive market analysis.
These features make it a powerful tool for both beginners and advanced traders to deeply analyze the Ethereum futures market.
#Use Cases
1. **Analyzing Trader Sentiment**
- Compare net positions of various trader types (Dealer, Asset Manager, Commercials, etc.) to understand market sentiment.
2. **Identifying Trend Reversals**
- Detect early signs of trend reversals from sudden increases or decreases in long and short positions.
3. **Utilizing Open Interest**
- Monitor the overall trading volume represented by open interest to evaluate entry points or changes in volatility.
4. **Tracking Position Structures**
- Compare positions of leveraged funds and asset managers to analyze risk-on or risk-off environments.
#Key Features
1. **Report Type Selection**
- Financial (Financial Traders)
- Legacy (Legacy Report)
- Open Interest
- Force All (Display all data)
2. **Position Direction Selection**
- Long
- Short
- Net
3. **Visualization of Major Trader Types**
- Financial Traders: Dealer, Asset Manager, Leveraged Funds, Other Reportable
- Legacy: Commercials, Non-Commercials, Small Speculators
4. **Open Interest Visualization**
- Monitor the total open positions in the market.
5. **Flexible Customization**
- Toggle individual trader types on and off.
- Intuitive settings with tooltips for better usability.
#How to Use
1. Add the indicator to your chart and click the settings icon in the top-right corner.
2. Select the desired report type in the "Report Type" field.
3. Choose the position direction (Long/Short/Net) in the "Direction" field.
4. Toggle the visibility of trader types as needed.
#Notes
- Data is provided by the CFTC and is updated weekly. It is not real-time.
- Changes to the settings may take a few seconds to reflect.
Key Levels Theory with Boxes v3Key Levels Theory with Boxes
This script helps traders visualize important price levels and mark them with lines and boxes on a chart. The lines represent key whole number levels, and the boxes give you a visual reference to see how price interacts with these levels. This tool can be used to track support/resistance areas and anticipate price movement based on round numbers.
Key Functions:
Lines:
The script draws horizontal lines at key price levels (e.g., 2850, 2855, 2860, etc.) starting from a defined "start level."
The lines are dashed by default and their appearance can be customized (color, style, width).
Boxes:
For each level, a box is drawn above and below the line.
The size of the box is fixed (1.5 units above and below the level) and it can be customized to any other interval.
The box is filled with a green color by default, with 5% opacity, so it doesn’t overpower the chart but still provides a visual reference.
Customizable Inputs:
Start Level: The starting price level from which all other levels will be calculated (e.g., 2850).
Number of Levels: How many levels of lines and boxes you want to display (e.g., 6 levels).
Box Interval: The distance above and below each level to define the size of the boxes (default is 1.5).
Line Style: The appearance of the lines (solid, dotted, or dashed).
Line Color: The color of the lines (default is white).
Line Width: The width of the lines (default is set to 0 for a cleaner look).
Box Color: The color of the boxes (default is green with 5% opacity).
What Does It Do?
Visualizes price levels: The script plots key price levels and helps traders easily identify where price is currently at, relative to whole number levels.
Marks support/resistance: These levels often act as psychological price points, making them useful for spotting potential support or resistance.
Helps with trade decisions: By seeing how the price behaves around these key levels, traders can make more informed decisions about entering or exiting positions.
EMA CROSS v1.0 by ScorpioneroIndicator Description: Multi-Timeframe SMA Table & Plot
This indicator displays a structured table of Simple Moving Averages (SMA) across multiple timeframes and plots them directly on the chart for better trend analysis.
Features:
✅ Multi-Timeframe SMA Calculation: Computes SMAs for different periods (10, 60, and 223) across six timeframes (1m, 3m, 5m, 15m, 30m, 60m).
✅ Sorted SMA Table: Displays a table in the bottom-right corner of the chart, showing the three SMAs per timeframe, sorted in descending order.
✅ Color-Coded Cells: Each SMA is highlighted with a specific color:
🟡 Yellow → 10-period SMA
🔵 Blue → 60-period SMA
🟣 Purple → 223-period SMA
⚪ Gray → Other values
✅ SMA Plotting on the Chart: All calculated SMAs are plotted directly on the price chart, allowing users to visualize their interaction with price movements.
How to Use:
The table provides a quick overview of SMA rankings across timeframes, helping identify bullish or bearish trends.
The SMA plots on the chart can be used for dynamic support/resistance analysis and trend confirmation.
This indicator is ideal for traders who rely on multi-timeframe trend analysis to make informed trading decisions! 🚀
by Scorpionero
Triad Trade MatrixOverview
Triad Trade Matrix is an advanced multi-strategy indicator built using Pine Script v5. It is designed to simultaneously track and display key trading metrics for three distinct trading styles on a single chart:
Swing Trading (Swing Supreme):
This mode captures longer-term trends and is designed for trades that typically span several days. It uses customizable depth and deviation parameters to determine swing signals.
Day Trading (Day Blaze):
This mode focuses on intraday price movements. It generates signals that are intended to be executed within a single trading session. The parameters for depth and deviation are tuned to capture more frequent, shorter-term moves.
Scalping (Scalp Surge):
This mode is designed for very short-term trades where quick entries and exits are key. It uses more sensitive parameters to detect rapid price movements suitable for scalping strategies.
Each trading style is represented by its own merged table that displays real-time metrics. The tables update automatically as new trading signals are generated.
Key Features
Multi-Style Tracking:
Swing Supreme (Large): For swing trading; uses a purple theme.
Day Blaze (Medium): For day trading; uses an orange theme.
Scalp Surge (Small): For scalping; uses a green theme.
Real-Time Metrics:
Each table displays key trade metrics including:
Entry Price: The price at which the trade was entered.
Exit Price: The price at which the previous trade was exited.
Position Size: Calculated as the account size divided by the entry price.
Direction: Indicates whether the trade is “Up” (long) or “Down” (short).
Time: The time when the trade was executed (formatted to hours and minutes).
Wins/Losses: The cumulative number of winning and losing trades.
Current Price & PnL: The current price on the chart and the profit/loss computed relative to the entry price.
Duration: The number of bars that the trade has been open.
History Column: A merged summary column that shows the most recent trade’s details (entry, exit, and result).
Customizability:
Column Visibility: Users can toggle individual columns (Ticker, Timeframe, Entry, Exit, etc.) on or off according to their preference.
Appearance Settings: You can customize the table border width, frame color, header background, and text colors.
History Toggle: The merged history column can be enabled or disabled.
Chart Markers: There is an option to show or hide chart markers (labels and lines) that indicate trade entries and exits on the chart.
Trade History Management:
The indicator maintains a rolling history (up to three recent trades per trading style) and displays the latest summary in the merged table.
This history column provides a quick reference to recent performance.
How It Works
Signal Generation & Trade Metrics
Trade Entry/Exit Calculation:
For each trading style, the indicator uses built-in functions (such as ta.lowestbars and ta.highestbars) to analyze price movements. Based on a customizable "depth" and "deviation" parameter, it determines the point of entry for a trade.
Swing Supreme: Uses larger depth/deviation values to capture swing trends.
Day Blaze: Uses intermediate values for intraday moves.
Scalp Surge: Uses tighter parameters to pick up rapid price changes.
Metrics Update:
When a new trade signal is generated (i.e., when the trade entry price is updated), the indicator calculates:
The current PnL as the difference between the current price and the entry price (or vice versa, depending on the trade direction).
The duration as the number of bars since the trade was opened.
The position size using the formula: accountSize / entryPrice.
History Recording:
Each time a new trade is triggered (i.e., when the entry price is updated), a summary string is created (showing entry, exit, and win/loss status) and appended to the corresponding trade history array. The merged table then displays the latest summary from this history.
Table Display
Merged Table Structure:
Each trading style (Swing Supreme, Day Blaze, and Scalp Surge) is represented by a table that has 15 columns. The columns are:
Trade Type (e.g., Swing Supreme)
Ticker
Timeframe
Entry Price
Exit Price
Position Size
Direction
Time of Entry
Account Size
Wins
Losses
Current Price
Current PnL
Duration (in bars)
History (the latest trade summary)
User Customization:
Through the settings panel, users can choose which columns to display.
If a column is toggled off, its cells will remain blank, allowing traders to focus on the metrics that matter most to them.
Appearance & Themes:
The table headers and cell backgrounds are customizable via color inputs. The trading style names are color-coded:
Swing Supreme (Large): Uses a purple theme.
Day Blaze (Medium): Uses an orange theme.
Scalp Surge (Small): Uses a green theme.
How to Use the Indicator
Add the Indicator to Your Chart:
Once published, add "Triad Trade Matrix" to your TradingView chart.
Configure the Settings:
Adjust the Account Size to match your trading capital.
Use the Depth and Deviation inputs for each trading style to fine-tune the signal sensitivity.
Toggle the Chart Markers on if you want visual entry/exit markers on the chart.
Customize which columns are visible via the column visibility toggles.
Enable or disable the History Column to show the merged trade history in the table.
Adjust the appearance settings (colors, border width, etc.) to suit your chart background and preferences.
Interpret the Tables:
Swing Supreme:
This table shows metrics for swing trades.
Look for changes in entry price, PnL, and trade duration to monitor longer-term moves.
Day Blaze:
This table tracks day trading activity.It will update more frequently, reflecting intraday trends.
Scalp Surge:
This table is dedicated to scalping signals.Use it to see quick entry/exit data and rapid profit/loss changes.
The History column (if enabled) gives you a snapshot of the most recent trade (e.g., "E:123.45 X:124.00 Up Win").
Use allerts:
The indicator includes alert condition for new trade entries(both long and short)for each trading style.
Summary:
Triad Trade Matrix provides an robust,multi-dimensional view of your trading performance across swing trading, day trading, and scalping.
Best to be used whith my other indicators
True low high
Vma Ext_Adv_CustomTbl
This indicator is ideal for traders who wish to monitor multiple trading styles simultaneously, with a clear, technical, and real-time display of performance metrics.
Happy Trading!
Ultimate Volatility Scanner by NHBprod - Requested by Client!Hey Everyone!
I created another script to add to my growing library of strategies and indicators that I use for automated crypto and stock trading! This strategy is for BITCOIN but can be used on any stock or crypto. This was requested by a client so I thought I should create it and hopefully build off of it and build variants!
This script gets and compares the 14-day volatility using the ATR percentage for a list of cryptocurrencies and stocks. Cryptocurrencies are preloaded into the script, and the script will show you the TOP 5 coins in terms of volatility, and then compares it to the Bitcoin volatility as a reference. It updates these values once per day using daily timeframe data from TradingView. The coins are then sorted in descending order by their volatility.
If you don't want to use the preloaded set of coins, you have the option of inputting your own coins AND/OR stocks!
Let me know your thoughts.
Daily Time TheoryDaily Time Theory Indicator
The Daily Time Theory indicator is a versatile tool designed exclusively for daily charts. It dynamically colors daily candles according to the day of the week using customizable colors, making it easy to visually distinguish between Monday through Friday. In addition, it provides the option to display horizontal lines for key price levels (Open, High, Low, and Close) for each day. These lines extend into the future for a user-defined number of weeks, giving traders a clear view of historical support and resistance levels.
Key Features:
Day-Based Candle Coloring:
Each weekday’s candles are automatically colored based on user-defined color settings (e.g. blue for Monday, green for Tuesday, etc.), enhancing chart clarity and enabling quick visual analysis of daily patterns.
Customizable Price Level Lines:
Traders can toggle on or off the display of the Open, High, Low, and Close price levels for each day. This allows you to focus on the specific data points that are most relevant to your trading strategy.
Extended Projections:
The indicator lets you extend the drawn price level lines for multiple weeks. This feature provides insight into historical price levels and helps identify potential support and resistance areas.
Tiny Labels for Clarity:
Each line drawn comes with a small, unobtrusive label at its far right that clearly indicates whether the line represents the Open, High, Low, or Close. This ensures that you always know which price level is being highlighted without cluttering the chart.
User-Friendly Input Grouping:
The inputs are neatly organized into groups by day, making it simple to adjust colors and toggle settings for each weekday independently.
How It Works:
The indicator automatically detects the current day on a daily chart and assigns a corresponding color to the candles.
It stores each day’s Open, High, Low, and Close values using persistent variables so that historical price levels remain visible.
When toggled on, horizontal lines representing the selected price levels are drawn across the chart. A tiny label is attached to the end of each line, indicating the type of price level.
The extended lines allow you to see how historical daily price levels may act as support or resistance in the future.
Usage Recommendations:
This indicator is best used on daily timeframes for markets with regular trading sessions. It is ideal for traders who wish to analyze intra-week price behavior, identify recurring support and resistance levels, and incorporate daily price structure into their trading strategy.
ORB with 100 EMAORB Trading Strategy for FX Pairs on the 30-Minute Time Frame
Overview
This Opening Range Breakout (ORB) strategy is designed for trading FX pairs on the 30-minute time frame. The strategy is structured to take advantage of price momentum while aligning trades with the overall trend using the 100-period Exponential Moving Average (100EMA). The primary objective is to enter trades when price breaks and closes above or below the Opening Range (OR), with additional confirmation from a retest of the OR level if the initial entry is missed.
Strategy Rules
1. Defining the Opening Range (OR)
- The OR is determined by the high and low of the first 30-minute candle after market open.
- This range acts as the key level for breakout trading.
2. Trend Confirmation Using the 100EMA
- The 100EMA serves as a filter to determine trade direction:
- Buy Setup: Only take buy trades when the OR is above the 100EMA.
- Sell Setup: Only take sell trades when the OR is below the 100EMA.
3. Entry Criteria
- Buy Trade: Enter a long position when a candle breaks and closes above the OR high, confirming the breakout.
- Sell Trade: Enter a short position when a candle breaks and closes below the OR low, confirming the breakout.
- Retest Entry: If the initial entry is missed, wait for a price retest of the OR level for a secondary entry opportunity.
4. Risk-to-Reward Ratio (R2R)
- The goal is to target a 1:1 Risk-to-Reward (R2R) ratio.
- Stop-loss placement:
- Buy Trade: Place stop-loss just below the OR low.
- Sell Trade: Place stop-loss just above the OR high.
- Take profit at a distance equal to the stop-loss for a 1:1 R2R.
5. Risk Management
- Risk per trade should be based on personal risk tolerance.
- Adjust lot sizes accordingly to maintain a controlled risk percentage of account balance.
- Avoid over-leveraging, and consider moving stop-loss to breakeven if the price moves favourably.
Additional Considerations
- Avoid trading during major news events that may cause high volatility and unpredictable price movements.
- Monitor market conditions to ensure breakout confirmation with strong momentum rather than false breakouts.
- Use additional confluences such as candlestick patterns, support/resistance zones, or volume analysis for stronger trade validation.
This ORB strategy is designed to provide structured trade opportunities by combining breakout momentum with trend confirmation via the 100EMA. The strategy is straightforward, allowing traders to capitalise on clear breakout movements while implementing effective risk management practices. While the 1:1 R2R target provides a balanced approach, traders should always adapt their risk tolerance and market conditions to optimise trade performance.
By following these rules and maintaining discipline, traders can use this strategy effectively across various FX pairs on the 30-minute time frame.
Industry Indices ComparisonA dynamic industry sector performance comparison indicator that helps traders and investors track relative strength across different market sectors in real-time.
- Compares up to 5 industry sector ETFs against a benchmark index (default: SPY)
- Displays key metrics including:
* Performance % over selected timeframe
* Relative performance vs benchmark
* Trend direction (▲ up, ▼ down, − neutral)
* Volume in millions (M) of shares traded
- Configurable timeframes: 1D, 1W, 1M, and 3M comparisons
- Color-coded performance indicators (green for outperformance, red for underperformance)
- Customizable table position and text size for optimal chart placement
The indicator helps identify:
1. Sector rotation patterns through relative performance
2. Leading and lagging sectors vs the broader market
3. Volume trends across different sectors
For traders, if you are considering two equally good setups, then choosing the setup belonging to a currently strong sector could be beneficial.
The Commitment of Traders (COT) IndexThe COT Index indicator is used to measure the positioning of different market participants (Large Traders, Small Traders, and Commercial Hedgers) relative to their historical positioning over a specified lookback period. It helps traders identify extreme positioning, which can signal potential reversals or trend continuations.
Key Features of the Indicator:
COT Data Retrieval
The script pulls COT report data from the TradingView COT Library TradingView/LibraryCOT/3).
It retrieves long and short positions for three key groups:
Large Traders (Non-commercial positions) – Speculators such as hedge funds.
Small Traders (Non-reportable positions) – Small retail traders.
Commercial Hedgers (Commercial positions) – Institutions that hedge real-world positions.
Threshold Zones for Extreme Positioning:
Upper Zone Threshold (Default: 90%)
Signals potential overbought conditions (excessive buying).
Lower Zone Threshold (Default: 10%)
Signals potential oversold conditions (excessive selling).
The indicator plots these zones using horizontal lines.
The COT Index should be used in conjunction with technical analysis (support/resistance, trends, etc.). A high COT Index does not mean the market will reverse immediately—it’s an indication of extreme sentiment.
Note:
If the script does not recognize or can't find the ticker currently viewed in the COT report, the COT indicator will default to U.S. Dollar.
Fixed Range LevelsThis indicator draws horizontal price levels on your chart based on a starting price and a range size that you define. It can also draw midpoint lines between the main levels if enabled.
Here's a breakdown of its functionality:
Key Features:
Starting Price:
You define a starting price (e.g., 21630).
The indicator calculates a corrected base price by rounding the starting price to the nearest multiple of the range size.
Range Size:
You define a range size (e.g., 71).
The indicator draws horizontal lines at intervals of the range size above and below the corrected base price.
Dual Ranges:
You can define two range sizes (e.g., 71 and 29).
The indicator can draw levels for both ranges simultaneously or individually, depending on your settings.
Midpoint Lines:
If enabled, the indicator draws midpoint lines between the main levels.
For example, if the main levels are at 21584 and 21655, the midpoint line will be at 21619.5.
Customizable Styles:
You can customize the line style (solid, dotted, dashed) and color for both the main levels and midpoint lines.
Dynamic Levels:
The levels are recalculated and redrawn dynamically based on the starting price and range size.
How It Works:
Corrected Base Price Calculation:
The indicator calculates the corrected base price using the formula:
pinescript
Copy
correctedBasePrice = math.floor(startingPrice / rangeSize) * rangeSize
For example, if startingPrice = 21630 and rangeSize = 71:
Copy
correctedBasePrice = math.floor(21630 / 71) * 71 = 304 * 71 = 21584
Drawing Levels:
The indicator draws horizontal lines at intervals of the range size above and below the corrected base price.
For example, if rangeSize = 71 and maxLevels = 5, the levels will be drawn at:
Copy
21584 - (5 * 71) = 21249
21584 - (4 * 71) = 21320
...
21584 + (5 * 71) = 21939
Midpoint Lines:
If enabled, the indicator draws midpoint lines between the main levels.
For example, if the main levels are at 21584 and 21655, the midpoint line will be at:
Copy
(21584 + 21655) / 2 = 21619.5
Dual Ranges:
If you enable both ranges, the indicator will draw levels for both range sizes simultaneously.
For example, if rangeSize1 = 71 and rangeSize2 = 29, the indicator will draw two sets of levels:
Levels at intervals of 71 (e.g., 21584, 21655, 21726, ...).
Levels at intervals of 29 (e.g., 21634, 21663, 21692, ...).
Example Use Case:
Imagine you're trading a stock or cryptocurrency, and you want to identify key support and resistance levels based on a specific price range. Here's how you can use this indicator:
Set the Starting Price:
For example, if the current price is 21630, you can set this as the starting price.
Define the Range Size:
If you believe the price moves in increments of 71, set rangeSize1 = 71.
If you also want to track smaller increments of 29, set rangeSize2 = 29.
Enable Midpoint Lines:
If you want to see the midpoint between the main levels, enable Show Midpoint Line.
Customize Line Styles:
Choose different colors and styles for the main levels and midpoint lines to make them visually distinct.
Analyze the Chart:
The indicator will draw horizontal lines at the specified intervals, helping you identify potential support, resistance, and midpoint levels.
Why Is This Useful?
Support and Resistance Levels:
The horizontal lines act as dynamic support and resistance levels based on the range size you define.
Price Targets:
You can use the levels to identify potential price targets or areas where the price might reverse.
Midpoint Analysis:
The midpoint lines can help you identify areas of consolidation or potential breakout points.
Flexibility:
You can customize the range sizes, colors, and styles to suit your trading strategy.
Summary:
This indicator is a powerful tool for traders who want to visualize price levels and midpoints based on a specific range size. It helps you identify key levels for support, resistance, and potential price targets, making it easier to plan your trades.
Shifted Buy PressureDifferentiated Buy Pressure Indicator Documentation
Overview: The Differentiated Buy Pressure indicator is a custom Pine Script™ indicator designed to measure and visualize buy and sell pressure in the market. It calculates buy pressure based on a combination of volume, range, and gap, and provides a differentiated buy pressure which is shifted by 90°, offering predictive insights.
Inputs:
Window Size: The window size for average calculation (default: 20).
Show Overlay: Option to show the price overlay (default: false).
Overlay Boost Factor: Boosting factor for overlaying the price (default: 0.01).
Calculations:
Relative Range: Calculated as (high - low) / close.
Average Range: Simple moving average of the relative range over the specified window.
Average Volume: Simple moving average of the volume over the specified window.
Relative Gap: Calculated as open / close .
Average Gap: Simple moving average of the relative gap over the specified window.
Buy Pressure: Calculated using the formula: buy_pressure = -math.log(relative_range / avg_range * volume / avg_volume * relative_gap / avg_gap)
Differentiated Buy Pressure: Calculated as the difference between the current and previous buy pressure: diff_buy_pressure = buy_pressure - buy_pressure
Plots:
Zero Line: A horizontal line at zero for reference.
Buy Pressure: Plotted in blue, representing the calculated buy pressure.
Differentiated Buy Pressure: Plotted in red, representing the differentiated buy pressure.
Overlay: Optionally plots the price overlay boosted by the differentiated buy pressure.
Labels:
Labels are created to display the buy pressure and differentiated buy pressure values on the chart.
Usage: This indicator helps traders visualize the buy and sell pressure in the market. Positive values indicate buy pressure, while negative values indicate sell pressure. The differentiated buy pressure, shifted by 90°, provides predictive insights into future market movements.
This documentation provides a comprehensive overview of the Differentiated Buy Pressure indicator, explaining its purpose, inputs, calculations, and usage.
KAI QUANTUM Candles Analysis - Yearly BreakdownThe "KAI QUANTUM Analysis – Yearly Breakdown" indicator offers a comprehensive, year-by-year examination of candlestick behavior, enabling traders and analysts to gauge market dynamics over extended periods. Key features include:
Yearly Aggregation:
The indicator groups candlestick data by year, providing a clear snapshot of market behavior for each period.
Dual-Color Analysis:
It categorizes candles as bullish (green) or bearish (red) and computes statistics separately for each, allowing you to assess both upward and downward market trends.
Average Body Size & Candle Count:
For each year, the indicator calculates the average body size of green and red candles and tracks the total number of each, helping you understand overall market volatility and momentum.
Top 10 Candle Analysis:
It identifies the ten largest candles (by body size) in each year and computes their average size, offering insight into the most significant market moves during that period.
Largest Candle Metrics:
The indicator determines the absolute size of the largest green and red candles in each year.
Percentage Move Calculation:
In addition to absolute values, it computes the largest move as a percentage of the open price for both green and red candles. This allows you to see not only which year experienced the biggest moves but also how those moves compare relative to the opening price.
Clear Tabular Display:
All the computed statistics are organized in an on-chart table, making it easy to compare yearly trends at a glance.
Ideal for daily and higher timeframes, this indicator is a valuable tool for long-term market analysis, enabling you to identify trends, assess volatility, and make informed trading decisions based on historical market behavior.