Trade Sniperz 200 EMA with Triangle SignalsThis versatile moving average tool combines:
A 200-period EMA that toggles between line/cross display
Color-changing visual trend identification
Triangle signals at crossovers
Customizable display options
Key Features
Feature Description Visual Example
200 EMA Display Shows as crosses by default (toggle to line) Colored + or × marks
Trend Colors Green when price > EMA (bullish), Red when price < EMA (bearish) Dynamic color change
Triangle Signals Green ▲ below bar (bullish cross), Red ▼ above bar (bearish cross) Clear entry/exit markers
Customization Toggle between line/cross display in settings Flexible viewing options
Recommended Usage
1. Trend Identification
Bullish Market: When price is above green EMA crosses/line
Bearish Market: When price is below red EMA crosses/line
Strong Trend Confirmation: Consistent crosses maintaining color
2. Trading Signals
Signal Type Condition Action
Buy Signal Green ▲ triangle appears + price crosses above EMA Consider long positions
Sell Signal Red ▼ triangle appears + price crosses below EMA Consider short positions
Trend Filter Only trade in direction of EMA color (green=longs, red=shorts) Increases win rate
3. Display Options
pinescript
Copy
showAsLine = input(false, "Display as Line (uncheck for crosses)")
✔ Checked: Shows traditional EMA line
✖ Unchecked: Shows EMA as crosses (default)
Pro Tips
Combine with Support/Resistance: Use crosses near key levels for higher probability trades
Timeframe Flexibility: Works on all timeframes (1min - monthly charts)
Volume Confirmation: Increase position size when crosses align with high volume
Cross Density: More frequent crosses indicate choppy markets (caution needed)
Input Parameters
Parameter Default Description
Length 200 EMA period (recommend keeping at 200)
Display as Line Off Toggle between crosses/line display
Visual Example
Copy
PRICE CHART:
▲ (Red triangle) - Bearish signal
× × × (Red crosses) - Price below EMA
- - - - - - - - -
● ● ● (Price bars)
- - - - - - - - -
+ + + (Green crosses) - Price above EMA
▲ (Green triangle) - Bullish signal
This indicator provides a clean, customizable way to track the important 200 EMA while getting clear visual signals for potential trend changes. The crosses make the EMA more visible on crowded charts, while the color-coding helps instantly identify trend direction.
Trend Analysis
Triple Custom EMAs + VWAPThis script is designed for intraday traders and scalpers who rely on fast, adaptive trend recognition.
It combines three Exponential Moving Averages (EMAs)—all with customizable, decimal-level precision—to provide dynamic alignment of price action across short, medium, and long intraday windows. The EMAs are used in a stacked logic approach:
EMA 1: typically a fast signal line (e.g., 9-period)
EMA 2: mid-term trend (e.g., 21-period)
EMA 3: slower, macro intraday trend (e.g., 50-period)
These moving averages allow traders to quickly assess whether the market is trending or consolidating, and in which direction.
In addition, the indicator includes a classic daily VWAP (Volume Weighted Average Price), recalculated at the start of each trading day. This provides an institutional anchor point that helps validate mean reversion setups, identify overextended price movements, and align entries/exits with volume-weighted momentum.
The combination of triple EMAs and daily VWAP enables traders to:
Detect trend shifts with precise timing
Avoid trades against the prevailing intraday direction
Use VWAP as dynamic support/resistance for pullback or breakout entries
The script is lightweight, visually clean, and includes toggle controls to enable/disable each EMA individually.
SanAlgo V3This is an indicator which uses VWAP and ATR indicators.
Buy / Sell signals are plotted with the breakout of ATR deviations and filtered using VWAP.
You can change deviation as per your need.
Alerts have been added to suit your preference.
Explore additional settings, toggle between options
This indicator works on all types of assets, and all timeframes.
RSI-Volume Momentum Signal ScoreRSI-Volume Momentum Signal Score
Description
The RSI-Volume Momentum Signal Score is a predictive technical indicator designed to identify bullish and bearish momentum shifts by combining volume-based momentum with the Relative Strength Index (RSI). It generates a Signal Score derived from:
• The divergence between short-term and long-term volume (Volume Oscillator), and
• RSI positioning relative to a user-defined threshold.
This hybrid approach helps traders detect early signs of price movement based on volume surges and overbought/oversold conditions.
The Signal Score is computed as follows:
Signal Score = Volume Momentum x RSI Divergence Factor
Volume Momentum = tanh ((Volume Oscillator value (vo) – Volume Threshold)/Scaling Factor)
RSI Divergence Factor = ((RSI Threshold – RSI Period)/Scaling Factor)
Or,
Signal Score = tanh((vo - voThreshold) / scalingFactor) * ((rsiThreshold - rsi) / scalingFactor)
The logic of this formula are as follows:
• If Volume Oscillator >= Volume Threshold and RSI <= RSI Threshold: Bullish Signal (+1 x Scaling Factor)
• If Volume Oscillator >= Volume Threshold and RSI >= (100 – RSI Threshold): Bearish Signal (-1 x Scaling Factor)
• Otherwise: Neutral (0)
The tanh function provides the normalization process. It ensures that the final signal score is bounded between -1 and 1, increases sensitivity to early changes in volume patterns based on RSI conditions, and prevent sudden jumps in signals ensuring smooth and continuous signal line.
Input Fields
The input fields allow users to customize the behavior of the indicator based on their trading strategy:
Short-Term Volume MA
- Default: `2`
- Description: The period for the short-term moving average of volume.
- Purpose: Captures short-term volume trends.
Long-Term Volume MA)
- Default: `10`
- Description: The period for the long-term moving average of volume.
- Purpose: Captures long-term volume trends for comparison with the short-term trend.
RSI Period)
- Default: `3`
- Description: The period for calculating the RSI.
- Purpose: Measures the relative strength of price movements over the specified period.
Volume Oscillator Threshold
- Default: `70`
- Description: The threshold for the Volume Oscillator to determine significant volume momentum.
- Purpose: Filters out weak volume signals.
RSI Threshold
- Default: `25`
- Description: The RSI level used to identify overbought or oversold conditions.
- Purpose: Helps detect potential reversals in price momentum.
Signal Scaling Factor
- Default: `10`
- Description: A multiplier for the signal score.
- Purpose: Adjusts the magnitude of the signal score for better visualization.
How To Use It for Trading:
Upcoming Bullish Signal: Signal line turns from Gray to Green or from Green to Gray
Upcoming Bearish Signal: Signal line turns from Gray to Red or from Red to Gray
Note: The price that corresponds to the transition of Signal line from Gray to Green or Red and vise versa is the signal price for upcoming bullish or bearish signal.
The signal score dynamically adjusts based on volume and RSI thresholds, making it adaptable to various market conditions, and this is what makes the indicator unique from other traditional indicators.
Unique Features
Unlike traditional indicators, this indicator combines two different dimensions—volume trends and RSI divergence—for more comprehensive signal generation. The use of tanh() to scale and smooth the signal is a mathematically elegant way to manage signal noise and highlight genuine trends. Traders can tune the scaling factor and thresholds to adapt the indicator for scalping, swing trading, or longer-term investing.
Upside Reversal ScreenerIndicator mainly intended to be used in Pinescript screener to find Upside Reversals - where an instruments drops in price then reverses.
The minimum drop (as % or % of instrument ATR) and minimum recovery (as fraction of drop) can be specified.
When used as an indicator (Set the "Running in Screener" input to False in the settings) an up arrow will show under the days where an upside reversal occurred.
To use in a screener, set it as a favourite indicator, so it will be showin in the PineScript screener.
The indicator publishes the Open, High, Low, Close (or last) prices, % price change, % of drop (from high), the recovery (as % of drop), and if the stock matched the reverse settings.
Market Phases (ZigZag + MA + RSI)This script is a TradingView Pine Script that visualizes market phases using the ZigZag pattern, Moving Averages (MA), and the Relative Strength Index (RSI). It allows traders to identify key market conditions, such as accumulating, distributing, bullish, and bearish phases based on price movements and momentum indicators.
#### Components
1. ZigZag Settings:
- Depth: Controls the sensitivity of the ZigZag indicator. A higher value results in fewer price points being considered as reversals.
- Deviation: Defines the minimum percentage change needed to identify a ZigZag point, preventing small fluctuations from being registered.
- Backstep: Specifies the number of bars to look back for identifying highs and lows.
2. Moving Average Settings:
- MA Length: The number of periods used to calculate the moving average.
- MA Type: The type of moving average to use, either Simple Moving Average (SMA) or Exponential Moving Average (EMA).
3. RSI Settings:
- RSI Length: The period for calculating the RSI.
- Overbought Level: The threshold above which the asset is considered overbought.
- Oversold Level: The threshold below which the asset is considered oversold.
4. Calculations:
- Moving Average and RSI Calculation: The script calculates either an SMA or EMA and the RSI based on user-defined settings.
5. ZigZag Enhanced Calculation:
- It identifies swing highs and lows to determine the ZigZag points for improved trend analysis.
6. Trend Direction:
- The script checks the direction of the trend based on the latest ZigZag points.
7. Market Phase Determination:
- The script defines the market phase (Accumulation, Distribution, Bullish, Bearish) based on the trend direction and levels from the RSI and relationship with the moving average.
8. Background Colors:
- The background is tinted according to the identified market phase for visual clarity.
9. Labels and Plotting:
- Labels are generated at the last bar with the current phase and RSI value.
- The moving average and last ZigZag points are plotted on the chart for further reference.
### Conclusion
This script provides a comprehensive view of market conditions by integrating multiple indicators, helping traders make informed trading decisions based on market dynamics. The ability to visualize phases and key indicators aids in recognizing potential entry and exit points in trading strategies.
If you have any questions or need further modifications, feel free to ask!
Cumulative Relative Volume (CRVOL) + Day/Week/Month H/L/O + EMAsThis indicator leverages @LeviathanCapital Cumulative Relative Volume (CRVOL) concept.
CRVOL is designed to visualize the relationship between volume and price movement, accumulating relative volume based on whether the bar closed up or down. This provides a running total of buying or selling pressure relative to the average volume over a specified period.
Building upon this foundation, this indicator incorporates several enhancements by @smiley1910 aimed at identifying potential trading opportunities. User-configurable Exponential Moving Averages (EMAs) have been added to help smooth the CRVOL data and highlight potential trend direction or areas of dynamic support and resistance.
Furthermore, the indicator plots the current daily, weekly, and monthly open CRVOL values, alongside the previous day's high and low CRVOL levels. Plotting these previous highs and lows on the CRVOL indicator itself presents a novel approach to using CRVOL, offering a new way to visualize and interpret this powerful indicator. These reference points are intended to assist in identifying potential divergences between price and CRVOL, as well as spotting key level reclaims that could signal trend continuations or reversals.
For example, as demonstrated in the shown chart, a divergence appears below the previous monthly low CRVOL level. A long position may then be considered when CRVOL reclaims and moves back above that previous monthly low, with a potential target of CRVOL then reaching the previous monthly high – recognizing that some of these setups may result in longer-term swings than others. As with any technical indicator, it is advisable to use this in conjunction with price action analysis and other forms of confirmation for optimal results. The combined features offer a multifaceted approach to analyzing volume-driven market dynamics.
Volumatic Trend [ChartPrime]
A unique trend-following indicator that blends trend logic with volume visualization, offering a dynamic view of market momentum and activity. It automatically detects trend shifts and paints volume histograms at key levels, allowing traders to easily spot strength or weakness within trends.
⯁ KEY FEATURES
Trend Detection System:
Uses a custom combination of weighted EMA (swma) and regular EMA to detect trend direction.
A diamond appears on trend shift, indicating the starting point of a new bullish or bearish phase.
Volume Histogram Zones:
At each new trend, the indicator draws two horizontal zones (top and bottom) and visualizes volume activity within that trend using dynamic histogram candles.
Gradient-Based Candle Coloring:
Candle color is blended with a gradient based on volume intensity. This helps highlight where volume spikes occurred, making it easy to identify pressure points.
Volume Summary Labels:
A label at the end of each trend zone displays two critical values:
- Delta: net volume difference between bullish and bearish bars.
- Total: overall volume accumulated during the trend.
⯁ HOW TO USE
Monitor diamond markers to identify when a new trend begins.
Use volume histogram spikes to assess if the trend is supported by strong volume or lacking participation.
A high delta with strong total volume in a trend indicates institutional support.
Compare gradient strength of candles—brighter areas represent higher-volume trading activity.
Can be used alone or combined with other confirmation tools like structure breaks, liquidity sweeps, or order blocks.
⯁ CONCLUSION
Volumatic Trend gives you more than just trend direction—it provides insight into the force behind it. With volume-graded candles and real-time histogram overlays, traders can instantly assess whether a trend is backed by conviction or fading strength. A perfect tool for swing traders and intraday strategists looking to add volume context to their directional setups.
Swing High + LowThis Indicator Marks Swing Points
It Also Displays Higher High / Higher Low / Lower Low / Higher Low
Follow Line Strategy Version 2.5 (React HTF)Follow Line Strategy v2.5 (React HTF) - TradingView Script Usage
This strategy utilizes a "Follow Line" concept based on Bollinger Bands and ATR to identify potential trading opportunities. It includes advanced features like optional working hours filtering, higher timeframe (HTF) trend confirmation, and improved trend-following entry/exit logic. Version 2.5 introduces reactivity to HTF trend changes for more adaptive trading.
Key Features:
Follow Line: The core of the strategy. It dynamically adjusts based on price breakouts beyond Bollinger Bands, using either the low/high or ATR-adjusted levels.
Bollinger Bands: Uses a standard Bollinger Bands setup to identify overbought/oversold conditions.
ATR Filter: Optionally uses the Average True Range (ATR) to adjust the Follow Line offset, providing a more dynamic and volatility-adjusted entry point.
Optional Trading Session Filter: Allows you to restrict trading to specific hours of the day.
Higher Timeframe (HTF) Confirmation: A significant feature that allows you to confirm trade signals with the trend on a higher timeframe. This can help to filter out false signals and improve the overall win rate.
HTF Selection Method: Choose between Auto and Manual HTF selection:
Auto: The script automatically determines the appropriate HTF based on the current chart timeframe (e.g., 1min -> 15min, 5min -> 4h, 1h -> 1D, Daily -> Monthly).
Manual: Allows you to select a specific HTF using the Manual Higher Timeframe input.
Trend-Following Entries/Exits: The strategy aims to enter trades in the direction of the established trend, using the Follow Line to define the trend.
Reactive HTF Trend Changes: v2.5 exits positions not only based on the trade timeframe (TTF) trend changing, but also when the higher timeframe trend reverses against the position. This makes the strategy more responsive to larger market movements.
Alerts: Provides buy and sell alerts for convenient trading signal notifications.
Visualizations: Plots the Follow Line for both the trade timeframe and the higher timeframe (optional), making it easy to understand the strategy's logic.
How to Use:
Add to Chart: Add the "Follow Line Strategy Version 2.5 (React HTF)" script to your TradingView chart.
Configure Settings: Customize the strategy's settings to match your trading style and preferences. Here's a breakdown of the key settings:
Indicator Settings:
ATR Period: The period used to calculate the ATR. A smaller period is more sensitive to recent price changes.
Bollinger Bands Period: The period used for the Bollinger Bands calculation. A longer period results in smoother bands.
Bollinger Bands Deviation: The number of standard deviations from the moving average that the Bollinger Bands are plotted. Higher deviations create wider bands.
Use ATR for Follow Line Offset?: Enable to use ATR to calculate the Follow Line offset. Disable to use the simple high/low.
Show Trade Signals on Chart?: Enable to show BUY/SELL labels on the chart.
Time Filter:
Use Trading Session Filter?: Enable to restrict trading to specific hours of the day.
Trading Session: The trading session to use (e.g., 0930-1600 for regular US stock market hours). Use 0000-2400 for all hours.
Higher Timeframe Confirmation:
Enable HTF Confirmation?: Enable to use the HTF trend to filter trade signals. If enabled, only trades in the direction of the HTF trend will be taken.
HTF Selection Method: Choose between "Auto" and "Manual" HTF selection.
Manual Higher Timeframe: If "Manual" is selected, choose the specific HTF (e.g., 240 for 4 hours, D for daily).
Show HTF Follow Line?: Enable to plot the HTF Follow Line on the chart.
Understanding the Signals:
Buy Signal: The price breaks above the upper Bollinger Band, and the HTF (if enabled) confirms the uptrend.
Sell Signal: The price breaks below the lower Bollinger Band, and the HTF (if enabled) confirms the downtrend.
Exit Long: The trade timeframe trend changes to downtrend or the higher timeframe trend changes to downtrend.
Exit Short: The trade timeframe trend changes to uptrend or the higher timeframe trend changes to uptrend.
Alerts:
The script includes alert conditions for buy and sell signals. To set up alerts, click the "Alerts" button in TradingView and select the desired alert condition from the script. The alert message provides the ticker and interval.
Backtesting and Optimization:
Use TradingView's Strategy Tester to backtest the strategy on different assets and timeframes.
Experiment with different settings to optimize the strategy for your specific trading style and risk tolerance. Pay close attention to the ATR Period, Bollinger Bands settings, and the HTF confirmation options.
Tips and Considerations:
HTF Confirmation: The HTF confirmation can significantly improve the strategy's performance by filtering out false signals. However, it can also reduce the number of trades.
Risk Management: Always use proper risk management techniques, such as stop-loss orders and position sizing, when trading any strategy.
Market Conditions: The strategy may perform differently in different market conditions. It's important to backtest and optimize the strategy for the specific markets you are trading.
Customization: Feel free to modify the script to suit your specific needs. For example, you could add additional filters or entry/exit conditions.
Pyramiding: The pyramiding = 0 setting prevents multiple entries in the same direction, ensuring the strategy doesn't compound losses. You can adjust this value if you prefer to pyramid into winning positions, but be cautious.
Lookahead: The lookahead = barmerge.lookahead_off setting ensures that the HTF data is calculated based on the current bar's closed data, preventing potential future peeking bias.
Trend Determination: The logic for determining the HTF trend and reacting to changes is critical. Carefully review the f_calculateHTFData function and the conditions for exiting positions to ensure you understand how the strategy responds to different market scenarios.
Disclaimer:
This script is for informational and educational purposes only. It is not financial advice, and you should not trade based solely on the signals generated by this script. Always do your own research and consult with a qualified financial advisor before making any trading decisions. The author is not responsible for any losses incurred as a result of using this script.
Multi-Symbol EMA Status Table🔍 Multi-Symbol EMA Trend Scanner Table
This script displays a clean, customizable table showing whether the price of up to 16 different assets is above or below a user-defined EMA, on a per-symbol and per-timeframe basis.
✅ Supports up to 16 symbols, each with:
Custom exchange + ticker (e.g., BINANCE:BTCUSDT.P, PEPPERSTONE:EURUSD)
Custom timeframe (e.g., 15, 60, 240, D, W)
Custom EMA length (e.g., 50, 100, 200)
🧩 Fully customizable visuals:
Table position (top, middle, bottom + left, center, right)
Text size and text color
Background color for "above" and "below" EMA
Optional ✅❌ emojis
📊 The table updates live on your main chart — no switching required!
💡 Great for:
Monitoring trend direction across multiple markets
Spotting trend alignment (e.g., price above 200 EMA on 4H + 1D)
Multi-asset swing trading or scalping strategies
📘 How to Use:
Open a chart and add the indicator from your scripts.
In the settings panel:
Enter any symbol (with exchange prefix, like BINANCE:BTCUSDT.P or OANDA:EURUSD)
Set a timeframe (e.g., "15" for 15min, "60" for 1h, "D" for daily)
Choose your EMA length (e.g., 200)
Repeat for as many symbols as you need (up to 16).
Customize table visuals:
Position on the screen
Font size and color
Enable/disable emojis ✅❌
Watch the table update live!
🧠 Optional Tips:
Use different colors or groupings to track asset classes (crypto, forex, stocks).
Combine it with your favorite entry/exit signals for confirmation.
Try setting all symbols to the same EMA (e.g., 200) but with different timeframes to monitor multi-timeframe alignment.
MNQ Multi-Zone Alert BotMNQ Multi-Zone Alert Bot is a custom TradingView script designed to assist futures traders by visually highlighting key supply and demand zones across multiple timeframes — Daily, Weekly, and Monthly — specifically tailored for Micro Nasdaq Futures (MNQ).
It provides a clear structure for market context, enabling traders to make high-probability decisions based on institutional zones.
✨ Key Features:
✅ Multi-Timeframe Zone Mapping
Draws colored zones for Monthly, Weekly, and Daily levels using configurable inputs.
🧱 Zone Classification
🔵 Daily Zones (Blue/Orange — Dashed)
🟢 Weekly Zones (Green/Red — Solid)
🟣 Monthly Zones (Purple/Gray — Dotted)
🚨 Built-in Alert Triggers
Auto-alerts when price enters any demand or supply zone for each timeframe.
🧩 Lightweight & Non-Intrusive
Clean visual layout using box.new() without cluttering your chart.
💡 Use Case
Whether you're a day trader, swing trader, or intraday scalper, this bot acts like your market context compass — helping you:
Avoid buying into supply or selling into demand
Time entries near institutional reaction zones
Set alerts and react instead of staring at the screen
XLevel% PULL BACKThis is simple pull back indicator plotted to your chart . 10% - 70% and it will alert you when price is crossing from those levels.
Super Secret 200 EMAFix to the previous SUPER SECRET 200 EMA. Where the previous script only showed the 200 EMA the BUY / SELL signals are now working as well as the SUPERTREND is also now working.
Enjoy!
Trading Value (in Million) by AsharifanA clean and practical tool for swing traders to evaluate stock liquidity using Price × Volume (P×V), displayed in millions of currency units.
✅ What It Shows:
Today’s P×V as a green bar
20-day and 50-day average P×V as trendlines
A red dashed line at 20M for a minimum liquidity threshold
🔍 Built for:
Filtering out illiquid stocks
Spotting volume-dry, high-quality setups (especially at the end of reaccumulation bases)
Weekend watchlist building with stable volume insights
⏱ Works on daily or weekly charts
🌎 Applicable to any stock market (not region-specific)
Simple. Smart. Focused on what really matters for real-world trading.
Vortex Sniper Elite @DaviddTechThis is the original script from DaviddTech. I've added a new input setting call "Vortex Strength Alert". Once the Vortex strength is greater than the "Vortex Strength Alert" value, a alert will be triggered. The purpose is for me to look at a particular crypto when it is trending.
Intraday & PositionalThis indicator allows for Buying & Selling for Intraday & Positional Trading, The rules as under:
Buy When T1 = Green, T2 = Green
Sell When T1 = Green, T2 = Red
Short When T1= Red, T2= Red
Cover When T1= Red, T2= Green
Works for Timeframes below 4 Hr Timeline with auto changeover of Trend T1 & T2 as per timeframe selections. The lower the better for Intraday and Positional Trades
Best suited for Stocks/Options/Commodities/Indian markets etc
QT KAMAUse a longer-term KAMA to define the bigger trend and a shorter-term KAMA for trading signals. For example, KAMA (10,5,30) could be used as a trend filter and be deemed bullish when rising. Once bullish, chartists could then look for bullish crosses when price moves above KAMA (10,2,30) and vice-versa.
KAMAKaufman's Adaptive Moving Average (KAMA)
A unique moving average that accounts for volatility and automatically adjusts to price behavior.
What Is Kaufman's Adaptive Moving Average?
Developed by Perry Kaufman, Kaufman's Adaptive Moving Average (KAMA) is a moving average designed to account for market noise or volatility. KAMA will closely follow prices when the price swings are relatively small, and the noise is low. KAMA will adjust when the price swings widen and follow prices from a greater distance. This trend-following indicator can identify the overall trend, time turning points and filter price movements.
Interpreting KAMA
KAMA is like any other trend-following indicator, such as a moving average and can look for price crosses, directional changes and filtered signals.
First, a cross above or below KAMA indicates directional changes in prices. As with any moving average, a simple crossover system will generate lots of signals and lots of whipsaws. One can reduce whipsaws by applying a price or time filter to the crossovers. One might require price to hold the cross for a set number of days or require the cross to exceed KAMA by a set percentage.
source: chartschool.stockcharts.com
Money Flow: In & Out Detector[THANHCONG]Indicator Name:
Money Flow: In & Out Detector
Indicator Description:
The Money Flow: In & Out Detector indicator uses technical indicators such as RSI (Relative Strength Index), MFI (Money Flow Index), and volume analysis to determine money inflow and outflow in the market.
This indicator helps traders identify changes in money flow, allowing them to detect buy and sell signals based on the combination of the following factors:
RSI > 50 and MFI > 50: Money inflow, indicating a buy signal.
RSI < 50 and MFI < 50: Money outflow, indicating a sell signal.
Volume increase/decrease relative to the average: Identifies strong market behavior changes.
Adjustable Parameters:
RSI Length: The number of periods to calculate the RSI (default is 14).
MFI Length: The number of periods to calculate the MFI (default is 14).
Volume MA Length: The number of periods to calculate the moving average of volume (default is 20).
Volume Increase/Decrease (%): The percentage threshold for volume change compared to the moving average (default is 20%).
Look Back Period: The number of periods used to identify peaks and troughs (default is 20).
How to Use the Indicator:
Money Inflow: When both RSI and MFI are above 50, and volume increases significantly relative to the moving average, the indicator shows a Buy signal.
Money Outflow: When both RSI and MFI are below 50, and volume decreases significantly relative to the moving average, the indicator shows a Sell signal.
Identifying Peaks and Troughs: The indicator also helps identify market peaks and troughs based on technical conditions.
Note:
This indicator assists in decision-making, but does not replace comprehensive market analysis.
Use this indicator in conjunction with other technical analysis methods to increase the accuracy of trade signals.
Steps for Publishing the Indicator on TradingView:
Log in to TradingView:
Go to TradingView and log into your account.
Access Pine Script Editor:
Click on Pine Editor from the menu under the chart.
Paste your Pine Script® code into the editor window.
Check the Source Code:
Ensure your code is error-free and running correctly.
Review the entire source code and add the MPL-2.0 license notice if necessary.
Save and Publish:
After testing and confirming the code works correctly, click Add to Chart to try the indicator on your chart.
If satisfied with the result, click Publish Script at the top right of the Pine Editor.
Provide a name for the indicator and then enter the detailed description you’ve prepared.
Ensure you specify the MPL-2.0 license in the description if required.
Choose the Access Type:
You can choose either Public or Private access for your indicator depending on your intention.
Submit for Publication:
Wait for TradingView to review and approve your indicator. Typically, this process takes a few working days for verification and approval.
User Guide:
You can share detailed instructions for users on how to use the indicator on TradingView, including how to adjust the parameters and interpret the signals. For example:
Set RSI Length: Experiment with different RSI Length values to find the sensitivity that suits your strategy.
Interpreting Buy/Sell Signals: When there is strong money inflow (Buy), consider entering a buy order. When there is strong money outflow (Sell), consider selling.
Consecutive CandlesSummary
This indicator helps visualize short-term momentum by automatically drawing boxes around sequences of consecutive same-colored candles (bullish or bearish). It's designed to quickly highlight periods of sustained buying or selling pressure directly on your chart.
How it Works
Consecutive Candle Detection: The script monitors the chart bar by bar, tracking consecutive candles where close > open (bullish) or close < open (bearish).
Box Drawing: When a sequence of same-colored candles reaches a user-defined minimum length (default is 3) and this sequence is then broken by an opposite-colored candle or a doji, a box is drawn.
Box Boundaries:
The top of the box is set to the highest high price reached during the sequence.
The bottom of the box is set to the lowest low price reached during the sequence.
The left edge of the box aligns with the start time of the first candle in the sequence.
The right edge of the box aligns with the end time of the last candle in the sequence.
Stability: Uses xloc = xloc.bar_time to ensure boxes remain accurately anchored to the price bars when zooming or panning the chart.
Real-time Extension: For active sequences meeting the minimum length on the latest developing bar, the box is optionally extended to the right.
Features
Automatically identifies and boxes sequences of 3 or more (customizable) consecutive bullish candles.
Automatically identifies and boxes sequences of 3 or more (customizable) consecutive bearish candles.
Extends box in real-time for active qualifying sequences.
Customizable minimum candle count (>= 2).
Customizable colors for bullish/bearish boxes and borders.
Settings
You can customize the indicator via the Settings menu (gear icon):
Minimum Consecutive Candles: Define how many candles in a row are needed to draw a box (Default: 3).
Bullish Box Color: Set the fill color for boxes around bullish sequences.
Bearish Box Color: Set the fill color for boxes around bearish sequences.
Box Border Color: Set the color for the border of all boxes.
Potential Use Cases
Momentum Identification: Quickly spot periods of strong, uninterrupted buying or selling.
Exhaustion/Reversal Signals: Very long sequences might indicate potential exhaustion, setting up reversal opportunities.
Consolidation Breakouts: A box forming after a period of tight consolidation can highlight the range just before a potential breakout.
Confirmation: Use the boxes as confirmation for entries or exits based on momentum shifts.
Disclaimer: This indicator provides visual aids based on price action. It should not be used as a standalone trading system. Always use indicators in conjunction with your own analysis and risk management rules.