MACD + SMA 200 Indicator v6🔹 Overview
This advanced indicator combines MACD components with a 200-period SMA to identify high-probability trend directions. It provides:
✅ Multi-timeframe trend analysis (Fast, Slow, and Very Slow MAs)
✅ Visual alerts when the 200 SMA changes direction (bullish/bearish)
✅ Customizable display options (toggle MAs on/off individually)
✅ Clean, professional visuals with color-coded trend confirmation
Perfect for swing traders and investors who want to align with the dominant trend while avoiding false signals.
📊 Key Features
1. Triple Moving Average System
Fast MA (12-period) – Short-term momentum
Slow MA (26-period) – Medium-term trend
Very Slow MA (200-period) – Long-term trend filter (bullish/bearish market)
2. Smart Trend Detection
200 SMA Color Shift: Automatically changes color when trend reverses (green = bullish, red = bearish).
Visual Labels ("BU" / "SD"): Marks where the 200 SMA confirms a new trend direction.
3. Fully Customizable
Toggle each MA on/off (reduce clutter if needed).
Enable/disable colors for cleaner charts.
Adjustable lengths for all moving averages.
4. Built-in Alerts
🔔 "Very Slow MA Turned Green" – Signals potential bullish reversal.
🔔 "Very Slow MA Turned Red" – Signals potential bearish reversal.
🎯 How to Use This Indicator
📈 Bullish Confirmation (Long Setup)
✔ Price above 200 SMA (Very Slow MA turns green)
✔ Fast MA (12) > Slow MA (26) (MACD momentum supports uptrend)
✔ "BU" label appears (confirms trend shift)
📉 Bearish Confirmation (Short Setup)
✔ Price below 200 SMA (Very Slow MA turns red)
✔ Fast MA (12) < Slow MA (26) (MACD momentum supports downtrend)
✔ "SD" label appears (confirms trend shift)
⚙️ Settings & Customization
MA Visibility: Turn individual MAs on/off.
Colors: Disable if you prefer a minimal chart.
Alerts: Enable to get notifications when the 200 SMA changes trend.
📌 Why This Indicator?
Avoid false signals by combining MACD with the 200 SMA.
Clear visual cues make trend identification effortless.
Works on all timeframes (best on 1H, 4H, Daily for swing trades).
🔗 Try it now and trade with the trend! 🚀
📥 Get the Indicator
👉 Click "Add to Chart" and customize it to your trading style!
💬 Feedback? Let me know in the comments how it works for you!
Moving Averages
NuEdge EMA Retest StrategyThis strategy is designed for the 2-minute chart and performs best on highly liquid ETFs like SPY, QQQ, and IWM.
It combines:
PDH/PDL breaks (Previous Day High/Low)
13/48/200 EMA trend filtering
Pullback-to-EMA entries
R:R projections and dynamic visual coaching
Time-based filters (default: 9:30 AM to 4:00 PM EST)
Optional day filters (e.g., exclude Mondays or Fridays)
⚠️ Built for momentum conditions — not ideal during chop, premarket, or low-volume sessions.
📈 Optimized for SPY, QQQ, IWM, and also performs well on:
TSLA
AAPL
AMD
META
(All using 2-minute timeframe)
Toggles available for:
Entry/TP markers
R:R visualization
Session restrictions
Dskyz (DAFE) GENESIS Dskyz (DAFE) GENESIS: Adaptive Quant, Real Regime Power
Let’s be honest: Most published strategies on TradingView look nearly identical—copy-paste “open-source quant,” generic “adaptive” buzzwords, the same shallow explanations. I’ve even fallen into this trap with my own previously posted strategies. Not this time.
What Makes This Unique
GENESIS is not a black-box mashup or a pre-built template. It’s the culmination of DAFE’s own adaptive, multi-factor, regime-aware quant engine—built to outperform, survive, and visualize live edge in anything from NQ/MNQ to stocks and crypto.
True multi-factor core: Volume/price imbalances, trend shifts, volatility compression/expansion, and RSI all interlock for signal creation.
Adaptive regime logic: Trades only in healthy, actionable conditions—no “one-size-fits-all” signals.
Momentum normalization: Uses rolling, percentile-based fast/slow EMA differentials, ALWAYS normalized, ALWAYS relevant—no “is it working?” ambiguity.
Position sizing that adapts: Not fixed-lot, not naive—not a loophole for revenge trading.
No hidden DCA or pyramiding—what you see is what you trade.
Dashboard and visual system: Directly connected to internal logic. If it’s shown, it’s used—and nothing cosmetic is presented on your chart that isn’t quantifiable.
Inputs and What They Mean (Read Carefully)
📊 Main Signal Inputs
Maximum Raw Score: How many distinct factors can contribute to regime/trade confidence (default 4). If you extend the quant logic, increase this.
RSI Length / Min RSI for Shorts / Max RSI for Longs: Fine-tunes how “overbought/oversold” matters; increase the length for smoother swings, tighten floors/ceilings for more extreme signals.
⚡ Regime & Momentum Gates
Min Normed Momentum/Score (Conf): Raise to demand only the strongest trends—your filter to avoid algorithmic chop.
🕒 Volatility & Session
ATR Lookback, ATR Low/High Percentile: These control your system’s awareness of when the market is dead or ultra-volatile. All sizing and filter logic adapts in real time.
Trading Session (hours): Easy filter for when entries are allowed; default is regular trading hours—no surprise overnight fills.
📊 Sizing & Risk
Max Dollar Risk / Base-Max Contracts: All sizing is adaptive, based on live regime and volatility state—never static or “just 1 contract.” Control your max exposures and real $ risk.
🔄 Exits & Scaling
Stop/Trail/Scale multipliers: You choose how dynamic/flexible risk controls and profit-taking need to be. ATR-based, so everything auto-adjusts to the current market mode.
Visuals That Actually Matter
Dashboard (Top Right): Shows only live, relevant stats: scoring, status, position size, win %, win streak, total wins—all from actual trade engine state (not “simulated”).
Watermark (Bottom Right): Momentum bar visual is always-on, regime-aware, reflecting live regime confidence and momentum normalization. If the bar is empty, you’re truly in no-momentum. If it glows lime, you’re riding the strongest possible edge.
*No cosmetics, no hidden code distractions.
Why It Wins
While others put out “AI-powered” strategies with little logic or soul, GENESIS is ruthlessly practical. It is built around what keeps traders alive:
- Context-aware signals, not just patterns
- Tight, transparent risk
- Inputs that adapt, not confuse
- Visuals that clarify, not distract
- Code that runs clean, efficient, and with minimal overfitting risk (try it on QQQ, AMD, SOL, etc. out of the box)
Disclaimer (for TradingView compliance):
Trading is risky. Futures, stocks, and crypto can result in significant losses. Do not trade with funds you cannot afford to lose. This is for educational and informational purposes only. Use in simulation/backtest mode before live trading. No past performance is indicative of future results. Always understand your risk and ownership of your trades.
Personal Note to Mods and Traders:
Yes, this statement is DIFFERENT, because this script IS different. If you see this taken down for some technicality (charting labels etc.), know I will fix, adapt, and repost until the system and its truth are visible to the community.
This will not be my last—my goal is to keep raising the bar until DAFE is a brand or I’m forced to take this private.
Use with discipline, use with clarity, and always trade smarter.
— Dskyz, powered by DAFE Trading Systems.
WaveFunction MACD (TechnoBlooms)WaveFunction MACD — The Next Generation of Market Momentum
WaveFunction MACD is an advanced hybrid momentum indicator that merges:
• The classical MACD crossover logic (based on moving averages)
• Wave physics (modeled through phase energy and cosine functions)
• Hilbert Transform theory from signal processing
• The concept of a wavefunction from quantum mechanics, where price action is seen as a probabilistic energy wave—not just a trend.
✨ Key Features of WaveFunction MACD
• Wave Energy Logic : Instead of using just price and MA differences, this indicator computes phase-corrected momentum using the cosine of the wave phase angle — revealing the true energy behind market moves.
• Phase-Based Trend Detection : It reads cycle phases using Hilbert Transform-like logic, allowing you to spot momentum before it becomes visible in price.
• Ultra-Smooth Flow : The main line and histogram are built to follow price flow smoothly — eliminating much of the noise found in traditional MACD indicators.
• Signal Amplification via Energy Histogram : The histogram doesn’t just show momentum changes — it shows the intensity of wave energy, allowing you to confirm the strength of the trend.
• Physics-Driven Structure : The algorithm is rooted in real-world wave mechanics, bringing a scientific edge to trading — ideal for traders who believe in natural models like cycles and harmonics.
• Trend Confirmation & Early Reversals : It can confirm strong trends and also catch subtle shifts that often precede big reversals — giving you both reliability and anticipation.
• Ready for Fusion : Designed to work seamlessly with liquidity zones, price action, order blocks, and structure trading — a perfect fit for modern trading systems.
🧪 The Science Behind It
This tool blends:
• Hilbert Transform: Measures the phase of a waveform (price cycle) to detect turning points
• Cosine Phase Energy: Calculates true wave energy using the cosine of the phase angle, revealing the strength behind price movements
• Quantum Modeling: Views price like a wavefunction, offering predictive insight based on phase dynamics
Machine Learning: ARIMA + SARIMADescription
The ARIMA (Autoregressive Integrated Moving Average) and SARIMA (Seasonal ARIMA) are advanced statistical models that use machine learning to forecast future price movements. It uses autoregression to find the relationship between observed data and its lagged observations. The data is differenced to make it more predictable. The MA component creates a dependency between observations and residual errors. The parameters are automatically adjusted to market conditions.
Differences
ARIMA - This excels at identifying trends in the form of directions
SARIMA - Incorporates seasonality. It's better at capturing patterns previously seen
How To Use
1. Model: Determine if you want to use ARIMA (better for direction) or SARIMA (better for overall prediction). You can click on the 'Show Historic Prediction' to see the direction of the previous candles. Green = forecast ending up, red = forecast ending down
2. Metrics: The RMSE% and MAPE are 10 day moving averages of the first 10 predictions made at candle close. They're error metrics that compare the observed data with the predicted data. It is better to use them when they're below 8%. Higher timeframes will be higher, as these models are partly mean-reverting and higher TFs tend to trend more. Better to compare RMSE% and MAPE with similar timeframes. They naturally lag as data is being collected
3. Parameter selection: The simpler, the better. Both are used for ARIMA(1,1,1) and SARIMA(1,1,1)(1,1,1)5. Increasing may cause overfitting
4. Training period: Keep at 50. Because of limitations in pine, higher values do not make for more powerful forecasts. They will only criminally lag. So best to keep between 20 and 80
Distance to EMASimple indicator to show the distance to the H1 50 EMA in a number of common time frames below and above. Useful as a quick glance to spot divergences in price before a reversion to the mean / polarity reversal.
Note that this is multi-timeframe but the distances are calculated differently depending upon context.
There are some presets where the distance is calculated to the H1 50 EMA when in timeframes below this:
M1, M4, M15 & H1 all calculate based upon the price distance to the H1 50 EMA, since this is a useful directional indicator for lower timeframes to see where we are wrt H1 without having to switch.
However above the H1, there's H4, H8 and H12 presets - but these use the 1D 50 EMA since I generally use these in HTF calculations.
Any other timeframe will use whatever the indicator is set up as in the options menu.
Automatic HTF MA CloudsAutomatically display higher time frame HTF clouds based on presets.
Fifteen selections in total. Default settings based on Barky's DTF concepts.
Five presets left blank.
A simple table display CTF and HTF. Can be turned off in settings.
CTF1 1m → HTF1 5m
CTF2 2m → HTF2 10m
CTF3 10m → HTF3 1h
CTF4 1h → HTF4 4h
CTF5 4h → HTF5 1d
CTF6 1d → HTF6 1w
CTF7 1w → HTF7 1M
CTF8 1M → HTF8 3M
CTF9 3M → HTF9 6M
CTF10 6M → HTF10 12M
CTF11 blank → HTF11 blank
CTF12 blank → HTF12 blank
CTF13 blank → HTF13 blank
CTF14 blank → HTF14 blank
CTF15 blank → HTF15 blank
50 & 200 SMA Death CrossSimple 50 and 200 Simple Moving Average Script with customizations. You can use these on the Daily Timeframe to confirm the "Death Cross" when trading Bitcoin. Right before the "Death Cross" happens the price usually dumps, and Right as they cross the price usually pumps. (Bitcoin must be in a bull market already)
Created by: Dan Heilman (www.youtube.com)
Close Price - EMA Distance (10, 21, 50)this is script to show differnce between price and three moving average i.e 10, 21, and 50on closing basis
Guppy Multiple Moving Average (GMMA)The GMMA Momentum Indicator plots 12 EMAs on your chart, divided into two groups:
Short-term EMAs (6 lines, default periods: 3, 5, 8, 10, 12, 15): Represent short-term trader sentiment and momentum.
Long-term EMAs (6 lines, default periods: 30, 35, 40, 45, 50, 60): Reflect long-term investor behavior and broader market trends.
By analyzing the interaction between these two groups, the indicator identifies:
Bullish and bearish trends based on the relative positions of the short- and long-term EMAs.
Momentum strength through the spread or convergence of the EMAs.
Potential reversals or breakouts via compression signals.
This PineScript version enhances the traditional GMMA by adding visual cues like background colors, bearish signals, and compression detection, making it ideal for swing traders seeking clear, actionable insights.
The GMMA Momentum Indicator provides several key features:
1. Trend Identification
Bullish Trend: When the short-term EMAs (green lines) are above the long-term EMAs (blue lines) and spreading apart, it signals strong upward momentum. The chart background turns light green to highlight this condition.
Bearish Trend: When the short-term EMAs cross below the long-term EMAs and converge, it indicates downward momentum. The background turns light red, and an orange downward triangle appears above the bar to mark a new bearish signal.
2. Momentum Analysis
The spread between the short-term EMAs reflects the strength of short-term momentum. A wide spread suggests strong momentum, while a tight grouping indicates weakening momentum or consolidation. Similarly, the long-term EMAs act as dynamic support or resistance, guiding traders on the broader trend.
3. Compression Detection
Compression occurs when both the short-term and long-term EMAs converge, signaling low volatility and a potential breakout or reversal. A yellow upward triangle appears below the bar when compression is detected, alerting traders to watch for price action.
4. Visual Cues
Green short-term EMAs: Show short-term trader activity.
Blue long-term EMAs: Represent long-term investor sentiment.
Background colors: Light green for bullish trends, light red for bearish trends, and transparent for neutral conditions.
Orange downward triangles: Mark new bearish trends.
Yellow upward triangles: Indicate compression, hinting at potential breakouts.
How to Use the GMMA Momentum Indicator for Swing Trading
Swing trading involves capturing price moves over days to weeks, and the GMMA Momentum Indicator is an excellent tool for this strategy. Here’s how to use it effectively:
1. Identifying Trade Entries
Buy Opportunities:
Look for a bullish trend (green background) where the short-term EMAs are above the long-term EMAs and spreading apart, indicating strong momentum.
A compression signal (yellow triangle) followed by a breakout above resistance or a bullish candlestick pattern can confirm an entry.
Example: On a daily chart, if the short-term EMAs cross above the long-term EMAs and the background turns green, consider entering a long position, especially if volume supports the move.
Sell Opportunities:
Watch for a bearish signal (orange downward triangle) or a bearish trend (red background) where the short-term EMAs cross below the long-term EMAs.
Example: If the short-term EMAs collapse below the long-term EMAs and an orange triangle appears, it may signal a shorting opportunity or a time to exit longs.
2. Managing Trades
Use the long-term EMAs as dynamic support (in uptrends) or resistance (in downtrends) to set stop-loss levels or trail stops.
Monitor the spread of the short-term EMAs. A widening spread suggests the trend is strong, while convergence may indicate it’s time to take profits or tighten stops.
3. Anticipating Reversals
Compression signals (yellow triangles) highlight periods of low volatility, often preceding significant price moves. Combine these with price action (e.g., breakouts or reversals) or other indicators (e.g., RSI or volume) for confirmation.
Example: If a compression signal appears near a key support level and the price breaks upward, it could signal the start of a new bullish swing.
4. Best Practices
Timeframes: The indicator works well on daily or 4-hour charts for swing trading, but you can adjust the EMA periods for shorter (e.g., 1-hour) or longer (e.g., weekly) timeframes.
Confirmation: Combine the GMMA with other tools like support/resistance levels, candlestick patterns, or oscillators (e.g., MACD) to reduce false signals.
Risk Management: Always use proper position sizing and stop-losses, as EMAs are lagging indicators and may produce delayed signals in choppy markets.
XAUUSA Sniping SMA by Time/Trend with BBPT trend alignmentThis indicator is designed to trade XAUUSD and has defaults set during the hours (Central Time) that gold usually falls and when it usually rises. Using the input form defaults and a 1 to 3 minute timeframe on your chart is best. Don't take trades during the no-trade times (white line) and do trade when the line changes to either green or red. The first few bars going with the trend are high probability but as the trend fades the line will change to orange (caution signal) when the trend is likely over for the moment. This indicator is best used with the BBPT indicator that shows bull/bear strength. When the BBPT trend line is rising, pair with the green line in this indicator and when the BBPT trend is falling pair with the red line in this indicator for some high probability trades.
VWAP & EMAs with Accurate Color LogicThis Pine Script combines multiple technical indicators to help traders analyze price movements with precision. It features:
VWAP (Volume Weighted Average Price):
Displays the 5-minute VWAP with dynamic coloring:
White when the price is neutral.
Yellow when the price closes below the 5-minute VWAP.
Red when the price closes below the 15-minute VWAP.
Helps identify potential support and resistance levels.
VWAP Crossover Dots:
Blue dots appear on the chart whenever the price crosses the 5-minute VWAP, indicating a potential change in price direction.
Exponential Moving Averages (EMAs):
EMA 5, EMA 10, and EMA 21 with soft, eye-friendly colors.
EMA 50 and EMA 200 will only be displayed if the price is near them (within 1% threshold), helping you spot key support and resistance levels when the price is close to these longer-term moving averages.
This script is designed to assist day traders and swing traders by highlighting key price levels and crossovers, making it easier to spot trends and market reversals.
Shade Between 9 EMA and 20 EMAThis indicator shades the area between the 9 EMA and the 20 EMA.
The wider the area of shade, the stronger the trend and momentum. If the shaded area is more narrow, that tells you to possibly take caution as there is no clear trend yet.
21 EMA + VWAP Trend Bias
21 EMA + VWAP Trend Bias
This indicator combines the 21-period Exponential Moving Average (EMA) and the Volume-Weighted Average Price (VWAP) to provide a simple yet effective visual trend bias tool.
🔍 Core Features:
21 EMA Line (Orange): Tracks the short-to-mid-term price trend.
VWAP Line (Blue): Reflects the average trading price, weighted by volume, often used by institutional traders.
Trend Bias Highlight:
Green Background: Bullish bias — price is above both the 21 EMA and VWAP.
Red Background: Bearish bias — price is below both the 21 EMA and VWAP.
No Background: Neutral or mixed signals.
⚙️ Use Cases:
Quickly assess market trend direction at a glance.
Confirm entry or exit signals with dual-layer trend validation.
Great for intraday and swing traders who value clean, unobtrusive chart setups.
Best SMA FinderThis script, Best SMA Finder, is a tool designed to identify the most robust simple moving average (SMA) length for a given chart, based on historical backtest performance. It evaluates hundreds of SMA values (from 10 to 1000) and selects the one that provides the best balance between profitability, consistency, and trade frequency.
What it does:
The script performs individual backtests for each SMA length using either "Long Only" or "Buy & Sell" logic, as selected by the user. For each tested SMA, it computes:
- Total number of trades
- Profit Factor (total profits / total losses)
- Win Rate
- A composite Robustness Score, which integrates Profit Factor, number of trades (log-scaled), and win rate.
Only SMA configurations that meet the user-defined minimum trade count are considered valid. Among all valid candidates, the script selects the SMA length with the highest robustness score and plots it on the chart.
How to use it:
- Choose the strategy type: "Long Only" or "Buy & Sell"
- Set the minimum trade count to filter out statistically irrelevant results
- Enable or disable the summary stats table (default: enabled)
The selected optimal SMA is plotted on the chart in blue. The optional table in the top-right corner shows the corresponding SMA length, trade count, Profit Factor, Win Rate, and Robustness Score for transparency.
Key Features:
- Exhaustive SMA optimization across 991 values
- Customizable trade direction and minimum trade filters
- In-chart visualization of results via table and plotted optimal SMA
- Uses a custom robustness formula to rank SMA lengths
Use cases:
Ideal for traders who want to backtest and auto-select a historically effective SMA without manual trial-and-error. Useful for swing and trend-following strategies across different timeframes.
📌 Limitations:
- Not a full trading strategy with position sizing or stop-loss logic
- Only one entry per direction at a time is allowed
- Designed for exploration and optimization, not as a ready-to-trade system
This script is open-source and built entirely from original code and logic. It does not replicate any closed-source script or reuse significant external open-source components.
UM Dual MA with Price Bar Color change & Fill
Description
This is a dual moving average indicator with colored bars and moving averages. I wrote this indicator to keep myself on the right side of the market and trends. It plots two moving averages, (length and type of MA are user-defined) and colors the MAs green when trending higher or red when trending lower. The price bars are green when both MAs are green, red when both MAs are red, and orange when one MA is green and the other is red. The idea behind the indicator is to be extremely visual. If I am buying a red bar, I ask myself "why?" If I am selling a green bar, again, "why?"
Recommended Usage
Configure your tow favorite Moving averages. Consider long positions when one or both turn green. Scale into a position with a portion upon the first MA turning green, and then more when the second turns green. Consider scaling out when the bars are orange after an up move.
Orange bars are either areas of consolidation or prior to major turns.
You can also look for MA crossovers.
The indicator works on any timeframe and any security. I use it on daily, hourly, 2 day charts.
Default settings
The defaults are the author's preferred settings:
- 8 period WMA and 16 period WMA.
- Bars are green when both MAs are trending higher, red when both MAs are trending lower, and orange when one MA is trending higher and the other is trending lower.
Moving average types, lengths, and colors are user-configurable. Bar colors are also user-configurable.
Alerts
Alerts can be set by right-clicking the indicator and selecting the dropdown:
- Bullish Trend Both MAs turning green
- Bearish Trend Both MAs turning red
- Mixed Trend, 1 green 1 red MA
Helpful Hints:
Look for bullish areas when both MAs turn green after a sustained downtrend
Look for bearish areas when both MAs turn red
Careful in areas of orange bars, this could be a consolidation or a warning to a potential trend direction change.
Switch up your timeframes, I toggle back and forth between 1 and 2 days.
Stretch your timeframe over a lower time frame; for example, I like the 8 and 16 daily WMA. With most securities I get 16 bars with pre and post market. This translates into 128 and 256 MAs on the hourly chart. This slows down moves and color transitions for better manageability.
Author's Subjective Observations
I like the 128/256 WMA on the hourly charts for leveraged and inverse ETFs such as SPXL/SPXS, TQQQ/SQQQ, TNA/TZA. Or even the volatility ETFs/ETNS: UVXY, VXX.
Here is a one-hour chart example:
I have noticed that as volatility increases, I should begin looking at higher timeframes. This seems counterintuitive, but higher volatility increases the level of noise or swings.
I question myself when I short a green bar or buy a red bar; "Why am I doing this?" The colors help me visually stay on the right side of trend. If I am going to speculate on a market turn, at least do it when the bars are orange (MA trends differ)
My last observation is a 2-day chart of leveraged ETFs with the 8 and 16 WMAs. I frequently trade SPXL, FNGA, and TNA. If you are really dissecting this indicator,
look at a few 2-day charts. 2-day charts seem to catch the major swings nicely up and down. They also weed out the daily sudden big swings such as a panic move from economic data
or tweets. When both the MAs turn red on a 2-day chart the same day or same bar, beware; this could be a rough ride or short opportunity. I found weekly charts too long for my style but good
to review for direction. Less decisions on longer charts equate to less brain damage for myself.
These are just my thoughts, of course you do you and what suits your style best! Happy Trading.
Golden & Death CrossThis indicator highlights Golden Cross and Death Cross signals based on customizable moving averages. It is ideal for swing traders and trend-following strategies across various timeframes.
🔍 Features:
Customizable moving average types: Choose between Simple Moving Average (SMA) and Exponential Moving Average (EMA)
Flexible MA lengths: Default 50/200, but can be adjusted to any short/long period (e.g., 9/21 for crypto)
Clear visual markers: Plots labels directly on the chart where crossovers occur
Alert support: Built-in alerts for Golden and Death Cross events
Overlay-enabled: MAs and signals display directly over price action
📈 Signal Logic:
Golden Cross = Short MA crosses above Long MA → bullish signal
Death Cross = Short MA crosses below Long MA → bearish signal
Common configurations:
50/200 EMA → Long-term trend shifts
9/21 EMA → Short-term momentum
🔔 Alerts:
You can create alerts using:
Golden Cross Alert: Triggers on bullish crossover
Death Cross Alert: Triggers on bearish crossover
✅ Use Cases:
Spot major trend shifts
Confirm entry/exit points with moving average dynamics
Combine with volume, RSI, or other filters for advanced strategies
Notes:
This is a basic yet powerful crossover tool. For more advanced filtering, trend confirmation, or backtesting logic, feel free to clone and expand it.
Questions or suggestions? Leave a comment or fork the script for your own use.
weighted support or resistance linesQ: Why should users choose this script?
A: I found that in all the publicly available scripts about support and resistance lines, there is basically no weight identification for these lines. In other words, users do not know which support or resistance lines are the most important. So I specifically wrote this script.
1. By adjusting the weights, only the most effective support or resistance lines are displayed. (Length threshold of trend price (Bar))
2. By selecting the number of K-lines, only the latest number of support or resistance lines generated will be displayed. (Maximum number of reserved S/R lines)
3. By selecting whether to automatically remove lines, only support or resistance lines that have not been penetrated by the k-line will be displayed. If this function is checked, the weight can be adjusted lower, as high-weight SR may have already been penetrated, and the newly generated SR may have a lower weight. (Automatically remove lines penetrated by closing price confirmation)
4. Notes: The default parameters work well in 15-minute candlestick charts. For candlestick charts with other time periods, the parameters can be adjusted appropriately. It is suitable for sideways trading but not for strong trends.
5. I'm quite satisfied with the performance of the script, as I specifically optimized it, lol
Institutional Support/Resistance Locator🏛️ Institutional Support/Resistance Locator
Overview
The Institutional Support/Resistance Locator identifies high-probability demand and supply zones based on strong price rejection, large candle bodies, and elevated volume . These zones are commonly targeted or defended by institutional participants, helping traders anticipate potential reversal or continuation areas.
⸻
How It Works
The indicator uses a confluence of conditions to detect zones:
• Large Body Candles: Body size must exceed the moving average body size multiplied by a user-defined factor.
• High Volume: Volume must exceed the moving average volume by a configurable multiplier.
• Wick Rejection: Candles must show strong upper or lower wicks indicating aggressive rejection.
• If all criteria are met:
• Bullish candles form a Demand Zone.
• Bearish candles form a Supply Zone.
Each zone is plotted for a customizable number of future bars, representing areas where institutions may re-engage with the market.
⸻
Key Features
• ✅ Highlights institutional demand and supply areas dynamically
• ✅ Customizable sensitivity: body, volume, wick, padding, and zone extension
• ✅ Zones plotted as translucent regions with auto-expiry
• ✅ Works across all timeframes and markets
⸻
How to Use
• Trend Traders: Use demand zones for potential bounce entries in uptrends, and supply zones for pullback short entries in downtrends.
• Range Traders: Use zones as potential reversal points inside sideways market structures.
• Scalpers & Intraday Traders: Combine with volume or price action near zones for refined entries.
Always validate zone reactions with supporting indicators or price behavior.
⸻
Why This Combination?
The combination of wick rejection, volume confirmation, and large candle structure is designed to reflect footprints of smart money. Rather than relying on fixed pivots or subjective zones, this logic adapts to the current market context with statistically grounded conditions.
⸻
Why It’s Worth Using
This tool offers traders a structured way to interpret institutional activity on charts without relying on guesswork. By plotting potential high-impact areas, it helps improve reaction time.
⸻
Note :
• This script is open-source and non-commercial.
• No performance guarantees or unrealistic claims are made.
• It is intended for educational and analytical purposes only.
Triangle Breakout Strategy with TP/SL, EMA Filter📌 Triangle Breakout Strategy with TP/SL, EMA Filters, and Backtest – Explained.
✅ 1. Pattern Detection – Triangle Breakout
The script scans for triangle patterns by detecting local pivot highs and pivot lows.
It uses two recent highs and two recent lows to draw converging trendlines (upper and lower boundaries of the triangle).
If the price breaks above the upper trendline, a bullish breakout signal is generated.
🎯 2. TP (Take Profit) & SL (Stop Loss)
When a bullish breakout is detected:
A buy order is placed using strategy.entry.
TP and SL levels are calculated relative to the current close price:
TP = 3% above the entry price
SL = 1.5% below the entry price
These are defined using strategy.exit.
📊 3. EMA Filter
An optional filter checks if:
Price is above both EMA 20 and EMA 50
Only if this condition is met, the strategy allows a long entry.
You can toggle the filter on or off with useEMAFilter.
📈 4. Backtesting with Strategy Tester
This script uses strategy() instead of indicator() to enable TradingView’s built-in backtest engine.
Every buy entry and exit (based on TP or SL) is recorded.
📌 5. Visuals
EMA 20 and EMA 50 lines are plotted on the chart.
A label is shown when a breakout is detected: "Breakout Up"
Results (profit, win rate, drawdown, etc.) can be viewed in the Strategy Tester panel.
Volume towers by GSK-VIZAG-AP-INDIAVolume Towers by GSK-VIZAG-AP-INDIA
Overview :
This Pine Script visualizes volume activity and provides insights into market sentiment through the display of buying and selling volume, alongside moving averages. It highlights high and low volume candles, enabling traders to make informed decisions based on volume anomalies. The script is designed to identify key volume conditions, such as below-average volume, high-volume candles, and their relationship to price movement.
Script Details:
The script calculates a Simple Moving Average (SMA) of the volume over a user-defined period and categorizes volume into several states:
Below Average Volume: Volume is below the moving average.
High Volume: Volume exceeds the moving average by a multiplier (configurable by the user).
Low Volume: Volume that doesn’t qualify as either high or below average.
Additionally, the script distinguishes between buying volume (when the close is higher than the open) and selling volume (when the close is lower than the open). This categorization is color-coded for better visualization:
Green: Below average buying volume.
Red: Below average selling volume.
Blue: High-volume buying.
Purple: High-volume selling.
Black: Low volume.
The Volume Moving Average (SMA) is plotted as a reference line, helping users identify trends in volume over time.
Features & Customization:
Customizable Inputs:
Volume MA Length: The period for calculating the volume moving average (default is 20).
High Volume Multiplier: A multiplier for defining high volume conditions (default is 2.0).
Color-Coded Volume Histograms:
Different colors are used for buying and selling volume, as well as high and low-volume candles, for quick visual analysis.
Alerts:
Alerts can be set for the following conditions:
Below-average buying volume.
Below-average selling volume.
High-volume conditions.
How It Works:
Volume Moving Average (SMA) is calculated using the user-defined period (length), and it acts as the baseline for categorizing volume.
Volume Conditions:
Below Average Volume: Identifies candles with volume below the SMA.
High Volume: Identifies candles where volume exceeds the SMA by the set multiplier (highVolumeMultiplier).
Low Volume: When volume is neither high nor below average.
Buying and Selling Volume:
The script identifies buying and selling volume based on the closing price relative to the opening price:
Buying Volume: When the close is greater than the open.
Selling Volume: When the close is less than the open.
Volume histograms are then plotted using the respective colors for quick visualization of volume trends.
User Interface & Settings:
Inputs:
Volume MA Length: Adjust the period for the volume moving average.
High Volume Multiplier: Define the multiplier for high volume conditions.
Plots:
Buying Volume: Green bars indicate buying volume.
Selling Volume: Red bars indicate selling volume.
High Volume: Blue or purple bars for high-volume candles.
Low Volume: Black bars for low-volume candles.
Volume Moving Average Line: Displays the moving average line for reference.
Source Code / Authorship:
Author: prowelltraders
Disclaimer:
This script is intended for educational purposes only. While it visualizes important volume data, users are encouraged to perform their own research and testing before applying this script for trading decisions. No guarantees are made regarding the effectiveness of this script for real-world trading.
Contact & Support:
For questions, support, or feedback, please reach out to the author directly through TradingView (prowelltraders).
Signature:
GSK-VIZAG-AP-INDIA
FLAT Multi-TF EMAs 3 EMA's where you can Choose the Timeframes you like and need on any other Timeframe!