Multi-Level EnvelopeMulti-Level Envelope
Features of this indicator:
5 different levels of Envelope bands
Separate input field for each level to set the percentage deviation value
Different colors for each level to easily distinguish between them
Thick baseline in the middle for the moving average
Полосы и каналы
Volatility Monitor [HTF/LTF Maki]The way to set a buying and selling rule base on EMA in Multi Time Frame
Simple Enhanced MMAThe Enhanced MMA (Multi-Moving Average) Ribbon System
This is a comprehensive trend-following indicator that displays 28 moving averages simultaneously, creating a "ribbon" effect that reveals market structure at a glance. Think of it as a heat map of price momentum across multiple timeframes.
Key Components:
1. The Ribbon Structure:
Fast MAs (2-18): React quickly to price changes - for scalping and short-term momentum
Medium MAs (20-50): Core trend indicators - the "backbone" of the trend
Slow MAs (55-100): Long-term trend and major support/resistance levels
2. Visual Intelligence:
Green lines: MA is rising (bullish momentum)
Red lines: MA is falling (bearish momentum)
Yellow lines: Key levels at MA20 and MA50 (institutional favorites)
Cloud shading: Shows the relationship between MA20/50 - green cloud = bull market, red = bear market
How to Read It:
Ribbon Expansion/Compression:
When MAs spread apart → Strong trending market
When MAs compress together → Consolidation, potential breakout coming
When all MAs align in order → Powerful trend in progress
Trading Signals:
BUY signal: MA20 crosses above MA50 (Golden Cross)
SELL signal: MA20 crosses below MA50 (Death Cross)
Trend label: Shows overall market bias
Best Use Cases:
Trend confirmation - When all MAs are green and spreading = strong uptrend
Support/Resistance - MAs act as dynamic support in uptrends, resistance in downtrends
Entry timing - Wait for price to pull back to the ribbon in a trend
Trend exhaustion - When fast MAs start changing color while slow ones haven't = potential reversal
The Power of This Indicator:
It's like having 28 trend advisors all voting on market direction. When they all agree (all green or all red), you have high conviction. When they're mixed, the market is in transition. The ribbon literally shows you the "flow" of the market - you can see momentum ripple through the timeframes like a wave.
Pro tip: The most powerful moves happen when the ribbon goes from completely compressed (all MAs bunched together) to rapidly expanding in one direction - that's when big trends are born!
Premarket Hi/Lo + Prior Day O/C LevelsPremarket Hi/Lo + Prior Day O/C (today only) shows four clear reference levels for the current regular trading session: the Premarket High and Premarket Low (taken from a user-defined premarket window, 04:00–09:30 by default) and Yesterday’s 09:30 Open and 15:59 Close (sourced from the 1-minute feed for accuracy). The premarket levels “lock” at the opening bell so they don’t move for the rest of the day. All four lines are displayed only during today’s regular hours to keep the chart focused. Small right-edge labels and an optional top-right mini-table show the exact values at a glance.
This indicator is designed to give immediate context without technical jargon. The premarket high/low summarize where price traveled before the bell; the prior-day open/close summarize where the last session began and ended. Checking whether price is above or below these markers helps you quickly judge strength or weakness and anticipate where price may pause, bounce, or break. Typical uses include watching for a clean break and hold above Premarket High (often bullish), a break and hold below Premarket Low (often bearish), drift back toward Prior Day Close after a gap (a common “magnet”), and flips around Prior Day Open that can lead to continuation.
Setup: Turn on Extended Hours in TradingView so premarket bars are visible (Chart Settings → Symbol → Extended Hours). Apply the indicator to any intraday timeframe. In Inputs, you can change the premarket window to match your market, adjust colors and line widths, and toggle the floating labels and the mini-table. Times use the chart’s exchange time (for US stocks, Eastern Time).
Notes and limits: Lines show only for today’s session (default 09:30–16:00). The script looks at the previous calendar day for “prior day,” so values may be empty after weekends or holidays when markets were closed. If your instrument uses different regular hours or you trade futures/crypto, adjust the premarket session in Inputs and—if needed—edit the regular-hours window in code to match. If your data source does not include premarket, the premarket lines will be blank.
Best practice: The first 15–30 minutes after the open are where these levels have the most impact. Reactions are more meaningful when a line aligns with another tool you use (e.g., VWAP or your opening range). If price does not react clearly at a line, avoid forcing a trade.
kaka 谈趋势The Exponential Moving Average (EMA) strategy is a popular technical analysis tool used in trading to smooth price data over a specific time period. The EMA gives more weight to recent prices, making it more responsive to recent price changes compared to the Simple Moving Average (SMA).
3 Velas alejadas de EMA4 (1m) — Reversiónes una script de ema de 4 que sube o baja asdasdasdadadasdasdadasd
ICT Pro Signal (Full Web-like)ICT-based indicator showing Fair Value Gaps, Order Blocks, Market Structure (BOS/CHOCH), and Liquidity Sweeps. Provides Buy/Sell signals with ATR-based SL/TP levels, optional RSI filter, and higher timeframe alignment
ATR STOPLOSS FINDER 📌 English Explanation
This script is an ATR (Average True Range) Stop Loss Finder with a 5-bar maximum marker.
Purpose:
Helps traders visualize dynamic stop loss levels based on ATR, and highlights the most recent maximum stop value within a given lookback period.
Key Features:
1. ATR Calculation:
- Calculates ATR using the selected smoothing method (RMA, SMA, EMA, WMA).
- Multiplied by a user-defined multiplier (default: ×1.01).
2. Long Stop Line:
- A trailing stop is drawn below the candle’s low (Low – ATR × Multiplier).
3. All Stop Dots:
- Small wine-colored dots are plotted along the stop line.
4. 5-bar MAX Dots:
- Within the last 5 bars (customizable), the highest stop value is highlighted with larger, brighter dots.
5. Label:
- The most recent 5-bar maximum stop is displayed with a label above the bar, pointing downward so it doesn’t block the candle.
6. Customization:
- Inputs allow adjustments for ATR length, smoothing type, multiplier, and lookback window.
Usage:
This indicator is useful for setting stop losses dynamically in trending markets. It visually tracks where your ATR-based stop should be and shows the strongest recent level.
📌 한글 설명
이 스크립트는 ATR(평균 진폭 지표) 기반 스탑로스 찾기 + 최근 5봉 최고 스탑 표시기입니다.
목적:
트레이더가 ATR 기반으로 변동성에 맞춘 동적 스탑로스를 설정하고,
최근 구간 중 가장 강력한 스탑 레벨을 시각적으로 확인할 수 있게 해줍니다.
핵심 기능:
1. ATR 계산:
- 선택한 이동평균 방식(RMA, SMA, EMA, WMA)으로 ATR을 계산.
- 사용자 지정 배수(기본 1.01배)를 곱함.
2. 롱 스탑 라인:
- 각 봉의 저가에서 (ATR × 배수)를 뺀 값으로 스탑 라인 생성.
3. 모든 스탑 점:
- 스탑 라인 위에 작은 와인색 점을 찍어 시각적으로 확인.
4. 최근 5봉 MAX 점:
- 최근 5봉(조정 가능) 동안의 최고 스탑 값을 더 진하고 크게 표시.
5. 라벨 표시:
- 최신 5봉 최고 스탑 값은 봉 위에 라벨로 표시되며, 꼭지는 아래로 향해 봉을 가리킴 → 봉을 가리지 않음.
6. 사용자 설정:
- ATR 길이, 이동평균 방식, 배수, 룩백 기간 등을 자유롭게 조정 가능.
활용법:
추세장에서 변동성에 맞춘 손절 라인을 자동으로 그려주므로 진입 후 스탑로스를 관리하는 데 유용합니다.
최근 최고 스탑 지점을 강조해주어 리스크 관리에 도움을 줍니다.
Percentage Change per 5 Candles
🔎 What this indicator does
This indicator calculates and displays the percentage change of each candlestick directly on the chart.
• If a candle closed higher than it opened (bullish candle), it shows a positive % change (green).
• If a candle closed lower than it opened (bearish candle), it shows a negative % change (red).
• Small moves below your chosen threshold (e.g., 0.1%) are ignored to avoid clutter.
• The labels are placed above, below, or in the center of the candle (you choose).
So essentially, every candle “tells you in numbers” exactly how much it changed relative to its opening price.
________________________________________
⚙️ How it operates (the logic inside)
1. Calculate the change
o Formula:
\text{% Change} = \frac{(\text{Close} - \text{Open})}{\text{Open}} \times 100
o Example: If a candle opens at 100 and closes at 105, that’s a +5% change.
2. Round it nicely
o You can control decimals (e.g., show 2 decimals → +5.23%).
3. Filter out noise
o If a candle barely moved (say 0.02%), the label won’t appear unless you reduce the threshold.
4. Style the labels
o Bullish = green text, slightly transparent green background.
o Bearish = red text, slightly transparent red background.
o Neutral (0%) = gray.
5. Place the labels
o Options: above the candle, below the candle, or centered.
o Small vertical offset is applied so labels don’t overlap the candle itself.
________________________________________
📊 How this helps traders
This indicator turns visual candles into quantifiable numbers at a glance. Instead of guessing whether a move was “big” or “small,” you see it clearly.
Key Benefits:
1. Quick volatility analysis
o You can instantly see if candles are making big % swings or just small moves.
o This is especially useful on higher timeframes (daily/weekly) where moves can be large.
2. Pattern confirmation
o For example, you might spot a strong bullish engulfing candle — the % change label helps confirm whether it was truly significant (e.g., +4.5%) or just modest (+0.7%).
3. Noise filtering
o By setting a minimum % threshold, you only see labels when moves are meaningful (say > 0.5%). This keeps focus on important candles.
4. Backtesting & comparison
o You can compare moves across time:
“How strong was this breakout candle compared to the last one?”
“Are today’s bearish candles weaker or stronger than yesterday’s bullish candles?”
5. Better decision-making
o If you’re trading breakouts, reversals, or trend-following, knowing the % size of each candle helps confirm if the move has enough momentum.
________________________________________
✅ In short:
This indicator quantifies price action. Instead of just seeing “green” or “red” candles, you now know exactly how much the price changed in percentage terms, directly on the chart, in real time. It helps you distinguish between strong and weak moves and makes your analysis more precise.
________________________________________
Clear Signal Trading Strategy V5Clear Signal Trading Strategy - Description
This strategy uses a simple 0-5 point scoring system to identify high-probability trades. It combines trend following with momentum confirmation to generate clear BUY/SELL signals while filtering out market noise.
How it works: The strategy waits for EMA crossovers, then scores the setup based on trend alignment, momentum, RSI position, and volume. Only trades scoring above your chosen threshold are executed.
Recommended Settings by Market Type
For Beginners / Risk-Averse Traders:
Signal Sensitivity: Conservative
Volume Confirmation: ON
Risk Per Trade: 1-2%
Stop Loss Type: ATR
ATR Multiplier: 2.5
Risk:Reward Ratio: 2.0
For Trending Markets (Strong Directional Movement):
Signal Sensitivity: Balanced
Volume Confirmation: ON
Risk Per Trade: 2%
Stop Loss Type: ATR
ATR Multiplier: 2.0
Risk:Reward Ratio: 2.5-3.0
For Ranging/Choppy Markets:
Signal Sensitivity: Conservative
Volume Confirmation: ON
Risk Per Trade: 1%
Stop Loss Type: Percentage
Percentage Stop: 2%
Risk:Reward Ratio: 1.5
For Volatile Markets (Crypto/High Beta Stocks):
Signal Sensitivity: Conservative
Volume Confirmation: ON
Risk Per Trade: 1%
Stop Loss Type: ATR
ATR Multiplier: 3.0
Risk:Reward Ratio: 2.0
Best Practices
Timeframes:
15-minute to 1-hour for day trading
4-hour to daily for swing trading
Works best on liquid instruments with good volume
When to avoid trading:
When dashboard shows "HIGH" volatility above 4%
During major news events
When win rate drops below 40%
In markets with no clear trend (prolonged NEUTRAL state)
Success tips:
Start with Conservative mode until you see 10+ successful trades
Only increase to Balanced mode when win rate exceeds 55%
Never use Aggressive mode unless market shows strong trend for 5+ days
Always honor the stop loss - no exceptions
Take partial profits at first target if unsure
Bull Market Support Band (Weekly Projected)🟢 Bull Market Support Band (BMSB)
The Bull Market Support Band (BMSB) is a widely used long-term crypto indicator that highlights the key zone of support during bullish market phases. It is defined as the area between the 21-week EMA and the 20-week SMA.
✅ Works across all timeframes – calculates using weekly data but can be plotted on any chart (1h, 4h, daily, etc.).
✅ Dynamic support/resistance – the band often acts as a "line in the sand" between bullish continuation and bearish breakdown.
✅ Clear visualization – the band is shaded for easy recognition of when price is holding above or breaking below.
✅ Projection across lower TFs – weekly values are extended smoothly so you can analyze them even on intraday charts without flat lines.
🔎 How to use
In bull markets, price tends to hold above the band and often bounces off it.
In bear markets, price consistently rejects from the band.
The zone is most reliable on weekly charts, but viewing it on lower timeframes helps you track how price interacts with these critical levels intraday.
📌 This script is especially useful for Bitcoin and major altcoins, but it works on any asset. It’s not a buy/sell signal on its own — rather, it’s a trend filter and support/resistance framework.
EMA+MACD+Fib Scalping ChallengeThis strategy synthesizes two core concepts from the provided transcripts:
Transcripts are pulled from the following two youtube videos
youtu.be
youtu.be
High-Probability Scalping Setup (1st Transcript): A mechanical method for finding high-probability, short-term reversal trades on a 1-minute chart. It uses a triple confluence of:
Trend Direction: Two Exponential Moving Averages (EMA 8 and EMA 34) identify the short-term trend direction via crossovers.
Momentum Confirmation: A fast MACD (3, 10, 16) confirms the strength and timing of the momentum shift required for entry.
Precise Entry Zone: Fibonacci retracement levels (primarily 61.8%) identify where a pullback is most likely to end and the main trend is likely to resume, providing a high-value entry point.
Aggressive Account Growth Challenge (2nd Transcript): An extremely high-risk, high-reward money management framework. Instead of traditional 1-2% risk per trade, this strategy risks 23% of the current account equity on each trade to target a 30% profit (a reward-risk ratio of approximately 1.3:1). The goal is to compound a small initial stake ($20) into a much larger amount ($50k+) over a series of successful trades, accepting that a few losses can wipe out the account just as quickly.
Core Philosophy: The strategy bets heavily on the edge provided by the high-probability technical setup. When the setup is correct, the account grows exponentially. When it fails, the losses are severe. It is designed for maximum capital efficiency in trending markets but is vulnerable during choppy or ranging conditions.
Ideal Parameter Settings & Configuration
These settings are optimized based on the specifics mentioned in the transcripts for 1-minute scalping.
1. Chart & Instrument Settings
Time Frame: 1 Minute
Instruments: Major forex pairs with low spreads (e.g., EUR/USD, GBP/USD). This is critical for scalping.
Trading Session: Highly liquid sessions like the London-New York overlap.
2. Indicator Parameters & Inputs
Parameter Ideal Setting Description & Purpose
Fast EMA Length 8 Reacts quickly to recent price changes, used for signal generation.
Slow EMA Length 34 Defines the underlying short-term trend. Acts as dynamic support/resistance.
MACD Fast Length 3 Makes the MACD extremely sensitive for catching early momentum shifts on the 1-min chart.
MACD Slow Length 10 The baseline for the fast length to calculate momentum against.
MACD Signal Smoothing 16 Slightly smoothed signal line to generate clearer crossover signals.
Fibonacci Level 61.8% The primary retracement level used to define the entry zone and the stop-loss level.
3. Strategy & Money Management Parameters
Parameter Setting Description & Purpose
Initial Capital 20 (or any small amount) The starting capital for the challenge.
Risk Per Trade 23% of equity The defining rule of the challenge. This is the percentage of the current account value risked on each trade.
Profit Target Per Trade 30% of equity The target profit, creating a ~1.3:1 Reward/Risk ratio.
Stop-Loss Type Fixed Percentage (23%) For simplicity and adherence to the challenge rules. The transcript also mentions placing the stop "a little below the 61.8% Fib level," which is a more advanced option.
Pyramiding 0 Do not add to positions. One trade at a time is already high-risk.
4. Entry & Exit Rules (Coded Logic)
LONG ENTRY: When ALL of the following occur simultaneously:
EMA 8 crosses above EMA 34.
MACD Histogram crosses above 0 (turns positive).
Price is touching or retracing to the 61.8% Fibonacci level drawn from a recent swing low to high.
SHORT ENTRY: When ALL of the following occur simultaneously:
EMA 8 crosses below EMA 34.
MACD Histogram crosses below 0 (turns negative).
Price is touching or retracing to the 61.8% Fibonacci level drawn from a recent swing high to low.
EXIT RULES:
Take Profit: Close the trade when a 30% profit on the risked capital is reached.
Stop Loss: Close the trade when a 23% loss on the risked capital is reached.
Emergency Exit: If the MACD or EMA cross back in the opposite direction before target/stop is hit, consider an early exit.
Critical Disclaimer and Final Notes
EXTREME RISK: This is not a standard trading strategy. It is a high-stakes challenge. Risking 23% per trade means just 4 consecutive losses would likely wipe out over 90% of your account. The second transcript's simulation showed a 99.5% success rate only under a constant 60% win rate condition, which is unrealistic in live markets.
Demo Use Only: This strategy must be thoroughly tested and understood in a demo environment before ever considering it with real funds.
Market Dependency: This strategy thrives only in strongly trending markets with clear pullbacks. It will generate significant losses in ranging, choppy, or low-volatility conditions. The ability to avoid trading in bad markets is a key factor in the challenge's success.
Psychological Pressure: The emotional burden of watching 23% of your account fluctuate on a 1-minute chart is immense and can lead to poor decision-making.
Use this strategy as a fascinating framework to study confluence and aggressive compounding, not as a guaranteed path to profits.
Triple-EMA Cloud (3× configurable EMAs + timeframe + fill)About This Script
Name: Triple-EMA Cloud (3× configurable EMAs + timeframe + fill)
What it does:
The script plots three Exponential Moving Averages (EMAs) on your chart.
You can set each EMA’s length (how many bars or days it averages over), source (for example, closing price, opening price, or the midpoint of high + low), and timeframe (you can have one EMA use daily data, another hourly data, etc.).
The indicator draws a “cloud” or channel by shading the area between the outermost two EMAs of the three. This lets you see a band or zone that the price is moving in, defined by those EMAs.
You also get full control over how each of the three EMA‐lines looks: color, thickness, transparency, and plot style (solid line, steps, circles, etc.).
How to Use It (for Beginners)
Here’s how a trader who’s new to charts can use this tool, especially when looking for pullbacks or undercut price action.
Key Concepts
Trend: Imagine the market price is generally going up or down. EMAs are a way to smooth out price movements so you can see the trend more clearly.
Pullback: When a price has been going up (an uptrend), sometimes it dips down a little before going up again. That dip is the pullback. It’s a chance to enter or add to a position at a “better price.”
Undercut: This is when price drops below an important level (for example an EMA) and then comes back up. It looks like it broke below, but then it recovers. That may show reverse pressure or strength building.
How the Script Helps With Pullbacks & Undercuts
Marking Trend Zones with the Cloud
The cloud between the outer EMA lines gives you a zone of expected support/resistance. If the price is above the cloud, that zone can act like a “floor” in uptrends; if it is below, the cloud might act like a “ceiling” in downtrends.
Watching Price vs the EMAs
If the price pulls back toward the cloud (or toward one of the EMAs) and then bounces back up, that’s a signal that the uptrend might continue.
If the price undercuts (goes a bit below) one of the EMAs or the cloud and then returns above it, that can also be a signal. It suggests that even though there was a temporary drop, buyers stepped in.
Using the Three EMAs for Confirmation
Because the script uses three EMAs, you can see how tightly or loosely they are spaced.
If all three EMAs are broadly aligned (for example, in an uptrend: shorter length above longer length, each pulling from reliable price source), that gives more confidence in trend strength.
If the middle EMA (or different source/timeframe) is holding up as support while others are above, it strengthens signal.
Entry & Exit Points
Entry: For example, after a pullback toward the cloud or “mid‐EMA”, wait for price to show a bounce up. That could be a better entry than buying at the top.
Stop Loss / Risk: You might place a stop loss just below the cloud or the lowest of your selected EMAs so that if price breaks through, the idea is invalidated.
Profit Target: Could be a recent high, resistance level, or a fixed reward-risk multiple (for example aiming to make twice what you risked).
Practical Steps for New Traders
Set up the EMAs
Choose simple lengths like 10, 21, 50.
For example, EMA #1 = length 10, source Close, timeframe “current chart”; EMA #2 = length 21, source (H+L)/2; EMA #3 = length 50, maybe timeframe daily.
Observe the Price Action
When price moves up, then dips, see if it comes back near the shaded cloud or one of the EMAs.
See if the dip touches the EMAs lightly (not a big drop) and then price starts climbing again.
Look for undercuts
If price briefly goes below a line (or below cloud) and then closes back above, that’s undercut + recovery. That bounce back is often meaningful.
Manage risk
Only put in money you can afford to lose.
Use small position size until you get comfortable.
Use stop-loss (as mentioned) in case the price doesn’t bounce as expected.
Practice
Put this indicator on charts (stocks you follow) in past time periods. See how price behaved with pullbacks / undercuts relative to the EMAs & cloud. This helps you learn to see signals.
What It Doesn’t Do (and What to Be Careful Of)
It doesn’t predict the future — it simply shows zones and trends. Price can still break down through the cloud.
In a “choppy” market (i.e. when price is going up and down without a clear trend), signals from EMAs / clouds are less reliable. You’ll get more “false bounces.”
Under / overshoots & big news events can break through clean levels, so always watch for confirmation (volume, price behavior) before putting big money in.
MA//@version=5
indicator("MA20 và EMA9", overlay=true)
// === Input tham số ===
lengthMA = input.int(20, "Độ dài MA", minval=1)
lengthEMA = input.int(9, "Độ dài EMA", minval=1)
// === Tính toán đường trung bình ===
ma20 = ta.sma(close, lengthMA) // Simple Moving Average 20
ema9 = ta.ema(close, lengthEMA) // Exponential Moving Average 9
// === Vẽ ra biểu đồ ===
plot(ma20, color=color.red, linewidth=2, title="MA20")
plot(ema9, color=color.blue, linewidth=2, title="EMA9")
Trend Analyzer v0.6Trend Analyzer EMA Only v0.6
Simple yet powerful EMA trend analysis with multi-timeframe support!
Overview:
This comprehensive indicator focuses on EMA-based trend analysis with clean visual presentation. It provides clear BUY/SELL signals, trend tracking with unique IDs, peak detection, and multi-timeframe analysis across M15, M30, and H1 timeframes.
Key Features:
✅ EMA Trend Analysis - Fast and Slow EMA crossover signals
✅ Trend Tracking - Unique trend IDs with start/end markers
✅ Peak Detection - Automatic peak identification during trends
✅ Multi-Timeframe - Analysis across M15, M30, and H1 timeframes
✅ Visual Clarity - Dotted lines connecting labels to candles
✅ Statistics - BUY/SELL count and average trend length
How It Works:
The indicator calculates signal strength using weighted analysis:
• MACD (50%) - Primary trend momentum
• RSI (30%) - Overbought/oversold conditions
• Volume (20%) - Volume confirmation
Signal Logic:
• BUY - Fast EMA crosses above Slow EMA + both slopes positive
• SELL - Fast EMA crosses below Slow EMA + both slopes negative
• NEUTRAL - EMAs too close (below threshold)
Visual Elements:
• 🟢 BUY - Green label with trend ID
• 🔴 SELL - Red label with trend ID
• ⚪ NEUTRAL - Gray label with trend ID
• 🟡 PEAK - Yellow label marking trend extremes
• ⚫ END - Gray label marking trend end
Information Table:
Real-time display showing:
• Current Timeframe trend state
• Multi-Timeframe analysis (M15, M30, H1)
• PEAK Labels status
• Offset Type configuration
• Trend Strength percentage
• Statistics (BUY/SELL count, average trend length)
Settings:
• Fast EMA Length - 9 (default)
• Slow EMA Length - 21 (default)
• Min Trend Bars - 3 (filters short trends)
• Label Offset Type - ATR, % of price, or Dynamic
• Show PEAK Labels - On/Off toggle
Best Practices:
🎯 Works best in trending markets
📊 Use as overlay on main chart
⚡ Combine with price action analysis
🛡️ Always use proper risk management
Pro Tips:
• Green background = Strong uptrend, Red background = Strong downtrend
• Watch for trend change arrows for early reversal signals
• Use the information table for quick market assessment
• Monitor trend statistics for market behavior insights
Alerts:
• BUY Alert - "BUY signal detected"
• SELL Alert - "SELL signal detected"
Version 0.6 Improvements:
• Optimized performance
• Enhanced visual clarity
• Improved multi-timeframe analysis
• Refined trend detection algorithms
Created with ❤️ for the trading community
This indicator is free to use for both commercial and non-commercial purposes.
Trend Analyzer MACD EnhancedTrend Analyzer MACD Enhanced
Advanced trend analysis with MACD, RSI, Volume and Divergence detection!
Overview
This comprehensive indicator combines multiple technical analysis tools into one powerful visualization. It features dynamic background coloring, real-time signal strength calculation, and automatic divergence detection for complete market analysis.
Key Features
✅ Multi-Indicator Analysis- MACD, RSI, and Volume in one indicator
✅ Divergence Detection - Automatic bullish and bearish divergence identification
✅ Dynamic Background - Color-coded trend zones with smooth transitions
✅ Signal Strength - Weighted calculation showing overall market sentiment (0-100%)
✅ Trend Change Detection - Visual markers for trend reversals
✅ Information Table - Real-time status of all indicators
How It Works
The indicator calculates signal strength using weighted analysis:
- MACD (50%) - Primary trend momentum
- RSI (30%) - Overbought/oversold conditions
- Volume (20%) - Volume confirmation
Signal Strength Range: -100% to +100%
Visual Elements
Background Colors:
- 🟢 **Green** - Uptrend (intensity based on signal strength)
- 🔴 **Red** - Downtrend (intensity based on signal strength)
- ⚪ **Gray** - Neutral/sideways market
Trend Markers:
- 🔺 **Green Triangle Up** - Start of new uptrend
- 🔻 **Red Triangle Down** - Start of new downtrend
- 📏 **Vertical Lines** - Trend change confirmation
Information Table
Real-time display showing:
- Trend - Current trend state with color coding
- MACD - Direction and crossover status
- RSI - Level and overbought/oversold status
- Volume - Level and trend direction
- Divergence - Current divergence status
- Signal Strength - Overall percentage
Alerts
Built-in alerts for:
- Strong Buy/Sell Signals - High probability setups
- Divergence Signals - Early reversal warnings
Settings
MACD:Fast (12), Slow (26), Signal (9)
RSI:Length (14), Overbought (70), Oversold (30)
Volume:MA Length (20), Threshold (1.5x)
Display:Toggle RSI, Volume, and Table visibility
Best Practices
🎯 Works best in trending markets
📊 Use in separate window below main chart
⚡ Combine with price action analysis
🛡️ Always use proper risk management
Pro Tips
- Green background = Strong uptrend, Red background = Strong downtrend
- Signal strength > 50% = Very bullish, < -50% = Very bearish
- Watch for divergence signals for early reversal warnings
- Use the information table for quick market assessment
---
Created with ❤️ for the trading community
This indicator is free to use for both commercial and non-commercial purposes.
Ohm Horizontal line//@version=5
indicator("Ohm Horizontal line", overlay=true)
// Input parameters
atrPeriod = input.int(14, "ATR Period", minval=1)
atrMultiplier = input.float(1.0, "ATR Multiplier", step=0.1)
numLevels = input.int(10, "Number of Levels (each side)", minval=1)
lineWidth = input.int(1, "Line Width", minval=1, maxval=4)
labelOffset = input.int(20, "Label Offset", minval=0)
// Calculate daily ATR
dailyAtr = request.security(syminfo.tickerid, "D", ta.atr(atrPeriod))
// Function to get rounded price based on ATR
getRoundedPrice(price, atrValue) =>
math.round(price / (atrValue * atrMultiplier)) * (atrValue * atrMultiplier)
// Calculate center price (current close rounded to nearest ATR multiple)
centerPrice = getRoundedPrice(close, dailyAtr)
// Create arrays for price levels
var float levels = array.new_float(2 * numLevels + 1)
var float midLevels = array.new_float(2 * numLevels)
// Update price levels
updateLevels() =>
array.set(levels, numLevels, centerPrice)
for i = 1 to numLevels
upperLevel = centerPrice + i * dailyAtr * atrMultiplier
lowerLevel = centerPrice - i * dailyAtr * atrMultiplier
array.set(levels, numLevels + i, upperLevel)
array.set(levels, numLevels - i, lowerLevel)
// Calculate mid levels
if i > 1
upperMid = (array.get(levels, numLevels + i) + array.get(levels, numLevels + i - 1)) / 2
lowerMid = (array.get(levels, numLevels - i) + array.get(levels, numLevels - i + 1)) / 2
array.set(midLevels, numLevels + i - 2, upperMid)
array.set(midLevels, numLevels - i + 1, lowerMid)
// Update levels on every bar
updateLevels()
// Plot horizontal lines and price labels
var line horizontalLines = array.new_line(2 * numLevels + 1)
var line midLines = array.new_line(2 * numLevels)
var label priceLabels = array.new_label(2 * numLevels + 1)
// Function to draw or update a line
drawLine(lineArray, index, y, color, width, style) =>
if na(array.get(lineArray, index))
array.set(lineArray, index, line.new(bar_index, y, bar_index + 1, y, color=color, width=width, style=style, extend=extend.both))
else
line.set_xy1(array.get(lineArray, index), bar_index, y)
line.set_xy2(array.get(lineArray, index), bar_index + 1, y)
line.set_color(array.get(lineArray, index), color)
line.set_width(array.get(lineArray, index), width)
line.set_style(array.get(lineArray, index), style)
// Draw main levels
for i = 0 to 2 * numLevels
level = array.get(levels, i)
lineColor = i == numLevels ? color.yellow : (i > numLevels ? color.green : color.red)
drawLine(horizontalLines, i, level, lineColor, lineWidth, line.style_solid)
if na(array.get(priceLabels, i))
array.set(priceLabels, i, label.new(bar_index + labelOffset, level, str.tostring(level, format.mintick), color=color.new(color.black, 100), textcolor=lineColor, style=label.style_none, size=size.small))
else
label.set_xy(array.get(priceLabels, i), bar_index + labelOffset, level)
label.set_text(array.get(priceLabels, i), str.tostring(level, format.mintick))
label.set_textcolor(array.get(priceLabels, i), lineColor)
// Draw mid levels (without labels)
for i = 0 to 2 * numLevels - 1
midLevel = array.get(midLevels, i)
lineColor = i >= numLevels ? color.new(color.green, 50) : color.new(color.red, 50)
drawLine(midLines, i, midLevel, lineColor, 1, line.style_dashed)
// Display current ATR value
var label atrLabel = na
label.delete(atrLabel)
atrLabel := label.new(bar_index , high, text="ATR: " + str.tostring(dailyAtr, "#.##"), color=color.new(color.blue, 0), textcolor=color.white, size=size.small)