AlgoPilotX - Breakout & Breakdown Meter (v1)Version Note:
This is a revised and improved version of the AlgoPilotX – Breakout & Breakdown Meter. It includes expanded explanations of the underlying logic, variable usage, and originality to comply with TradingView guidelines.
AlgoPilotX – Breakout & Breakdown Meter is a structured trading tool that combines Fair Value Gap (FVG) detection, session-based support/resistance breakouts, and a clean market condition info panel. It’s designed to help traders spot potential setups early and confirm stronger breakouts or breakdowns with context from momentum, volatility, and trend indicators.
How It Works
Session Levels → The first candle high/low of the session defines dynamic support/resistance. Unlike static pivots, these levels update with each new trading session and reflect real intraday sentiment.
Fair Value Gaps (FVGs) → A three-candle imbalance highlights inefficiencies. When detected, the script marks the open of the third candle as a potential entry (light green/red arrow).
Pullback Confirmations → If price pulls back into session support/resistance and then breaks away strongly, a stronger entry signal (dark green/red arrow) is plotted.
Breakouts & Breakdowns → Additional arrows appear when price crosses decisively above resistance or below support.
Signal Hierarchy → Arrows vary by color/size:
Light = early/potential setups.
Dark/Large = stronger confirmations.
Info Panel Dashboard → RSI, MACD, Bollinger Bands, and EMAs are displayed in a compact table with both numeric values and Bullish/Bearish/Neutral states, color-coded for quick interpretation.
How the Functions and Variables Work Together
Session Levels (Support & Resistance)
The script uses time() and session inputs to identify the first candle of the chosen trading session.
Variables sessionHigh and sessionLow are stored with var so they persist until the next session.
These levels are then plotted as dynamic support/resistance lines. This approach is different from static pivots or daily highs/lows, because it adapts in real-time to the market open.
Fair Value Gap (FVG) Detection
Conditions check for three-candle imbalances ( low > high for bullish, high < low for bearish).
When detected, a potential entry is marked at the open of the third candle.
Variables fvgBull and fvgBear define this logic , making FVGs a core entry condition rather than a side overlay.
Entry Hierarchy (Light vs. Dark Arrows)
longPotentialEntry and shortPotentialEntry mark light green/red arrows as early signals.
pullbackToSupport and pullbackToResistance build on these by requiring price to return to session levels and then break away again.
This creates the dark green/red arrows for stronger entries, introducing a two-step filtering process.
Breakout & Breakdown Detection
breakAbove = ta.crossover(close, sessionHigh)
breakBelow = ta.crossunder(close, sessionLow)
These conditions confirm true breakouts or breakdowns beyond support/resistance, reducing noise.
Info Panel Construction
A table is created and updated each bar.
Functions like ta.rsi(), ta.ema(), ta.sma(), and ta.stdev() calculate RSI, MACD, EMAs, and Bollinger Bands.
Each indicator’s state is summarized into human-readable text (e.g., “Bullish,” “Bearish,” “Above,” “Oversold”) and displayed with color coding using the helper function f_stateColor().
Values are also displayed numerically (RSI, MACD histogram, EMA levels, BB width), making this a dashboard rather than just arrows on a chart.
Helper Function for States
f_stateColor(state) translates qualitative states into consistent colors (green for bullish/above, red for bearish/below, orange for neutral, purple for overbought/oversold).
This ensures that every signal in the info panel has a visual identity that traders can read instantly.
Alerts Integration
alertcondition() is tied to each major event: FVG potential entries, strong pullback confirmations, and breakout/breakdown signals.
This allows the script to be used for alerts, notifications and automation , not just visual charting.
How to Use
1. Default timeframe = 15m (adjustable).
2. The first session candle defines support & resistance.
3. Watch for arrows:
Light green (▲) below candle → Potential breakout long (FVG detected).
Dark green (▲) below candle → Strong breakout confirmation after pullback.
Light red (▼) above candle → Potential breakdown short (FVG detected).
Dark red (▼) above candle → Strong breakdown confirmation after pullback.
Larger arrows = higher confidence signals.
4. Check the Info Panel for context:
RSI → momentum
MACD → trend confirmation
Bollinger Bands → overbought/oversold
EMA20 & EMA50 → short- and medium-term trend bias
5. Always confirm with your own price action, volume, and risk management rules.
6. Easily move the Info Panel to any corner of the chart via settings to keep your view clear.
Why This Structure Is Original
Not a mashup : Instead of simply overlaying RSI, MACD, or EMAs, the script integrates them into a signal-filtering framework.
Dynamic anchoring: Session-based high/low variables make levels adaptive to intraday structure, unlike fixed pivots.
Dual entry tiering: Light vs. dark arrows are built by combining FVGs + pullback conditions, offering nuance most breakout scripts lack.
Dashboard-style panel: Variables are summarized into a real-time info box with both numbers and state labels, replacing multiple chart overlays with one compact tool.
Modular functions: Breakout, pullback, FVG detection, and indicator states are modularized with separate variables — making the script flexible, extendable, and unique in design.
Disclaimer
This script is for educational purposes only. It does not constitute financial advice and does not guarantee profitable outcomes. Always backtest thoroughly, paper trade, and use proper risk management before trading live.
Średnie kroczące
StdDev Supertrend {CHIPA}StdDev Supertrend ~ C H I P A is a supertrend style trend engine that replaces ATR with standard deviation as the volatility core. It can operate on raw prices or log return volatility, with optional smoothing to control noise.
Key features include:
Supertrend trailing rails built from a stddev scaled envelope that flips the regime only when price closes through the opposite rail.
Returns-based mode that scales volatility by log returns for more consistent behavior across price regimes.
Optional smoothing on the volatility input to tune responsiveness versus stability.
Directional gap fill between price and the active trend line on the main chart; opacity adapts to the distance (vs ATR) so wide gaps read stronger and small gaps stay subtle.
Secondary pane view of the rails with the same adaptive fade, plus an optional candle overlay for context.
Clean alerts that fire once when state changes
Use cases: medium-term trend following, stop/flip systems, and visual regime confirmation when you prefer stddev-based distance over ATR.
Note: no walk-forward or robustness testing is implied; parameter choices and risk controls are on you.
The Dark Heaven Price Action indicatorcreated by professor Santhosh . The Dark Heaven trading academy Mysore! it will help to find the Higher High, Lower Lows of the market to enter the trade and trade in right direction.
Trend Pro V2 [CRYPTIK1]Introduction: What is Trend Pro V2?
Welcome to Trend Pro V2! This analysis tool give you at-a-glance understanding of the market's direction. In a noisy market, the single most important factor is the dominant trend. Trend Pro V2 filters out this noise by focusing on one core principle: trading with the primary momentum.
Instead of cluttering your chart with confusing signals, this indicator provides a clean, visual representation of the trend, helping you make more confident and informed trading decisions.
The dashboard provides a simple, color-coded view of the trend across multiple timeframes.
The Core Concept: The Power of Confluence
The strength of any trading decision comes from confluence—when multiple factors align. Trend Pro V2 is built on this idea. It uses a long-term moving average (200-period EMA by default) to define the primary trend on your current chart and then pulls in data from three higher timeframes to confirm whether the broader market agrees.
When your current timeframe and the higher timeframes are all aligned, you have a state of "confluence," which represents a higher-probability environment for trend-following trades.
Key Features
1. The Dynamic Trend MA:
The main moving average on your chart acts as your primary guide. Its color dynamically changes to give you an instant read on the market.
Teal MA: The price is in a confirmed uptrend (trading above the MA).
Pink MA: The price is in a confirmed downtrend (trading below the MA).
The moving average changes color to instantly show you if the trend is bullish (teal) or bearish (pink).
2. The Multi-Timeframe (MTF) Trend Dashboard:
Located discreetly in the bottom-right corner, this dashboard is your window into the broader market sentiment. It shows you the trend status on three customizable higher timeframes.
Teal Box: The trend is UP on that timeframe.
Pink Box: The trend is DOWN on that timeframe.
Gray Box: The price is neutral or at the MA on that timeframe.
How to Use Trend Pro V2: A Simple Framework
Step 1: Identify the Primary Trend
Look at the color of the MA on your chart. This is your starting point. If it's teal, you should generally be looking for long opportunities. If it's pink, you should be looking for short opportunities.
Step 2: Check for Confluence
Glance at the MTF Trend Dashboard.
Strong Confluence (High-Probability): If your main chart shows an uptrend (Teal MA) and the dashboard shows all teal boxes, the market is in a strong, unified uptrend. This is a high-probability environment to be a buyer on dips.
Weak or No Confluence (Caution Zone): If your main chart shows an uptrend, but the dashboard shows pink or gray boxes, it signals disagreement among the timeframes. This is a sign of market indecision and a lower-probability environment. It's often best to wait for alignment.
Here, the daily trend is down, but the MTF dashboard shows the weekly trend is still up—a classic sign of weak confluence and a reason for caution.
Best Practices & Settings
Timeframe Synergy: For best results, use Trend Pro on a lower timeframe and set your dashboard to higher timeframes. For example, if you trade on the 1-hour chart, set your MTF dashboard to the 4-hour, 1-day, and 1-week.
Use as a Confirmation Tool: Trend Pro V2 is designed as a foundational layer for your analysis. First, confirm the trend, then use your preferred entry method (e.g., support/resistance, chart patterns) to time your trade.
This is a tool for the community, so feel free to explore the open-source code, adapt it, and build upon it. Happy trading!
For your consideration @TradingView
Open Close MA's 📈📉⸻
📈 Open Close MA’s
This indicator helps you see the relationship between the market’s open and close prices by tracking them with Moving Averages (MA’s).
4 different Moving Averages can be selected: EMA (Exponential), SMA (Simple), HMA (Hull), and SMMA (Smoothed).
For those who aren’t sure which Moving Average is “right for them”… here’s a basic breakdown:
- Smoothed is the slowest (trendy)
- Simple is less slow
- Exponential reacts faster
- Hull is fast, yet smooth, and can be predictive
Keep in mind, the Length of any Moving Average is essential to the timeframe and strategy you are running.
Visually, this is what the indicator does:
• One line follows the average of closing prices of each candle.
• Another line follows the average of opening prices of each candle.
• When the close average is above the open average → the market is leaning bullish ⬆️.
• When the close average is below the open average → the market is leaning bearish ⬇️.
The indicator makes this easy to see by coloring the area between the two lines green (bullish) or orange (bearish). You can also turn on optional buy/sell markers whenever the two lines cross.
NOTE: Depending on the Base Timeframe field, the two lines crossing can occur in rapid succession, and should not (in and of itself) be considered a reason to enter a trade Long or Short.
⸻
Customization
• Choose between EMA, SMA, HMA, or SMMA.
• Adjust colors and transparency for bullish/bearish zones.
• Optional signal markers show crossover points.
• Base Timeframe is in minutes (default 5m), increase/decrease to match your timeframe for the most responsive Open/Close Moving Averages along those candles. For longer term trend information, increase beyond your timeframe (example: 30m setting on a 5m chart).
⸻
• Close MA (c) and Open MA (o) are calculated separately using selected MA type.
• Dynamic length (len_i) scales based on base timeframe input (default 5m), so the smoothing adapts intelligently across different chart timeframes.
• Bull/Bear bias = c > o. The fill between the two lines switches colors accordingly.
• SMMA is implemented as a recursive calculation (similar to TradingView’s RMA, but explicitly coded here).
• Buy/Sell markers are triggered on ta.crossover(c, o) and ta.crossunder(c, o).
⸻ End of Line 📉 ———
RMA EMA Crossover | MisinkoMasterThe RMA EMA Crossover (REMAC) is a trend-following overlay indicator designed to detect shifts in market momentum using the interaction between a smoothed RMA (Relative Moving Average) and its EMA (Exponential Moving Average) counterpart.
This combination provides fast, adaptive signals while reducing noise, making it suitable for a wide range of markets and timeframes.
🔎 Methodology
RMA Calculation
The Relative Moving Average (RMA) is calculated over the user-defined length.
RMA is a type of smoothed moving average that reacts more gradually than a standard EMA, providing a stable baseline.
EMA of RMA
An Exponential Moving Average (EMA) is then applied to the RMA, creating a dual-layer moving average system.
This combination amplifies trend signals while reducing false crossovers.
Trend Detection (Crossover Logic)
Bullish Signal (Trend Up) → When RMA crosses above EMA.
Bearish Signal (Trend Down) → When EMA crosses above RMA.
This simple crossover system identifies the direction of momentum shifts efficiently.
📈 Visualization
RMA and EMA are plotted directly on the chart.
Colors adapt dynamically to the current trend:
Cyan / Green hues → RMA above EMA (bullish momentum).
Magenta / Red hues → EMA above RMA (bearish momentum).
Filled areas between the two lines highlight zones of trend alignment or divergence, making it easier to spot reversals at a glance.
⚡ Features
Adjustable length parameter for RMA and EMA.
Overlay format allows for direct integration with price charts.
Visual trend scoring via color and fill for rapid assessment.
Works well across all asset classes: crypto, forex, stocks, indices.
✅ Use Cases
Trend Following → Stay on the right side of the market by following momentum shifts.
Reversal Detection → Crossovers highlight early trend changes.
Filter for Trading Systems → Use as a confirmation overlay for other indicators or strategies.
Visual Market Insight → Filled zones provide immediate context for trend strength.
MACD Swing Trader MACD Swing Trader
Overview
The MACD Swing Trader is a Pine Script v5 indicator designed for swing trading on the BTC/USDT pair, optimized for 4-hour or daily timeframes. Built on the classic MACD (Moving Average Convergence Divergence) indicator, it incorporates a 200-period EMA trend filter and a unique feature to prevent consecutive Buy or Sell signals, ensuring cleaner and more reliable trade setups. This indicator is ideal for traders seeking high-probability entries and exits in the volatile crypto market, with a backtested win rate of approximately 80-87% on historical BTC/USDT data.
Features
MACD-Based Signals: Generates Buy signals on MACD line crossovers above the signal line (below zero) and Sell signals on crossunders (above zero), capturing momentum shifts.
EMA 200 Trend Filter: Only triggers Buy signals in uptrends (price > EMA 200) and Sell signals in downtrends (price < EMA 200), aligning trades with the broader market direction.
No Consecutive Signals: Prevents repetitive signals (e.g., no back-to-back Buy signals) until an opposite signal occurs, reducing noise and improving signal quality.
Visual Aids: Displays the EMA 200 line, color-coded trend background (green for uptrend, red for downtrend), and clear Buy/Sell labels on the chart.
Customizable Parameters: Adjustable MACD lengths (default: 12, 26, 9) and EMA length (default: 200) for fine-tuning to different market conditions.
Alerts: Built-in alert conditions for real-time notifications on Buy/Sell signals, compatible with TradingView's alert system.
Separate MACD Panel: Visualizes MACD and signal lines with a zero line for additional analysis.
How to Use
Setup: Add the indicator to TradingView by copying the Pine Script code into the Pine Editor and applying it to the BTC/USDT chart (recommended: 4h or daily timeframe).
Entry Rules:
Buy: Green "BUY" label appears below the price bar when MACD crosses above the signal line, MACD is below zero, and price is above EMA 200.
Sell: Red "SELL" label appears above the price bar when MACD crosses below the signal line, MACD is above zero, and price is below EMA 200.
Exit Rules: Use a trailing stop (e.g., ATR-based) or exit on the opposite signal. Aim for a risk-to-reward ratio of 2:1 or 3:1.
Backtesting: Validate performance using TradingView’s Strategy Tester. Historical backtests suggest a win rate of ~80-87% on BTC/USDT 4h, though results may vary.
Risk Management: Always use proper risk management (e.g., 1-3% risk per trade) and test thoroughly before live trading.
Notes
Market Specificity: Optimized for BTC/USDT due to its volatility and trending nature. Test on other pairs before use.
Customization: Adjust MACD or EMA parameters for different timeframes or assets. Consider adding volume filters for enhanced accuracy.
Risk Warning: Trading cryptocurrencies involves significant risk. Past performance does not guarantee future results. Only risk capital you can afford to lose.
Community Sharing
Feel free to share this indicator with the TradingView community! It’s designed to help swing traders capture high-probability setups while minimizing signal clutter. Feedback and suggestions for improvements are welcome.
TSLA Scalping Signals (Volume + RSI + MACD + VWAP)//@version=5
indicator("TSLA Scalping Signals (Volume + RSI + MACD + VWAP)", overlay=true, timeframe="", timeframe_gaps=true)
// =========================
// 사용자 입력(파라미터)
// =========================
// RSI 길이와 과매도/과매수 기준
rsiLen = input.int(5, "RSI 길이", minval=2)
rsiLow = input.int(35, "RSI 과매도 기준", minval=5, maxval=50)
rsiHigh = input.int(70, "RSI 과매수 기준", minval=50, maxval=95)
// MACD 파라미터
fastLen = input.int(12, "MACD Fast", minval=1)
slowLen = input.int(26, "MACD Slow", minval=2)
sigLen = input.int(9, "MACD Signal", minval=1)
// 거래량 스파이크 판단용
volSmaLen = input.int(20, "거래량 SMA 길이", minval=5)
volSpikeMult = input.float(1.5, "거래량 스파이크 배수", minval=0.5, step=0.1)
// 손절/익절(선택)
useStops = input.bool(true, "손절/익절 사용")
stopATRlen = input.int(14, "ATR 길이", minval=5)
stopATRmult = input.float(1.2, "손절 ATR 배수", minval=0.5, step=0.1)
tpRR = input.float(1.5, "익절 R 비율(손절의 배수)", minval=0.5, step=0.1)
// =========================
// 지표 계산부
// =========================
// VWAP: 단타 기준 핵심 추세선
vwap = ta.vwap(close)
// RSI(단기)
rsi = ta.rsi(close, rsiLen)
// MACD
macd = ta.ema(close, fastLen) - ta.ema(close, slowLen)
sig = ta.ema(macd, sigLen)
hist = macd - sig
// 거래량 스파이크: 현재 거래량이 거래량 SMA * 배수 이상인지
volSma = ta.sma(volume, volSmaLen)
volSpike = volume > volSma * volSpikeMult
// =========================
// 진입/청산 조건
// =========================
// 롱 진입 조건:
// 1) 가격 VWAP 위
// 2) MACD 상향 교차
// 3) RSI가 rsiLow 아래→위로 돌파
// 4) 거래량 스파이크
longCond = close > vwap and ta.crossover(macd, sig) and ta.crossover(rsi, rsiLow) and volSpike
// 롱 청산 조건(부분 청산/전체 청산 판단은 사용자 재량):
// A) RSI 과매수 도달, 또는
// B) MACD 하향 교차, 또는
// C) 가격이 VWAP 아래로 종가 이탈하면서 거래량 약화(현재 거래량 < volSma)
exitCond = (rsi > rsiHigh) or ta.crossunder(macd, sig) or (close < vwap and volume < volSma)
// =========================
// 시각적 표시
// =========================
plot(vwap, "VWAP", linewidth=2)
plotshape(longCond, title="BUY", style=shape.labelup, text="BUY", location=location.belowbar, size=size.tiny)
plotshape(exitCond, title="SELL", style=shape.labeldown, text="SELL", location=location.abovebar, size=size.tiny)
// 보조 하단창: RSI, MACD는 별도 패널이 일반적이므로 값만 툴팁용 표시
// (원하면 아래 plot들을 꺼도 됨)
rsiPlot = plot(rsi, title="RSI(단기)", color=color.new(color.blue, 0), display=display.none)
h1 = hline(rsiLow, "RSI 과매도", color=color.new(color.teal, 50))
h2 = hline(rsiHigh, "RSI 과매수", color=color.new(color.red, 50))
// =========================
// 간단 손절/익절 레벨(선택)
// =========================
// 매수 발생 바의 가격을 기준으로 ATR 손절/익절 레벨 산출
atr = ta.atr(stopATRlen)
var float entryPrice = na
var float stopPrice = na
var float takePrice = na
// 롱 진입 시 가격 고정
if (longCond)
entryPrice := close
stopPrice := useStops ? (close - atr * stopATRmult) : na
takePrice := useStops ? (close + (close - stopPrice) * tpRR) : na
// 청산 신호 시 초기화
if (exitCond)
entryPrice := na
stopPrice := na
takePrice := na
plot(entryPrice, "Entry", color=color.new(color.green, 60), style=plot.style_circles, linewidth=2)
plot(stopPrice, "Stop", color=color.new(color.red, 60), style=plot.style_linebr, linewidth=2)
plot(takePrice, "Take", color=color.new(color.blue, 60), style=plot.style_linebr, linewidth=2)
// =========================
// 알림 조건
// =========================
alertcondition(longCond, title="BUY Signal", message="BUY signal: VWAP↑, MACD cross↑, RSI cross↑, Volume spike.")
alertcondition(exitCond, title="SELL Signal", message="SELL signal: RSI high or MACD cross↓ or below VWAP with weak volume.")
EMA Ribbon - Adjustable with Toggles📌 Script Name:
EMA Ribbon - Adjustable with Toggles
🧠 Primary Function:
This script plots a customizable Exponential Moving Average (EMA) Ribbon on Trading View charts. It allows the user to enable or disable any of the 8 EMAs individually and shows buy/sell signals based on the crossover between the fastest and slowest EMAs.
⚙️ Key Features:
✅ User Controls:
Toggle ON/OFF each of the 8 EMAs independently.
Set the length of each EMA (from 1 upward).
EMA colors vary based on their speed (green for faster, orange for slower).
📈 EMA Calculation:
Calculates 8 separate EMAs using the closing price (close).
🎨 Chart Visualization:
Plots each EMA with a unique color and transparency.
Draws a colored ribbon between the highest and lowest active EMAs to visualize trend zones.
📊 Trend Direction Logic:
The trend is determined solely based on EMA 1 (fastest) and EMA 8 (slowest).
A bullish trend is when EMA 1 > EMA 8, and bearish when EMA 1 < EMA 8.
📍 Buy/Sell Signals:
Buy Signal: When the trend shifts from bearish to bullish (EMA 1 crosses above EMA 8).
Sell Signal: When the trend shifts from bullish to bearish (EMA 1 crosses below EMA 8).
Signals are displayed as green (buy) and red (sell) triangles on the chart.
🔔 Alerts:
Built-in alert conditions for buy and sell signals.
Custom alert messages in Arabic (can be modified if needed).
🌟 Additional Highlights:
Well-structured and easy to expand.
Great for trend-following strategies using EMA ribbons.
Helps identify consolidation zones and trend confirmation.
8/21 EMA Crossover SignalAdds a buy signal to the chart when the 8 day EMA and 21 day EMA form a bullish cross and a sell signal when they form a bearish cross.
Slingshot TrendSlingshot Trend Indicator Guide
What it does: This TradingView indicator identifies bullish "slingshot" momentum in uptrends. It uses stacked EMAs (21/34/55/89) and a higher-timeframe 89 EMA to confirm trends, then flags the first price breakout above a 4-period EMA of highs (after 3 bars below) as an entry signal.
Key signals:
☑️Entry trigger: Orange shape below bar + yellow entry line/label (at close price) when first slingshot fires in a bullish trend. Bars turn teal.
☑️Target: Green dashed line/label (entry + avg past ATR multiple × 14-period ATR).
☑️Exit: When trend ends (EMAs unstack or price drops below higher-TF 89 EMA); lines vanish.
Dashboard (bottom-right, if enabled):
☑️ATRx: Avg move size (in ATR multiples) for targets.
☑️Win%: % of past targets hit.
☑️AvgTTH: Avg days to target hit.
Tips: Use on higher timeframes (e.g., 1H+). Alert fires on trigger for notifications. Backtest on your assets—win rate tracks historical hits.
🐬TSI_ShadowAdded the following features to the original TSI Shadow indicator by Daveatt
- Candle color on/off
- Background color on/off
- Conservative signal processing based on the zero line on/off
- Conservative signal processing based on full signal alignment on/off
YouTube: 'Dolphin Gang'
기존 Daveatt 유저가 개발한 TSI Shadow 에서 아래 기능을 추가 하였습니다.
- 캔들 색상 on/off
- 배경 색상 on/off
- 0선 기준으로 신호 발생 보수적 처리 on/off
- 전체 배열 신호 발생 보수적 처리 on/off
유튜브 '돌고래매매단'
VWAP Bollinger CrossBased on the crossover of the moving average and VWAP, this indicator can help you find a trend. It is not recommended to use it only for entries. Try it and I hope it can help you.
Médias Móveis - O Caminhos das CriptosMoving Average Indicator: MA 200, EMA 200, EMA 100, EMA 50, and EMA 20
This indicator simultaneously displays five essential moving averages for technical analysis.
Indicador Médias Móveis MA e EMAs - O Caminho das CriptosMoving Average Indicator: MA 200, EMA 200, EMA 100, EMA 50, and EMA 20
This indicator simultaneously displays five essential moving averages for technical analysis.
Indicador Médias Móveis MA e EMA - Caminho das CriptosMoving Average Indicator: MA 200, EMA 200, EMA 100, EMA 50, and EMA 20
This indicator simultaneously displays five essential moving averages for technical analysis.
Elliott Wave Auto (Impulse + Correction) — stable deleteAutomatic pivot detection: The script identifies swing highs and swing lows using ta.pivothigh and ta.pivotlow.
Impulse wave labeling (1–5):
Detects 5 alternating pivots and labels them as waves 1 to 5.
Uses green/red labels for impulse and correction legs.
Connects waves with blue lines for visual clarity.
Corrective wave labeling (A–B–C):
Detects the next 3 alternating pivots after wave 5.
Labels them as A, B, C with orange lines connecting them.
Dynamic cleanup:
Stores labels and lines in arrays.
Deletes previous drawings automatically before redrawing, keeping the chart clean.
Optional pivot markers:
Plots tiny triangles for detected pivots (green for lows, red for highs).
Information table:
Displays the direction (Bullish/Bearish) and percentage move of the 1–5 impulse waves.
Pine Script v5 compliant:
Uses str.tostring() and array-based deletion to avoid tostring() or line.deleteall() errors.
If you want, I can also add an alert feature to notify you when a full impulse + corrective wave pattern completes. This makes it actionable for trading.
Mirrorpip 5-MAs StrategyThis strategy has 5 Moving averages and all of them can be changed to
SMA/EMA/WMA/TEMA/DEMA
TGT/SL/TSL in points and percentage as well
works with all major crypto exchanges
NY Anchored VWAP and Auto SMAThis NY Anchored VWAP and Auto SMA script is a powerful combination of two of the most popular technical indicators, designed to help you identify the intraday trend and potential shifts in market momentum. It stands out by automatically adjusting to current volatility, providing more adaptive and reliable signals than standard moving averages.
How It Works
This script combines a New York session-anchored VWAP with a dynamic Simple Moving Average (SMA) that automatically adjusts its length based on market volatility.
New York Anchored VWAP: The VWAP (Volume-Weighted Average Price) resets at the beginning of the New York trading session. This allows it to accurately track the average price paid by traders for the day, providing a key benchmark for identifying whether the price is trading at a premium or a discount relative to the volume-driven trend. The color of the VWAP line itself changes to indicate its slope: green for an upward trend and red for a downward trend.
Auto SMA: The script calculates a Simple Moving Average (SMA) but with a twist. It uses the Average True Range (ATR) to measure market volatility. When volatility is high, the SMA's lookback period automatically shortens to make it more responsive to price changes. Conversely, when volatility is low, the lookback period lengthens to smooth out the data and reduce noise. This dynamic adjustment helps the SMA stay relevant in all market conditions.
Key Features
Adaptive Lookback: The Auto SMA dynamically adjusts to market volatility, providing more responsive signals during volatile periods and smoother, more reliable signals during calm periods.
Color-Coded VWAP: The VWAP line changes color to instantly show the direction of the trend, making it easy to see at a glance if the average price is rising or falling.
Automated Alerts: The script provides automated alerts for when the VWAP crosses above or below the Auto SMA, signaling potential bullish or bearish momentum shifts.
Customizable Settings: You can hide the VWAP on daily or higher timeframes and change the source for the VWAP calculation to suit your specific trading style.
This tool is perfect for intraday and swing traders who want a more intelligent and adaptive way to measure trend direction and identify potential trading opportunities.
Risk Management & Auto-Close (v6)This strategy is a dual moving average crossover system designed for reliable backtesting and trade management. It opens trades on fast/slow MA crossovers and includes multiple built-in risk controls to ensure every trade is properly simulated in TradingView’s Strategy Tester.
Key Features:
📈 MA Crossover Logic: Choose between SMA, EMA, or WMA with adjustable fast/slow periods.
🔄 Auto Flip Positions: Automatically closes the opposite trade before opening a new one.
🎯 Risk Management: Optional take profit, stop loss, and trailing stop parameters.
⏳ Auto-Close: Forces trades to close after a set number of bars (avoids “open forever” trades).
🧪 Debug Tools: Labels, counters, and optional forced trades for testing and diagnostics.
📊 Status Table: Displays signals, trades, and net profit directly on the chart.
This makes it ideal for traders who want a clean backtest report, easy visualization of signals, and confidence that the strategy logic executes properly across different timeframes and instruments.