HL2 Moving Average with BandsThis indicator is designed to assist traders in identifying potential trade entries and exits for S&P 500 (ES) and Nasdaq-100 (NQ) futures. It calculates a Simple Moving Average (SMA) based on the HL2 value (average of high and low prices) of the current candle over a user-defined lookback period (default: 200 periods). The indicator plots this SMA as a blue line, providing a smoothed reference for price trends.
Additionally, it includes upper and lower bands calculated as a percentage (default: 0.5%) above and below the SMA, plotted as green and red lines, respectively. These bands act as dynamic thresholds to identify overbought or oversold conditions. The indicator generates trade signals based on price action relative to these bands:
Long Entry: A green upward triangle is plotted below the candle when the close crosses above the upper band, signaling a potential buy.
Close Long: A red square is plotted above the candle when the close crosses back below the upper band, indicating an exit for the long position.
Short Entry: A red downward triangle is plotted above the candle when the close crosses below the lower band, signaling a potential sell.
Close Short: A green square is plotted below the candle when the close crosses back above the lower band, indicating an exit for the short position.
The script is customizable, allowing users to adjust the SMA length and band percentage to suit their trading style or market conditions. It is plotted as an overlay on the price chart for easy integration with other technical analysis tools.
Recommended Time Frame and Settings for Trading S&P 500 and Nasdaq-100 Futures
Based on research and market dynamics for S&P 500 (ES) and Nasdaq-100 (NQ) futures, the 5-minute chart is recommended as the optimal time frame for day trading with this indicator. This time frame strikes a balance between capturing intraday trends and filtering out excessive noise, which is critical for futures trading due to their high volatility and leverage. The 5-minute chart aligns well with periods of high liquidity and volatility, such as the U.S. market open (9:30 AM–11:00 AM EST) and the afternoon session (2:00 PM–4:00 PM EST), when institutional traders are most active.
Why 5-minute? It allows traders to react to short-term price movements while avoiding the rapid fluctuations of 1-minute charts, which can be prone to false signals in choppy markets. It also provides enough data points to make the SMA and bands meaningful without the lag associated with longer time frames like 15-minute or hourly charts.
Recommended Settings
SMA Length: Set to 200 periods. This longer lookback period smooths the HL2 data, reducing noise and providing a reliable trend reference for the 5-minute chart. A 200-period SMA helps identify significant trend shifts without being overly sensitive to minor price fluctuations.
Band Percentage: 0.5% is more suitable for the volatility of ES and NQ futures on a 5-minute chart, as it generates fewer but higher-probability signals. Wider bands (e.g., 1%) may miss short-term opportunities, while narrower bands (e.g., 0.1%) may produce excessive false signals.
Trading Session Recommendations
Futures markets for ES and NQ are open nearly 24 hours (Sunday 6:00 PM EST to Friday 5:00 PM EST, with a daily break from 4:00 PM–5:00 PM EST), but not all hours are equally optimal due to varying liquidity and volatility. The best times to trade with this indicator are:
U.S. Market Open (9:30 AM–11:00 AM EST): This period is characterized by high volume and volatility, driven by the opening of U.S. equity markets and economic data releases (e.g., 8:30 AM EST reports like CPI or GDP). The indicator’s signals are more reliable during this window due to strong order flow and price momentum.
Afternoon Session (2:00 PM–4:00 PM EST): After the lunchtime lull, volume picks up as institutional traders return, and news or FOMC announcements often drive price action. The indicator can capture breakout moves as prices test the upper or lower bands.
Pre-Market (7:30 AM–9:30 AM EST): For traders comfortable with lower liquidity, this period can offer opportunities, especially around 8:30 AM EST economic releases. However, use tighter risk management due to wider spreads and potential volatility spikes.
Additional Tips
Avoid Low-Volume Periods: Steer clear of trading during low-liquidity hours, such as the overnight session (11:00 PM–3:00 AM EST), when spreads widen and price movements can be erratic, leading to false signals from the indicator.
Combine with Other Tools: Enhance the indicator’s effectiveness by pairing it with support/resistance levels, Fibonacci retracements, or volume analysis to confirm signals. For example, a long entry signal above the upper band is stronger if it coincides with a breakout above a key resistance level.
Risk Management: Given the leverage in futures (e.g., Micro E-mini contracts require ~$1,200 margin for ES), use tight stop-losses (e.g., below the lower band for longs or above the upper band for shorts) to manage risk. Aim for a risk-reward ratio of at least 1:2.
Test Settings: Backtest the indicator on a demo account to optimize the SMA length and band percentage for your specific trading style and risk tolerance. Micro E-mini contracts (MES for S&P 500, MNQ for Nasdaq-100) are ideal for testing due to their lower capital requirements.
Why These Settings and Time Frame?
The 5-minute chart with a 200-period SMA and 0.5% bands is tailored for the volatility and liquidity of ES and NQ futures during peak trading hours. The longer SMA period ensures the indicator captures meaningful trends, while the 0.5% bands are tight enough to signal actionable breakouts but wide enough to avoid excessive whipsaws. Trading during high-volume sessions maximizes the likelihood of valid signals, as institutional participation drives clearer price action.
By focusing on these settings and time frames, traders can leverage the indicator to capitalize on the dynamic price movements of S&P 500 and Nasdaq-100 futures while managing the inherent risks of these markets.
المؤشرات والاستراتيجيات
BOS & CHoCH Alert Coin Holding by DTVThis is a comprehensive indicator that combines the concepts of Break of Structure (BOS) and Change of Character (CHoCH) in the Smart Money Concepts style, and automatically sends alerts whenever a CHoCH signal occurs immediately after the most recent BOS.
Key Features:
BOS Detection: Identifies BOS on both bullish and bearish trends based on Swing High/Low levels over a customizable lookback period.
Instant CHoCH Identification: Captures CHoCH immediately after a BOS, stores the CHoCH level, and monitors for a subsequent break back.
Automatic “CHoCH after BOS” Alerts: Only triggers when CHoCH happens right after an unprocessed BOS, ensuring you never miss critical signals.
Visual Overlay: Plots the CHoCH level on the chart and attaches a “CHoCH” label at the exact breakout point for easy historical reference.
User Parameters:
Lookback Swing Length (default 50): Number of bars used to calculate Swing High/Low.
Structure Display: Toggle labels for BOS and CHoCH in both internal and swing structures.
Confluence Filter: Filters out weak breakouts to reduce noise.
Label Count & Size, Colors: Customize to suit personal preferences and chart aesthetics.
Quick Start Guide:
Install: Paste the script into TradingView’s Pine Editor, save, and add it to your chart.
Add Alerts: In TradingView’s Alert dialog, select “Bullish CHoCH after BOS” or “Bearish CHoCH after BOS” to receive notifications via email or popup.
Monitor: Whenever the price breaks the stored CHoCH level after a BOS, a popup will appear and a “CHoCH” label will be placed on the chart, helping you make timely decisions.
With this indicator, you can proactively capture key structural shifts in the market and optimize your trading strategy based on clear, reliable signals.
MTF Stoch RSI Confluence + Combined AlertMTF STOCH RSI CONFLUENCE INDICATOR 1m/5m/15m ( Scalping Indicator added on SRSI 1H)
IF all three Stoch are overbought(above 80) the indicator creates a red vertical line. If all Stoch are oversold(below 20) the indicator creates a green vertical line.
RULES!!!!
NEVER TRADE AGAINST THE TREND!!! This is super important!!!!
If 1H SRSI is above 80 with MTF overbouht and ZC is red (Downtrend) then we open a MR Short- (Prefered at PA Spikes) The same for opposites MR Longs.
If 1H SRSI is above 80 with the MTF oversold and ZC green then we can open a Long position. Prefered Momo Long. The same applies for opposite, hence momo short.
YASINKARACA EMA5-13-21-34-55This is an indicator consisting of EMA5, EMA13, EMA21, EMA34, and EMA55 plotted below the chart. What you need to pay attention to is that when the white-colored EMA55 is at the bottom and EMA5 is at the top, it indicates that the trend is upwards. If the opposite is true, the trend has turned downwards.
Wishing you success and hoping you use it in good days.
Log-Normal Price ForecastLog-Normal Price Forecast
This Pine Script creates a log-normal forecast model of future price movements on a TradingView chart, based on historical log returns. It plots expected price trajectories and bands representing different levels of statistical deviation.
Parameters
Model Length – Number of bars used to calculate average and standard deviation of log returns (default: 100).
Forecast Length – Number of bars into the future for which the forecast is projected (default: 100, max: 500).
Volatility SMA Length – The smoothing length for the standard deviation (default: 20).
Confidence Intervals – Confidence intervals for price bands (default: 95%, 99%, 99.9%).
YASINKARACA EMA+BB+IchimokuSignalsHey everyone! I’m Yasin Karaca.
I’ve packed this strategy with some of the most powerful and profitable indicators — and I’m sharing it with you for free!
My goal? To help you crush the markets using Moving Averages, Bollinger Bands, and Ichimoku Clouds the right way.
Use it smart, stay consistent, and let the gains roll in!
Good luck and happy trading! 🚀📈
Daily Levels & Stats Pro - [Aspect] v4.0# Description of the "Daily Levels & Stats Pro - v4.0" Indicator
This indicator is a powerful tool for market analysis through the lens of key daily levels and statistical price movement indicators. It allows you to display important trading session opening levels, daily statistical movements, and high volatility zones on the price chart.
## Main Indicator Functions:
### Key Time Levels:
- **Daily Open (DO)** - daily trading session opening level at 02:00
- **NY Midnight (NYM)** - New York session opening level at 06:00
- **Trade Open (TO)** - active trading opening level at 10:00
### Analysis Zones:
- **Previous Close Zone (PCZ)** - previous day's closing zone (displayed on M5 timeframe)
- **Open Day Zone (ODZ)** - current day's opening zone (displayed on M5 timeframe)
### Statistical Price Movement Levels:
- **Min** - minimum statistical movement from DO
- **Max** - maximum statistical movement from DO
- **Aver** - average statistical movement from DO
- **Dev-** - lower deviation of movement from DO
- **Dev+** - upper deviation of movement from DO
### TO Impulse Movement Statistical Levels:
- **Aver TO** - average statistical movement from TO
- **Dev+ TO** - upper deviation of movement from TO
- **Max TO** - maximum statistical movement from TO
## Indicator Features:
- Complete customization of colors, styles, and line widths for all levels
- Ability to select time for each main level
- Adjustment of the number of bars for level display
- Automatic calculation of level values relative to DO and TO
- Visual display of TO-levels starts 3 bars before the actual TO point, providing better visual perception
- Ability to enable/disable individual levels and zones
- Automatic updates and resets when the day changes
- Adaptive text labels to mark levels
This indicator is excellent for traders who use statistical data and daily support/resistance levels in their trading strategy. It is particularly useful for DAX40 and other highly liquid instruments where daily trading statistics are important for making trading decisions.
📊 Volume Split Buy/Sell | Copytrade TungdubaiThis Pine Script calculates the estimated buy and sell volume based on price action (relative position of the close within the price range of the candle) and plots the values on the chart. Additionally, it detects significant volume spikes by comparing the current volume to a 20-period moving average of volume.
Here’s a breakdown of what each section of the script does:
1. **Inputs and Variables:**
- `vol`: This variable holds the volume of the current candle.
- `body`: This calculates the absolute difference between the close and open prices (i.e., the body size of the candle).
- `price_range`: This is the range between the high and low of the candle.
- `buy_ratio`: This is the ratio of the candle's body above the close relative to the total range, representing buying pressure.
- `sell_ratio`: This is the inverse of `buy_ratio`, representing selling pressure.
2. **Volume Calculation:**
- `buy_volume`: The estimated buying volume is calculated as the total volume multiplied by the buying ratio.
- `sell_volume`: The estimated selling volume is calculated as the total volume multiplied by the selling ratio.
3. **Volume Plots:**
- The script plots the estimated selling volume in red below the baseline (`sell_volume`).
- The estimated buying volume is plotted in lime above the baseline (`buy_volume`).
4. **Volume Spike Detection:**
- `vol_ma`: This is the 20-period simple moving average of volume.
- `vol_spike`: This condition checks if the current volume is greater than 2.5 times the 20-period moving average of volume.
- If a volume spike is detected, a tiny purple circle is plotted at the bottom of the volume bar.
This script can be useful for visualizing the relative strength of buy and sell volumes, as well as detecting unusual volume spikes that might signal significant market activity.
MACD + Scaled DoubleCCIDouble CCI Histo on top, MacD histo on bottom. Long when both sides are green, short when both sides are red.
Fighter
FF
THE WINNER
CHICKEN DINNER!
Relative Strength IndexHere, RSI and Volume are used side by side. When the orange middle band is crossed upwards by the RSI lines, it indicates an upward direction, while a downward cross suggests a downward trend.
The RSI 70 level is a critical zone that indicates the stock is overbought and should be approached with caution. RSI 30 and below suggest the stock is oversold and potential buyers may start to appear in these areas.
Polygot Moving AveragesDescription
This is essentially a source merger of Bollinger Bands by Trading View and Simple Moving Averages by stoxxinbox. My additions and subtractions are minimal. There is the BB MA, which I default at 5d, and the other 4 averages are the standard 21, 50, 100, 200, day moving averages. I default the averaging method to WMA (Weighted Moving Average). The method of averaging can be changed as also can the lengths of the inputs to match user preferences. This is what I wanted for an indicator and didn't find.
Usage
The same as you would use any other BB or MA indicator. The benefit of this one is that it has 4 MAs, one MA with the Bollinger Bands attached, and the colours adjusted to be easy on the eyes when using high contrast themes, to be discernible yet sit quietly in the background with lines and candle sticks everywhere shouting for attention. I use it as a base first indicator which I can hide easily (imagine hiding five MA indicators individually constantly) when the more serious indicators come into play.
Momentum + Keltner Stochastic Combo)The Momentum-Keltner-Stochastic Combination Strategy: A Technical Analysis and Empirical Validation
This study presents an advanced algorithmic trading strategy that implements a hybrid approach between momentum-based price dynamics and relative positioning within a volatility-adjusted Keltner Channel framework. The strategy utilizes an innovative "Keltner Stochastic" concept as its primary decision-making factor for market entries and exits, while implementing a dynamic capital allocation model with risk-based stop-loss mechanisms. Empirical testing demonstrates the strategy's potential for generating alpha in various market conditions through the combination of trend-following momentum principles and mean-reversion elements within defined volatility thresholds.
1. Introduction
Financial market trading increasingly relies on the integration of various technical indicators for identifying optimal trading opportunities (Lo et al., 2000). While individual indicators are often compromised by market noise, combinations of complementary approaches have shown superior performance in detecting significant market movements (Murphy, 1999; Kaufman, 2013). This research introduces a novel algorithmic strategy that synthesizes momentum principles with volatility-adjusted envelope analysis through Keltner Channels.
2. Theoretical Foundation
2.1 Momentum Component
The momentum component of the strategy builds upon the seminal work of Jegadeesh and Titman (1993), who demonstrated that stocks which performed well (poorly) over a 3 to 12-month period continue to perform well (poorly) over subsequent months. As Moskowitz et al. (2012) further established, this time-series momentum effect persists across various asset classes and time frames. The present strategy implements a short-term momentum lookback period (7 bars) to identify the prevailing price direction, consistent with findings by Chan et al. (2000) that shorter-term momentum signals can be effective in algorithmic trading systems.
2.2 Keltner Channels
Keltner Channels, as formalized by Chester Keltner (1960) and later modified by Linda Bradford Raschke, represent a volatility-based envelope system that plots bands at a specified distance from a central exponential moving average (Keltner, 1960; Raschke & Connors, 1996). Unlike traditional Bollinger Bands that use standard deviation, Keltner Channels typically employ Average True Range (ATR) to establish the bands' distance from the central line, providing a smoother volatility measure as established by Wilder (1978).
2.3 Stochastic Oscillator Principles
The strategy incorporates a modified stochastic oscillator approach, conceptually similar to Lane's Stochastic (Lane, 1984), but applied to a price's position within Keltner Channels rather than standard price ranges. This creates what we term "Keltner Stochastic," measuring the relative position of price within the volatility-adjusted channel as a percentage value.
3. Strategy Methodology
3.1 Entry and Exit Conditions
The strategy employs a contrarian approach within the channel framework:
Long Entry Condition:
Close price > Close price periods ago (momentum filter)
KeltnerStochastic < threshold (oversold within channel)
Short Entry Condition:
Close price < Close price periods ago (momentum filter)
KeltnerStochastic > threshold (overbought within channel)
Exit Conditions:
Exit long positions when KeltnerStochastic > threshold
Exit short positions when KeltnerStochastic < threshold
This methodology aligns with research by Brock et al. (1992) on the effectiveness of trading range breakouts with confirmation filters.
3.2 Risk Management
Stop-loss mechanisms are implemented using fixed price movements (1185 index points), providing definitive risk boundaries per trade. This approach is consistent with findings by Sweeney (1988) that fixed stop-loss systems can enhance risk-adjusted returns when properly calibrated.
3.3 Dynamic Position Sizing
The strategy implements an equity-based position sizing algorithm that increases or decreases contract size based on cumulative performance:
$ContractSize = \min(baseContracts + \lfloor\frac{\max(profitLoss, 0)}{equityStep}\rfloor - \lfloor\frac{|\min(profitLoss, 0)|}{equityStep}\rfloor, maxContracts)$
This adaptive approach follows modern portfolio theory principles (Markowitz, 1952) and Kelly criterion concepts (Kelly, 1956), scaling exposure proportionally to account equity.
4. Empirical Performance Analysis
Using historical data across multiple market regimes, the strategy demonstrates several key performance characteristics:
Enhanced performance during trending markets with moderate volatility
Reduced drawdowns during choppy market conditions through the dual-filter approach
Optimal performance when the threshold parameter is calibrated to market-specific characteristics (Pardo, 2008)
5. Strategy Limitations and Future Research
While effective in many market conditions, this strategy faces challenges during:
Rapid volatility expansion events where stop-loss mechanisms may be inadequate
Prolonged sideways markets with insufficient momentum
Markets with structural changes in volatility profiles
Future research should explore:
Adaptive threshold parameters based on regime detection
Integration with additional confirmatory indicators
Machine learning approaches to optimize parameter selection across different market environments (Cavalcante et al., 2016)
References
Brock, W., Lakonishok, J., & LeBaron, B. (1992). Simple technical trading rules and the stochastic properties of stock returns. The Journal of Finance, 47(5), 1731-1764.
Cavalcante, R. C., Brasileiro, R. C., Souza, V. L., Nobrega, J. P., & Oliveira, A. L. (2016). Computational intelligence and financial markets: A survey and future directions. Expert Systems with Applications, 55, 194-211.
Chan, L. K. C., Jegadeesh, N., & Lakonishok, J. (2000). Momentum strategies. The Journal of Finance, 51(5), 1681-1713.
Jegadeesh, N., & Titman, S. (1993). Returns to buying winners and selling losers: Implications for stock market efficiency. The Journal of Finance, 48(1), 65-91.
Kaufman, P. J. (2013). Trading systems and methods (5th ed.). John Wiley & Sons.
Kelly, J. L. (1956). A new interpretation of information rate. The Bell System Technical Journal, 35(4), 917-926.
Keltner, C. W. (1960). How to make money in commodities. The Keltner Statistical Service.
Lane, G. C. (1984). Lane's stochastics. Technical Analysis of Stocks & Commodities, 2(3), 87-90.
Lo, A. W., Mamaysky, H., & Wang, J. (2000). Foundations of technical analysis: Computational algorithms, statistical inference, and empirical implementation. The Journal of Finance, 55(4), 1705-1765.
Markowitz, H. (1952). Portfolio selection. The Journal of Finance, 7(1), 77-91.
Moskowitz, T. J., Ooi, Y. H., & Pedersen, L. H. (2012). Time series momentum. Journal of Financial Economics, 104(2), 228-250.
Murphy, J. J. (1999). Technical analysis of the financial markets: A comprehensive guide to trading methods and applications. New York Institute of Finance.
Pardo, R. (2008). The evaluation and optimization of trading strategies (2nd ed.). John Wiley & Sons.
Raschke, L. B., & Connors, L. A. (1996). Street smarts: High probability short-term trading strategies. M. Gordon Publishing Group.
Sweeney, R. J. (1988). Some new filter rule tests: Methods and results. Journal of Financial and Quantitative Analysis, 23(3), 285-300.
Wilder, J. W. (1978). New concepts in technical trading systems. Trend Research.
for your comparison: Global M2 Money Supply // Days Offset =📈 Global M2 Money Supply Overlay – Offset Adjustable
This script plots an aggregated, FX-adjusted global M2 money supply index directly on your TradingView chart. It pulls M2 data from multiple global regions—including North America, Europe, Asia, Latin America, and more—and normalizes it for comparison in USD terms.
You can apply a custom time offset to the M2 line using the settings, allowing you to test potential leading or lagging correlations between global liquidity and market price action (e.g., Bitcoin, equities, commodities).
💡 Ideal for macro traders, long-term investors, and anyone interested in liquidity-driven market behavior.
Features:
Combines M2 data from 20+ countries and currency zones
FX-adjusted for consistency in USD terms
Offset slider to shift M2 data forward or backward in time
Scaled to trillions for readability
Plots directly on the main chart for visual comparison
TrendBoxThis indicator is called "TrendBox," designed to help traders analyze daily price ranges using several technical indicators. Below is a breakdown of its functionality, purpose, and key components:
Purpose
The script overlays indicators on a chart to assess whether the price is above or below key levels:
VWAP (Volume Weighted Average Price, based on the chart's timeframe).
Daily Market Open (fetched from the daily timeframe).
Daily 4-period VWMA (Volume Weighted Moving Average, fetched from the daily timeframe).
VIX-based expected range (high and low levels calculated using the VIX index).
It also displays a status box (optional) summarizing whether the price is above or below these levels, helping traders quickly evaluate market conditions.
Advanced Order Flow Indicatorbest order flow indicator can be used with i types of indicators and is best with 1 hour time frame
Market Structure CHoCH/BOS (Fractal) [LuxAlgo]trading algo char t for michael it has everything that hes goin to need for the chart and everything that makes this a unique indicator
LTF HTF CANDLE fast deployThe "LTF Candle Fast Deploy" script allows you to clearly and dynamically display candles from lower timeframes (LTF) and higher timeframes (HTF) on the same chart. With the cursor function, it becomes simple to move the end line and analyze completely different points. You can configure the number of candles and timeframes, as well as customize colors and borders. One of its key features is temporal alignment: the last LTF candle is forced to coincide with a defined end date (end_date), with a transparent background applied to highlight the area around this date.
Additionally, the script supports two different timeframes, allowing you to simultaneously compare two series of candles, with adjustable width and spacing options to better fit the chart. A summary table can be displayed in an overlay to show information about timeframes and the amount of candles, while a triangle visually marks the candle corresponding to the end date.
Finally, there are performance limits in place to ensure optimal functioning, such as the maximum number of bars analyzed and a limit on the offset, to prevent slowdowns in the chart.
--------------------------------------------------KEY FEATURES--------------------------------------------------
1. **Display of HTF and LTF Candles**
This feature allows you to plot on the chart a configurable number (Amount of Candles) of candles from both a lower timeframe (e.g., 30m) and a higher timeframe (e.g., 4H). The candles are drawn using `box.new` for the body and `line.new` for the wicks, with customizable colors and borders.
2. **Temporal Alignment on Start and End Dates**
The user defines an "end_date" (configurable by the user). The last LTF candle is forced to horizontally align with the corresponding bar at the end_date, calculating a dynamic offset. A semi-transparent background is applied to all bars near the end_date to highlight the concluding period. By simply moving the cursor, you can shift the focus to another area.
3. **Customizable Dual Timeframe**
In addition to the primary LTF, the script supports a second timeframe (2nd Timeframe), with the same offset, buffer, and coloring logic. It is recommended to use an HTF or the same timeframe as the chart. This feature allows you to simultaneously compare two sets of candles from different timeframes on the same chart.
4. **Candle Width and Buffer Controls**
The width (Candle Width) and spacing (Candle Buffer) of the candles are variable, as is the extra horizontal offset (extra_offset). These parameters allow precise adjustment of the visual clutter and alignment with the chart bars.
5. **Summary Table in Overlay**
Upon the last tick (if activated), a table (Show Table) appears in one of the eight available positions (e.g., top right). The table displays:
- LTF: lower timeframe
- HTF: higher timeframe
- Ch TF: chart timeframe
- AoC: amount of candles
- c AoC: amount of chart candles corresponding to the observed zone
Additionally, a triangle (`plotshape`) is drawn above the candle corresponding to the end_date on the main chart to visually identify the alignment moment.
6. **Performance and Limit Management**
The script sets limits on the number of bars analyzed (max_bars_back, max_boxes_count) and an offset maximum (future limit of 500 bars) to prevent slowdowns or excessive drawing.
YASINKARACA MACD + VolumeMACD, especially when above the ZERO line, indicates that the direction of the stock is upward.
The MACD line is colored green, while the MACD signal line is colored red.
When the MACD line crosses above the signal line, it generates a BUY signal. When the MACD line crosses below the signal line, it generates a SELL signal.
Histograms are represented in green when positive, and in red when negative.
Midpoint of Last 3 CandlesThis indicator highlights the market structure by plotting the midpoints of the current and previous two candles. It draws a horizontal line at the average of the high and low for each of these candles, giving a visual cue of the short-term balance point in price action. These midpoints can act as dynamic support and resistance levels, helping traders assess areas of potential reaction or continuation.
Each line is color-coded for clarity: green represents the current candle, orange marks the previous candle, and yellow indicates the one before that. All lines extend into the future on the chart, allowing you to see how price interacts with these levels as new candles form. This simple yet effective tool can be useful in various strategies, especially those focused on price action, scalping, or intraday analysis.
Darvas Box (Close-based)This indicator builds Darvas Boxes using the closing prices of candles instead of their wicks (highs/lows).
It looks back over a set number of candles (default 5)
Finds the highest close and lowest close
Draws a box between these two levels on the chart
Helps identify consolidation zones and potential breakout points based on stable price closes
It’s a cleaner and more reliable version of the classic Darvas Box, especially useful in choppy markets where wicks are noisy.
Stochastic Strategy Table with Trend (1m–4H) + Toggle📊 Multi-Timeframe Stochastic Strategy Table with Trend Detection
This script is designed for intraday and swing traders who want to monitor Stochastic momentum across multiple timeframes in real-time — all directly on the main chart.
🔎 What This Script Does
This script builds a compact, color-coded table that displays:
✅ %K and %D values of the Stochastic oscillator
✅ Cross direction (K > D or K < D)
✅ Overbought/Oversold zone conditions
✅ Short-term trend detection via %K movement
It covers ten timeframes:
1m, 2m,3m,5m, 15m, 30m, 1H, 2H, 3H, 4H
🟩 How to Use It
Trend colors in header:
🟢 Green = %K is rising (uptrend)
🔴 Red = %K is falling (downtrend)
⚪ Gray = flat or neutral
Cross Row:
Green background = Bullish (%K > %D)
Red background = Bearish (%K < %D)
Zone Row:
Green = Oversold (%K and %D below 20)
Red = Overbought (%K and %D above 80)
Gray = Neutral zone
Use Case:
Look for multiple timeframes aligning in trend
Enter trades on short timeframes (e.g. 5m) when HTFs confirm direction
Especially powerful when used with price action on 5m/15m candles
⚙️ Configurable Inputs
%K Length
%K Smoothing
%D Length
Table location
Table size
💡 Why This Script Is Unique
Shows true higher timeframe Stochastic values (not interpolated from current chart)
Works in real-time with consistent updates
Trend direction is visualized without needing extra space
Built for serious intraday traders who rely on clean data and signal alignment
🙏 Credits & Notes
This tool was created to solve a real problem: getting accurate HTF stochastic data in a clean, real-time, decision-friendly format.
I built it for my own use — and now I'm sharing it for luck, and for anyone else looking to trade more clearly and confidently.
Feel free to fork, customize, or build upon it.
Good luck, and trade safe! 🍀💹
Enhanced Bollinger Bands📈 *Enhanced Bollinger Bands – Custom Indicator*
This custom indicator is a more flexible and informative version of the traditional *Bollinger Bands*, designed to help traders better visualize price volatility, trend direction, and breakout signals.
---
🔍 Key Features:
✅ *Multiple Moving Average Options*
Choose between:
- *SMA (Simple Moving Average)*
- *EMA (Exponential Moving Average)*
- *WMA (Weighted Moving Average)*
This allows you to tailor the indicator to your trading strategy.
✅ *Dynamic Bands Based on Volatility*
The upper and lower bands are calculated using a user-defined standard deviation multiplier, showing volatility around the selected moving average.
✅ *Color-Coded Trend Visualization*
The bands change color based on the slope of the moving average:
- 🟢 *Green* when the trend is up
- 🔴 *Red* when the trend is down
- ⚪ *Gray* when the trend is flat
This helps traders visually confirm trend direction.
✅ *Optional Band Fill*
You can enable a shaded area between the upper and lower bands, making it easier to identify *volatility squeezes* and *expansions*.
✅ *Breakout Signal Arrows*
Automatic signal arrows appear when:
- 📈 Price *crosses above* the upper band (potential breakout)
- 📉 Price *crosses below* the lower band (potential breakdown)
These signals can help spot strong momentum entries.
---
⚙️ Inputs:
- *MA Type:* SMA / EMA / WMA
- *Length:* Period for the moving average and standard deviation
- *Multiplier:* Standard deviation multiplier for band width
- *Source:*Price source (default: close)
- *Toggle Fill:* Turn band fill on/off
- *Toggle Signals:* Show or hide breakout arrows
---
🧠 How to Use:
- Use band *tightening* as a sign of low volatility (possible breakout setup).
- Use band *expansion* to confirm high momentum moves.
- Use signal arrows for early entries on momentum plays.
- Combine with RSI, MACD, or volume indicators for confluence.
---
Let me know if you want to write a version tailored for publishing on TradingView, including tags and disclaimers.