LANZ Strategy 6.0🔷 LANZ Strategy 6.0 — One-Shot NY Candle Logic with Dynamic SL/TP, Multi-Account Lot Sizing and Visual Confirmation System
LANZ Strategy 6.0 is a high-precision, visually driven indicator that executes a single operation per day based on the 09:00 a.m. New York candle. Built for simplicity and accuracy, it calculates dynamic Stop Loss and Take Profit levels using the candle range, and adapts position sizing per account with pip-accurate risk control. All actions are visualized in real-time for full clarity.
📌 This is an indicator, not a strategy — It does not place trades automatically, but provides exact entry setups, SL/TP levels, risk-based lot size guidance, and optional alerts.
🧠 Core Logic & Features
🚀 Entry Signal (BUY Only)
A BUY setup is triggered only once per day, when:
The current candle is the 09:00–10:00 a.m. NY session candle
The candle is bullish (close > open)
This single candle is used to define the trade levels for the day, and the signal is only evaluated once. If bullish, a visual "BUY" label appears with SL/TP/EP levels calculated from the candle body or full range.
⚙️ Stop Loss and Take Profit
You can configure:
SL as a percentage of the candle’s range (from wick to wick), or use the wick extreme
RR ratio (e.g., 1:4) to dynamically calculate the TP based on SL
Each level is drawn as a line:
EP (Entry Price) at the candle’s close
SL below the low (or % of range)
TP above the entry at the selected RR
💰 Risk-Based Lot Size Calculation per Account
Manage up to 5 independent accounts simultaneously. Each account can have:
Its own capital
Its own risk percentage per trade
Lot size is calculated automatically for each based on:
Defined SL in pips
The pip value (auto-detected for Forex or manually defined for indices/gold)
📋 All lot sizes are displayed in a dedicated info panel, with their corresponding risk-adjusted values per account.
🖼️ Trade Visualization Panel
When a trade is active, a clean table is displayed in the top-right corner showing:
TP / SL / EP levels
Distance in pips for SL and TP
Lot size per account
Line visuals (style, color, thickness) are fully customizable.
🧪 Outcome Tracking (Real-Time Labels)
For each trade:
If SL is hit → a label shows “–1.00%” at the SL level
If TP is hit → a label shows “+X.XX%” at the TP level
If still open at 3:00 p.m. NY, the trade closes manually and the actual result (in %) is calculated and labeled on chart
🔔 Alerts You Can Trust
You'll get an alert when:
A BUY entry is confirmed
SL or TP is hit
Manual close is triggered at 15:00 NY
All alerts include the symbol, price, and result for immediate action or tracking.
🧭 Execution Flow Summary
Every day:
At 09:00 a.m. NY → Evaluate candle
If bullish:
Set EP, SL, TP
Calculate lot sizes
Plot lines + labels
Display dashboard panel
Monitor SL/TP hits
At 15:00 NY → Force close if needed
💡 Ideal For:
Traders who want a clean, single-shot entry system per day
Index or gold traders who operate with strict SL/TP logic
Anyone managing multiple accounts or fixed-capital models
Visual learners and disciplined execution fans
👨💻 Credits:
💡 Developed by: LANZ
🧠 Execution Model & Logic Design: LANZ
📅 Designed for: 1H timeframe, high-conviction NY-based entries
📈 Purpose: Clean decision-making, precision risk control, visual certainty
在腳本中搜尋"chart"
Clean ATR LevelsSimple 14D ATR +1 & -1 display from PM to Close.
The Clean ATR Levels indicator is a powerful Pine Script tool designed to provide traders with dynamic support and resistance levels based on the Average True Range (ATR) calculation. This indicator automatically draws horizontal lines that represent key price levels where significant market reactions are likely to occur, helping traders identify potential entry and exit points throughout the trading session.
The core functionality centers around calculating ATR levels using the most recent daily close as the reference point. The script draws two primary levels: an upper level at +100% ATR above the current close and a lower level at -100% ATR below the current close. These levels represent statistically significant price zones where the market has historically shown increased volatility and potential reversal patterns. Additionally, the indicator includes an optional previous close line that serves as a psychological reference point for intraday price action.
What sets this indicator apart is its intelligent session management and clean visual presentation. The lines are automatically redrawn at the start of each new trading day and are programmed to extend precisely until 4 PM EST market close, eliminating visual clutter on the chart. This session-aware approach ensures that traders are always working with the most relevant levels for the current trading day without having outdated lines extending unnecessarily into future sessions.
The indicator also features a comprehensive information table that displays real-time values for the ATR calculation, current close price, and both upper and lower ATR levels. This provides traders with exact numerical references without having to manually calculate these critical values. The script is highly customizable, allowing users to adjust the ATR period, line colors, widths, and choose whether to display the previous close reference line, making it adaptable to various trading styles and visual preferences.
Alternate Hourly HighlightAlternate Hourly Highlight
This indicator automatically highlights every alternate one-hour window on your chart, making it easy to visually identify and separate each trading hour. The background alternates color every hour, helping traders spot hourly cycles, session changes, or develop time-based trading strategies.
Works on any timeframe.
No inputs required—just add to your chart and go!
Especially useful for intraday traders who analyze price action, volatility, or volume by the hour.
For custom colors or session windows, feel free to modify the script!
Alinhamento H1 + H4 com Fundo Colorido MACD Alignment Strategy: H1 + H4
This script highlights candles on the H1 chart with a colored background when there's full alignment between H1 and H4 based on the classic MACD (12,26,9) and EMA 200.
✅ Bullish background (green):
Price is above the EMA 200 on both H1 and H4
On both H1 and H4:
MACD line is above the Signal line
Histogram is green and above zero
MACD is above zero
❌ Bearish background (red):
Price is below the EMA 200 on both H1 and H4
On both H1 and H4:
MACD line is below the Signal line
Histogram is red and below zero
MACD is below zero
Use this tool to visually confirm trend alignment between timeframes and filter high-probability entries.
Session HL + Candles + AMD (Nephew_Sam_)Session HL + Candles + AMD (Nephew_Sam_)
This indicator marks out intraday sessions summarized into single candles, with an additional option to mark out the HL of each session. Perfect for understanding AMD within a glance (accumulation-manipulation-distribution)
Features:
Session High/Low lines with customizable colors and labels
Optional session candles displayed on the right side of the chart
Timezone support for global traders
Customizable bull/bear candle colors
Works on timeframes up to 1 hour
Perfect for:
Identifying session liquidity levels
Tracking session ranges and breakouts
Multi-timeframe session analysis
ICT methodology traders
Settings:
Choose your timezone for accurate session detection
Toggle session candles and HL lines independently
Customize colors, line styles, and labels
Set maximum timeframe (up to 1 hour)
Expansion Triangle [TradingFinder] MegaPhone Broadening🔵 Introduction
The Expanding Triangle, also known as the Broadening Formation, is one of the key technical analysis patterns that clearly reflects growing market volatility, increasing indecision among participants, and the potential for sharp price explosions.
This pattern is typically defined by a sequence of higher highs and lower lows, forming within two diverging trendlines. Unlike traditional triangles that converge to a breakout point, the expanding triangle pattern becomes wider over time, leaving no precise apex for a breakout to occur.
From a price action perspective, the pattern represents a prolonged tug-of-war between buyers and sellers, where neither side has taken control yet. Each aggressive swing opens the door to new opportunities whether it's a trend reversal, range trading, or a momentum breakout. This dual nature makes the pattern highly versatile across market conditions, from exhausted trend ends to volatile consolidation zones.
The custom-built indicator for this pattern uses a combination of smart algorithms and detailed analysis of swing dynamics to automatically detect expanding triangles and highlight low-risk entry points.
Traders can use this tool to capitalize on high-probability setups from shorting near the upper edge of the structure with confirmation, to trading bearish breakouts during trend continuations, or entering long positions near the lower boundary during bullish reversals. The chart examples included in this article demonstrate these three highly practical trading scenarios in live market conditions.
A major advantage of this indicator lies in its structural filtering engine, which analyzes the behavior of each price leg in the triangle. With four adjustable filter levels from Very Aggressive, which highlights all potential patterns, to Very Defensive, which only triggers when price actually touches the triangle's trendlines the indicator ensures that only structurally sound and verified setups appear on the chart, reducing noise and false signals significantly.
Long Setup :
Short Setup :
🔵 How to Use
The pattern typically forms in conditions of heightened uncertainty and volatility, where price swings generate a series of higher highs and lower lows. The expanding triangle consists of three key legs bounded by diverging trendlines. The indicator intelligently analyzes each leg's direction and angle to determine whether a valid pattern is forming.
At the core of the indicator’s logic is its leg filtering system, which controls the quality of the pattern and filters out weak or noisy setups. Four structural filter modes are available to suit different trading styles and risk preferences. In Very Aggressive mode, filters are disabled, and the indicator detects any pattern purely based on the sequence of swing points.
This mode is ideal for traders who want to see everything and apply their own discretion.
In Aggressive mode, the indicator checks whether each new leg extends no more than twice the length of the previous one. If a leg overshoots excessively, the structure is invalidated.
In Defensive mode, the filter enforces a minimum movement requirement each leg must move at least 2% of the previous one. This prevents the formation of shallow, weak patterns that visually resemble triangles but lack substance.
The strictest setting, Very Defensive, combines all previous filters and additionally requires the price to physically touch the triangle’s trendlines before issuing a signal. This ensures that setups only appear when real market interaction with key structural levels has occurred, not based on assumptions or geometry alone. This mode is ideal for traders seeking maximum precision and minimal risk.
🟣 Bullish Setup
A bullish setup within the Expanding Triangle pattern occurs when price revisits the lower support boundary after a series of broad swings typically near the third leg of the formation. This area often represents a shift in momentum, where sellers begin to lose strength and buyers prepare to take control.
Ideally, the setup is accompanied by a bullish reversal candle (e.g. doji, pin bar, or engulfing) near the lower trendline. If the Very Defensive filter is active, the indicator will only issue a signal if price makes a confirmed touch on the trendline and reacts from that level. This significantly improves signal accuracy and filters out premature entries.
After confirmation, traders may choose to enter a long position on the bullish candle or shortly afterward. A logical stop-loss is placed just below the recent swing low within the pattern. The target can be set at or near the upper trendline, or projected using the full height of the triangle added to the breakout point. On higher timeframes, this reversal often marks the beginning of a strong uptrend.
🟣 Bearish Setup
A bearish setup forms when price climbs toward the upper resistance trendline, usually as the third leg completes. This is where buyers often begin to show exhaustion, and sellers step in with strength providing an ideal low-risk entry point for short positions.
As with the bullish setup, if the Candle Confirmation filter is enabled, the indicator will only show a signal when a bearish reversal candle forms at the point of contact. If Defensive or Very Defensive filters are also active, the setup must meet strict criteria of proportionate leg movement and an actual trendline touch to qualify.
Once confirmed, traders can enter on the reversal candle, placing a stop-loss slightly above the recent high. The target can be set at the lower trendline or calculated based on the triangle's full height, projected downward. This setup is particularly useful at the end of weak bullish trends or in volatile market tops.
🔵 Settings
🟣 Logic Settings
Pivot Period : Defines how many bars are analyzed to identify swing highs and lows. Higher values detect larger, slower structures, while lower values respond to faster patterns. The default value of 13 offers a balanced sensitivity.
Pattern Filter :
Very Aggressive : Detects all patterns based on point sequence with no structural checks.
Aggressive : Ensures each leg is no more than 2x the size of the previous one.
Defensive : Requires each leg to be at least 2% the size of the previous leg.
Very Defensive : The strictest level; only confirms patterns when price touches trendlines.
Candle Confirmation : When enabled, the indicator requires a valid confirmation candle (doji, pin bar, engulfing) at the interaction point with the trendline before issuing a signal. This reduces false entries and improves entry precision.
🟣 Alert Settings
Alert : Enables alerts for SSS.
Message Frequency : Determines the frequency of alerts. Options include 'All' (every function call), 'Once Per Bar' (first call within the bar), and 'Once Per Bar Close' (final script execution of the real-time bar). Default is 'Once per Bar'.
Show Alert Time by Time Zone : Configures the time zone for alert messages. Default is 'UTC'.
🔵 Conclusion
The Expanding Triangle pattern, with its wide structure and volatility-driven nature, represents chaos but also opportunity. For traders who can read its behavior, it provides some of the most powerful setups for reversals, breakouts, and range-based trades. While the pattern may seem messy at first glance, it is built on clear logic and when properly detected, it offers high-probability opportunities.
This indicator doesn’t just draw expanding triangles it intelligently evaluates their structural quality, validates price interaction through candle confirmation, and allows the trader to fine-tune the detection logic through adjustable filter levels. Whether you’re a reversal trader looking for a turning point, or a breakout trader hunting momentum, this tool adapts to your strategy.
In volatile or uncertain markets, where fakeouts and sudden shifts are common, this indicator can become a cornerstone of your trading system helping you turn volatility into structured, high-quality opportunities.
SOL Technical Confluence DashboardHow to Use This Confluence Dashboard
Setup Instructions:
Use the other script published as the 1 of 2 scripts to add to your 4-hour SOL chart.
What You'll See:
1. RSI Panel with Enhancements
Colored RSI line (Green = oversold, Red = overbought)
Divergence detection (triangles mark divergences)
Background color changes on strong signals
2. Confluence Table (Top Right)
Shows real-time status of:
RSI: Current value and signal
MACD: Trend direction
Volume: Spike detection and relative volume
Divergence: Bull/Bear divergence alerts
Confluence Scores: 0-10 scale for bull/bear strength
Overall Signal: STRONG BUY/SELL, BUY/SELL, or WAIT
3. Net Confluence Histogram (Bottom)
Green bars = Bullish confluence
Red bars = Bearish confluence
Height = Strength of signal
How It Works with Elliott Waves:
Scenario 1: Wave 5 Top Detection
Elliott Wave shows Wave 5 approaching 261.8%
Confluence Dashboard shows:
RSI: 78 (overbought) ❌
MACD: Bearish cross ❌
Volume: Declining ❌
Divergence: Bearish ❌
Signal: STRONG SELL 🔴
Scenario 2: Wave 2 Bottom
Elliott Wave shows Wave 2 at 61.8% retracement
Confluence Dashboard shows:
RSI: 28 (oversold) ✅
MACD: Bullish cross ✅
Volume: Spike ✅
Divergence: Bullish ✅
Signal: STRONG BUY 🟢
Confluence Scoring System:
The script uses a weighted scoring system:
Divergences: 3 points (most reliable)
RSI extremes: 2 points
Volume spikes: 2 points
MACD signals: 1.5 points
Price action: 1 point
Signals:
Score ≥ 5 = STRONG signal
Score ≥ 3 = Moderate signal
Score < 3 = WAIT
Pro Tips for Maximum Accuracy:
Best Setups: When Elliott Wave completion aligns with STRONG signals
Avoid: Taking trades when confluence is mixed
Volume Confirmation: Always check if volume supports the move
Divergence Priority: RSI divergence at wave endpoints is highly reliable
Alerts Available:
Strong Bullish Confluence
Strong Bearish Confluence
Bullish Divergence
Bearish Divergence
This gives you a complete technical analysis suite that works seamlessly with your Elliott Wave indicator. The combination significantly improves accuracy by confirming wave counts with momentum, volume, and divergence analysis!
SOL Elliott Wave 4H with Enhanced ProjectionsThis 4H-optimized version includes:
Key Features for 4H Timeframe:
Optimized Default Settings:
Wave Detection Period: 7 (perfect for 4H)
ZigZag Depth: 3% (captures significant moves on 4H)
Visual Indicators:
Small circles mark pivot points as they form
Blue background on the last bar shows script is active
Clean zigzag lines between pivots
Wave numbers at each pivot
Immediate Feedback:
Pivots show up as soon as they're confirmed
Table shows pivots found count
Current price always visible
To Use This:
Add to your 4H SOL chart
You should immediately see:
Small circles marking recent pivots
The info table in top-right
Blue highlight on the current bar
If you don't see lines yet, try:
Reduce Wave Detection Period to 5
Reduce ZigZag Depth to 2%
Make sure you have at least 100-200 bars of history loaded
Fine-tuning for current market:
If SOL is ranging: Lower ZigZag Depth to 2%
If SOL is trending strongly: Increase to 4-5%
The indicator will start drawing zigzag lines and counting waves as soon as it finds valid alternating highs and lows that meet the minimum percentage move requirement.
SYRAX (SIMPLE RANGE)SYRAX (SIMPLE RANGE) is a minimalist indicator designed for traders who focus on range breakouts. If you’re someone who just needs one clean and consistent range plotted every day to execute your strategy, this tool is for you.
The indicator defines a customizable time range on your chart and highlights the high and low of that session, helping you visualize potential breakout zones. A vertical line can also be drawn at a specific time each day to assist with your session planning.
Features:
• Automatically draws the daily range box based on your chosen start and end time.
• Timezone setting to align the range with your local or market session.
• Clean visuals with editable box color, border, and text labels.
• Optional extended range lines and vertical session markers.
Whether you’re trading early session breakouts or waiting for liquidity sweeps, SYRAX gives you the structure you need — nothing more, nothing less.
StockMarketWolf 9/20 EMA VWAP MACD StrategyThis strategy is all about catching momentum in the market by combining some of the most trusted technical indicators—moving averages, VWAP, and MACD—to help you spot better trade opportunities with more confidence.
Here’s the simple idea:
Use the 9 and 20 EMA crossover to spot when the short-term trend is turning up or down.
Check that the price is trading above or below the VWAP (the average price weighted by volume for the day) to confirm the overall market sentiment.
Use the MACD to make sure momentum is supporting your trade—no point jumping in if momentum isn’t backing it up.
How it works:
Go long when the 9 EMA crosses above the 20 EMA, price is above VWAP, and MACD is signaling positive momentum.
Go short when the 9 EMA crosses below the 20 EMA, price is below VWAP, and MACD shows bearish momentum.
Exit the trade when these signals flip or momentum fades.
Why it’s useful:
It helps you avoid trading against the trend by using the VWAP filter.
The MACD momentum check cuts down on fake breakouts.
It’s straightforward and works well on popular day trading charts like the 5-minute timeframe.
Great for high-volume stocks and futures like SPY, QQQ, or ES futures.
Things to keep in mind:
It doesn’t throw out signals all day — you get quality over quantity.
Like any strategy, it’s not perfect and can struggle during sideways markets.
Sticking to the rules and having patience is key.
All in all, this is a solid, no-nonsense strategy that mixes trend and momentum in a way that makes trading feel a bit more clear and less noisy. Perfect if you want a systematic approach without overcomplicating things.
Essa's Sessions IndicatorOverview
This powerful tool is designed to visually map out the key trading sessions: Asia, London, and New York directly on your chart. By highlighting these periods and plotting their respective highs and lows, it helps you identify critical price levels, gauge market sentiment, and pinpoint potential breakout opportunities with ease.
What It Does
Visualizes Key Trading Sessions: Automatically draws colored backgrounds for the Asia, London, and New York sessions to show you exactly when the most important market activity is happening.
Plots Session Highs & Lows: Displays precise horizontal lines for the highest and lowest prices reached during each session, acting as key support and resistance levels.
Dual Timezone Mode: Easily switch between London (GMT/BST) and New York (EST/EDT) timezones with a single click. The indicator automatically adjusts all session times for you, ensuring accuracy no matter where you are.
Interactive & Informative Labels: Hover over any session high or low label to see a detailed tooltip containing:
The exact price level.
The session's price range (calculated in pips or points).
The total daily price range for broader context.
A simple volatility gauge (from "Low Vol 😴" to "High Vol 🔥").
Customizable Alerts: Enable breakout alerts to receive instant notifications the moment the price closes above a session high or below a session low.
Simple, powerful, and highly informative, this indicator is an essential tool for traders looking to build strategies around session-based price action.
Alt Szn Oracle - Institutional GradeThe Alt Szn Oracle is a macro-level indicator built to help traders front-run altseason by tracking liquidity, dominance rotation, sentiment, and capital flows—all in one signal. It’s designed for those who don’t just chase pumps, but want to understand when the tide is turning and why. This tool doesn't predict specific coin breakouts—it tells you when the market as a whole is gearing up to rotate into higher beta assets like altcoins, including memes and microcaps.
The index consolidates ten macro inputs into a normalized, smoothed score from 0–100. These include Bitcoin and Ethereum dominance, ETH/BTC, altcoin market cap (Total3), relative volume flows, and stablecoin supply (USDT, USDC, DAI)—which act as proxies for risk-on appetite and dry powder entering the system. It also incorporates manually updated sentiment metrics from Google Trends and the Fear & Greed Index, giving it a behavioral edge that most indicators lack.
The logic is simple but powerful: when BTC dominance is falling, ETH/BTC is rising, altcoin volume increases relative to BTC/ETH, and stablecoins start moving—you're likely in the early innings of rotation. The index is also filtered through a volatility threshold and smoothed with an EMA to eliminate chop and fakeouts.
Use this indicator on macro charts like TOTAL3, TOTAL2, or ETHBTC to gauge market health, or overlay it on specific coins like PEPE, DOGE, or SOL to confirm if the tide is in your favor. Interpreting the score is straightforward: readings above 80 suggest euphoria and signal it’s time to de-risk, 60–80 indicates expansion and confirms altseason is underway, 40–60 is neutral, and 20–40 is a capitulation zone where smart money accumulates.
What sets this apart is that it doesn’t just track price—it reflects the flow of capital, the positioning of liquidity, and the sentiment of the crowd. Most altseason indicators are lagging, overfitted, or too simplistic. This one is modular, forward-looking, and grounded in real capital rotation theory.
If you're a trader who wants to time the cycle, not guess it, this is your tool. Refine it, fork it, or expand it to your niche—DeFi, NFTs, meme coins, or L1s. It’s a framework for reading the macro winds, not a signal service. Use it with discipline, and you’ll catch the wave while others drown in noise.
My strategyThe Combination 1 strategy is a precision-based breakout and retest setup designed for the EUR/USD 2-minute chart, operating during the Asia and London sessions (UTC-4). It identifies a unique consolidation zone where price, the 20-period SMA, and the 200-period SMA all align within a tight 2-pip range, signaling potential buildup. Once price breaks 10 to 15 pips above this consolidation area, the strategy waits for a retest—specifically, a wick that touches the zone, followed by a bullish close. This confirms buyer strength and triggers a BUY alert, with the take profit set at the breakout high and the stop loss at the recent swing low. This strategy filters for clean trends and disciplined breakouts, minimizing noise and maximizing precision.
Futures Support & Resistance LevelsMulti-Timeframe Support & Resistance Levels for Futures Trading
Description:
This indicator automatically identifies and displays key support and resistance levels using multiple technical analysis methods. Designed specifically for futures traders (ES, NQ, etc.), it provides a clean, organized view of important price levels.
Key Features:
Multiple Detection Methods: Combines pivot points, daily ranges, and psychological levels
Smart Ranking System: Levels are numbered by strength (1 = strongest)
Clean Visualization: Extended lines across the chart with clear price labels
Confluence Detection: Highlights areas where multiple levels converge
Customizable Display: Adjust colors, line styles, and label sizes
Level Types Identified:
Daily High/Low (current session)
Previous Daily High/Low
Pivot-based Support/Resistance
Psychological Round Numbers
Confluence Zones (multiple levels clustering)
Technical Approach:
The indicator uses a strength-scoring algorithm to rank levels by importance. Daily levels receive the highest weighting (2.0), followed by previous daily levels (1.5), pivot points (1.0), and psychological levels (0.5). This helps traders focus on the most significant levels.
Visual Elements:
Solid lines = Strong levels
Dashed lines = Medium levels
Dotted lines = Weak levels
Optional technical condition markers for educational analysis
Best Used For:
Identifying key intraday levels for futures trading
Finding high-probability reversal zones
Setting logical stop-loss and take-profit levels
Recognizing confluence areas for stronger setups
Note:
This is a technical analysis tool for educational purposes. No indicator can predict future price movements. Always use proper risk management and combine with other forms of analysis.
DCA by Vuong Thai v2 %verview of "DCA by Vuong Thai %" – Upgraded Version
Main Function:
This script automatically detects optimal DCA (Dollar-Cost Averaging) buy points and smart profit-taking zones based on a combination of technical signals: EMA, candlestick patterns, volume, RSI, and price distance from EMA.
It helps you optimize capital allocation using a structured averaging-down strategy and exit trades when a target price range is reached.
✅ Buy Logic (Buy Signal)
A buy signal is triggered when all of the following conditions are met:
Strong bullish candlestick: Green candle with a longer lower wick than upper wick
Price is below the EMA → indicating a downtrend
Volume is above the moving average (if volume filtering is enabled)
Price is at least a certain percentage below the EMA (e.g., ≥ 1%)
RSI is below 30 → indicating an oversold condition
No repeat buys unless price makes a new low → helps avoid premature entries
👉 When a buy signal appears:
A DCA Zone (buy region) is drawn on the chart
A label with the corresponding DCA percentage is displayed automatically (e.g., "DCA 5%", "DCA 10%")
Silver Bull Flag Breakout AlertDescription:
This script detects a bullish breakout in Silver (XAGUSD) above $37.60, confirming a bull flag continuation pattern on the daily chart. It optionally plots a 21 EMA as a trailing stop and includes a customizable alert condition for trade execution or monitoring.
Features:
• Alerts on daily close above $37.60
• Optional trailing stop (21 EMA)
• Visual breakout marker
• Ideal for swing trades targeting $41–$45
Break & Retest Strategy V2 (Clean Visuals)This strategy is built on a high-probability EMA breakout and retest model, designed for traders who want clean structure-based entries filtered by trend alignment and strong price action. It leverages:
• ✅ A 44 EMA trend filter on the 4H chart
• ✅ HTF directional bias from the Daily 44 EMA
• ✅ Breakout above the EMA followed by a wick-based retest
• ✅ Strong bullish candle confirmation (body > 50% of range)
• ✅ Dynamic stop loss using either the pivot low or a buffer below the EMA
• ✅ Fixed 1:3 Risk:Reward ratio for consistent reward targeting
• ✅ Cooldown system to prevent overtrading
• ✅ Clean, minimal visuals using smart RR boxes instead of chart clutter
This system is fully backtestable and designed with prop firm challenge criteria in mind — prioritizing risk control, clarity, and high-quality trade conditions.
⸻
🔧 Current Development Goals (V3 Roadmap)
We’re actively refining the system to improve win rate and profit factor, while keeping drawdown low. Key upgrades in progress:
1. 📈 Liquidity Trap Filter
• Add logic to confirm a wick below recent lows (liquidity sweep) before retesting the EMA
2. 🧠 Partial Take Profits + Breakeven Logic
• TP1 at 1.5R → move SL to breakeven
• TP2 at 3R → close remaining position
3. 🔁 Trade Session Filter
• Limit entries to London & New York AM sessions to avoid false signals in low volume periods
4. 📉 Short Entry Engine
• Mirror logic for bearish break + retest setups below the EMA
5. 🔔 Live Alerts System
• Entry signal alerts for hands-free, real-time trading decisions
6. 📊 Optimizer Toolkit (future)
• Add ATR/volatility filters
• Add market structure confluence zones (HH/HL filters)
• Smart cooldown timer based on wins/losses or volatility shifts
EdgeFlow Scalping Dashboard [GalihRidha]🚀 Unlock the Edge — Trade Smarter, Trade Safer!
Are you tired of missing high-quality entries, struggling with fakeouts, or second-guessing your trades?
EdgeFlow Scalping Dashboard puts professional-grade decision support right on your chart — so you always know when to strike, when to wait, and when to stay out.
No more trading in the dark. No more emotional guessing.
This is your real-time, on-chart trading edge — designed for the fast-paced world of scalping and adaptable for any trading style.
🧠 What Makes EdgeFlow Special?
Instant Signal Clarity:
Get crystal-clear LONG/SHORT signals and “Safety” ratings delivered exactly when you need them — one minute before every candle closes, on any timeframe!
Visual Risk Management:
Adaptive TP/SL levels and live reversal detection keep you out of chop and false moves, so your stops and targets are always optimized for current market conditions.
Professional, Multi-Factor Analysis:
Combines trend, momentum, volatility, volume, and advanced pattern recognition — including candlestick patterns, RSI divergence, and higher timeframe confirmation.
Actionable Dashboard:
The vertical, minimalist layout keeps your workflow clean and mobile-friendly. Track your last trade, prep your next move, and see at a glance if conditions are Safe, Neutral, or Not Safe.
🔑 Why Choose EdgeFlow Scalping Dashboard?
Trade with Confidence:
Stop hesitating — the dashboard highlights the safest opportunities, complete with risk grades and reversal probabilities.
React Faster:
See “Capturing...” as soon as the dashboard starts scanning for a new signal, so you never get left behind on entries.
Avoid Costly Mistakes:
Color-coded warnings and smart, dynamic TP/SL help you stay disciplined and skip high-risk setups.
For Every Trader:
Whether you’re a crypto scalper, forex daytrader, or swing trader — EdgeFlow adapts to any market, any timeframe, and any asset.
📈 How To Use
Watch the dashboard for the Next Section to light up — that’s your advanced notice to prepare an entry.
Double-check the Safety status and Reversal Probability.
Enter trades only when the conditions are green, or use your own system with these insights for even more edge.
Review the Last Section to learn from each trade and refine your timing.
💡 Ready To Level Up Your Trading?
Don’t settle for ordinary indicators. EdgeFlow Scalping Dashboard gives you everything you need — real-time signals, risk context, and pro-grade safety filtering — all in one place.
Try EdgeFlow on your favorite chart, and feel the difference with every decision.
📚 Dashboard Key
🔙 Last Section: Your previous signal and its full context.
🔜 Next Section: The upcoming opportunity — with targets and safety score.
🛰️ Capturing... = Dashboard is monitoring for your next edge.
🌟 Enjoy and trade safe!
Follow, fork, and tag if you publish an upgrade! Your feedback and ideas are always welcome . 🚦✨
Jumping watermark# Jumping watermark
## Function description
- Dynamic watermark: Mainly used to add dynamic watermarks to prevent theft and transfer when recording videos.
- Static watermark: Sharing opinions can easily include information such as trading pairs, cycles, current time, and individual signatures.
### Static watermark:
Display the watermark related to the current trading pair in the center of the chart.
- Configuration items:
- You can choose to configure the display content: current trading pair code and name, cycle, date, time, and individual signature content
### Dynamic watermark
Display the configured watermark content in a dynamic random position.
- Configuration items:
- Turn on or off the display of watermark jumping
- Modify the display text content and style by yourself
----- 中文简介-----
# 跳动水印
## 功能描述
- 动态水印: 主要可用于视频录制时添加动态水印防盗、防搬运。
- 静态水印:观点分享是可方便的带上交易对、周期、当前时间、个签等信息。
### 静态水印:
在图表中心位置显示当前交易对相关信息水印。
- 配置项:
- 可选择配置显示内容:当前交易对代码及名称、周期、日期、时间、个签内容
### 动态水印
动态随机位置显示配置水印内容。
- 配置项:
- 开启或关闭显示水印跳动
- 自行修改配置显示文字内容和样式
Candles by Day, Time, Month + StatsThis Pine Script allows you to filter and display candles based on:
📅 Specific days of the week
🕒 Custom intraday time ranges (e.g., 9:15 to 10:30)
📆 Selected months
📊 Shows stats for each filtered block:
🔼 Range (High – Low)
📏 Average candle body size
⚙️ Key Features:
✅ Filter by day, time, and month
🎛 Toggle to show/hide the stats label
🟩 Candles are drawn only for selected conditions
📍 Stats label is positioned above session high (adjustable)
⚠️ Important Setup Instructions:
✅ 1. Use it on a blank chart
To avoid overlaying with default candles:
Open the chart of your preferred symbol
Click on the chart type (top toolbar: "Candles", "Bars", etc.)
Select "Blank" from the dropdown (this will hide all native candles)
Apply this indicator
This ensures only the filtered candles from the script are visible.
Adjust for your local timezone
This script uses a hardcoded timezone: "Asia/Kolkata"
If you are in a different timezone, change it to your own (e.g. "America/New_York", "Europe/London", etc.) in all instances of:
time(timeframe.period, "Asia/Kolkata")
timestamp("Asia/Kolkata", ...)
Use Cases:
Opening range behavior on specific weekdays/months
Detecting market anomalies during exact windows
Building visual logs of preferred trade hours
Enhanced Ichimoku Cloud Strategy V1 [Quant Trading]Overview
This strategy combines the powerful Ichimoku Kinko Hyo system with a 171-period Exponential Moving Average (EMA) filter to create a robust trend-following approach. The strategy is designed for traders seeking to capitalize on strong momentum moves while using the Ichimoku cloud structure to identify optimal entry and exit points.
This is a patient, low-frequency trading system that prioritizes quality over quantity. In backtesting on Solana, the strategy achieved impressive results with approximately 3600% profit over just 29 trades, demonstrating its effectiveness at capturing major trend movements rather than attempting to profit from every market fluctuation. The extended parameters and strict entry criteria are specifically optimized for Solana's price action characteristics, making it well-suited for traders who prefer fewer, higher-conviction positions over high-frequency trading approaches.
What Makes This Strategy Original
This implementation enhances the traditional Ichimoku system by:
Custom Ichimoku Parameters: Uses non-standard periods (Conversion: 7, Base: 211, Lagging Span 2: 120, Displacement: 41) optimized for different market conditions
EMA Confirmation Filter: Incorporates a 171-period EMA as an additional trend confirmation layer
State Memory System: Implements a sophisticated memory system to track buy/sell states and prevent false signals
Dual Trade Modes: Offers both traditional Ichimoku signals ("Ichi") and cloud-based signals ("Cloud")
Breakout Confirmation: Requires price to break above the 25-period high for long entries
How It Works
Core Components
Ichimoku Elements:
-Conversion Line (Tenkan-sen): 7-period Donchian midpoint
-Base Line (Kijun-sen): 211-period Donchian midpoint
-Span A (Senkou Span A): Average of Conversion and Base lines, plotted 41 periods ahead
-Span B (Senkou Span B): 120-period Donchian midpoint, plotted 41 periods ahead
-Lagging Span (Chikou Span): Current close plotted 41 periods back
EMA Filter: 171-period EMA acts as a long-term trend filter
Entry Logic (Ichi Mode - Default)
A long position is triggered when ALL conditions are met:
Cloud Bullish: Span A > Span B (41 periods ago)
Breakout Confirmation: Current close > 25-period high
Ichimoku Bullish: Conversion Line > Base Line
Trend Alignment: Current close > 171-period EMA
State Memory: No previous buy signal is still active
Exit Logic
Positions are closed when:
Ichimoku Bearish: Conversion Line < Base Line
Alternative Cloud Mode
When "Cloud" mode is selected, the strategy uses:
Entry: Span A crosses above Span B with additional cloud and EMA confirmations
Exit: Span A crosses below Span B with cloud and EMA confirmations
Default Settings Explained
Strategy Properties
Initial Capital: $1,000 (realistic for average traders)
Position Size: 100% of equity (appropriate for backtesting single-asset strategies)
Commission: 0.1% (realistic for most brokers)
Slippage: 3 ticks (accounts for realistic execution costs)
Date Range: January 1, 2018 to December 31, 2069
Key Parameters
Conversion Periods: 7 (faster than traditional 9, more responsive to price changes)
Base Periods: 211 (much longer than traditional 26, provides stronger trend confirmation)
Lagging Span 2 Periods: 120 (custom period for stronger support/resistance levels)
Displacement: 41 (projects cloud further into future than standard 26)
EMA Period: 171 (long-term trend filter, approximately 8.5 months of daily data)
How to Use This Strategy
Best Market Conditions
Trending Markets: Works best in clearly trending markets where the cloud provides strong directional bias
Medium to Long-term Timeframes: Optimized for daily charts and higher timeframes
Volatile Assets: The breakout confirmation helps filter out weak signals in choppy markets
Risk Management
The strategy uses 100% equity allocation, suitable for backtesting single strategies
Consider reducing position size when implementing with real capital
Monitor the 25-period high breakout requirement as it may delay entries in fast-moving markets
Visual Elements
Green/Red Cloud: Shows bullish/bearish cloud conditions
Yellow Line: Conversion Line (Tenkan-sen)
Blue Line: Base Line (Kijun-sen)
Orange Line: 171-period EMA trend filter
Gray Line: Lagging Span (Chikou Span)
Important Considerations
Limitations
Lagging Nature: Like all Ichimoku strategies, signals may lag significant price moves
Whipsaw Risk: Extended periods of consolidation may generate false signals
Parameter Sensitivity: Custom parameters may not work equally well across all market conditions
Backtesting Notes
Results are based on historical data and past performance does not guarantee future results
The strategy includes realistic slippage and commission costs
Default settings are optimized for backtesting and may need adjustment for live trading
Risk Disclaimer
This strategy is for educational purposes only and should not be considered financial advice. Always conduct your own analysis and risk management before implementing any trading strategy. The unique parameter combinations used may not be suitable for all market conditions or trading styles.
Customization Options
Trade Mode: Switch between "Ichi" and "Cloud" signal generation
Short Trading: Option to enable short positions (disabled by default)
Date Range: Customize backtesting period
All Ichimoku Parameters: Fully customizable for different market conditions
This enhanced Ichimoku implementation provides a structured approach to trend following while maintaining the flexibility to adapt to different trading styles and market conditions.
log.info() - 5 Exampleslog.info() is one of the most powerful tools in Pine Script that no one knows about. Whenever you code, you want to be able to debug, or find out why something isn’t working. The log.info() command will help you do that. Without it, creating more complex Pine Scripts becomes exponentially more difficult.
The first thing to note is that log.info() only displays strings. So, if you have a variable that is not a string, you must turn it into a string in order for log.info() to work. The way you do that is with the str.tostring() command. And remember, it's all lower case! You can throw in any numeric value (float, int, timestamp) into str.string() and it should work.
Next, in order to make your output intelligible, you may want to identify whatever value you are logging. For example, if an RSI value is 50, you don’t want a bunch of lines that just say “50”. You may want it to say “RSI = 50”.
To do that, you’ll have to use the concatenation operator. For example, if you have a variable called “rsi”, and its value is 50, then you would use the “+” concatenation symbol.
EXAMPLE 1
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
//@version=6
indicator("log.info()")
rsi = ta.rsi(close,14)
log.info(“RSI= ” + str.tostring(rsi))
Example Output =>
RSI= 50
Here, we use double quotes to create a string that contains the name of the variable, in this case “RSI = “, then we concatenate it with a stringified version of the variable, rsi.
Now that you know how to write a log, where do you view them? There isn’t a lot of documentation on it, and the link is not conveniently located.
Open up the “Pine Editor” tab at the bottom of any chart view, and you’ll see a “3 dot” button at the top right of the pane. Click that, and right above the “Help” menu item you’ll see “Pine logs”. Clicking that will open that to open a pane on the right of your browser - replacing whatever was in the right pane area before. This is where your log output will show up.
But, because you’re dealing with time series data, using the log.info() command without some type of condition will give you a fast moving stream of numbers that will be difficult to interpret. So, you may only want the output to show up once per bar, or only under specific conditions.
To have the output show up only after all computations have completed, you’ll need to use the barState.islast command. Remember, barState is camelCase, but islast is not!
EXAMPLE 2
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
//@version=6
indicator("log.info()")
rsi = ta.rsi(close,14)
if barState.islast
log.info("RSI=" + str.tostring(rsi))
plot(rsi)
However, this can be less than ideal, because you may want the value of the rsi variable on a particular bar, at a particular time, or under a specific chart condition. Let’s hit these one at a time.
In each of these cases, the built-in bar_index variable will come in handy. When debugging, I typically like to assign a variable “bix” to represent bar_index, and include it in the output.
So, if I want to see the rsi value when RSI crosses above 0.5, then I would have something like
EXAMPLE 3
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
//@version=6
indicator("log.info()")
rsi = ta.rsi(close,14)
bix = bar_index
rsiCrossedOver = ta.crossover(rsi,0.5)
if rsiCrossedOver
log.info("bix=" + str.tostring(bix) + " - RSI=" + str.tostring(rsi))
plot(rsi)
Example Output =>
bix=19964 - RSI=51.8449459867
bix=19972 - RSI=50.0975830828
bix=19983 - RSI=53.3529808079
bix=19985 - RSI=53.1595745146
bix=19999 - RSI=66.6466337654
bix=20001 - RSI=52.2191767466
Here, we see that the output only appears when the condition is met.
A useful thing to know is that if you want to limit the number of decimal places, then you would use the command str.tostring(rsi,”#.##”), which tells the interpreter that the format of the number should only be 2 decimal places. Or you could round the rsi variable with a command like rsi2 = math.round(rsi*100)/100 . In either case you’re output would look like:
bix=19964 - RSI=51.84
bix=19972 - RSI=50.1
bix=19983 - RSI=53.35
bix=19985 - RSI=53.16
bix=19999 - RSI=66.65
bix=20001 - RSI=52.22
This would decrease the amount of memory that’s being used to display your variable’s values, which can become a limitation for the log.info() command. It only allows 4096 characters per line, so when you get to trying to output arrays (which is another cool feature), you’ll have to keep that in mind.
Another thing to note is that log output is always preceded by a timestamp, but for the sake of brevity, I’m not including those in the output examples.
If you wanted to only output a value after the chart was fully loaded, that’s when barState.islast command comes in. Under this condition, only one line of output is created per tick update — AFTER the chart has finished loading. For example, if you only want to see what the the current bar_index and rsi values are, without filling up your log window with everything that happens before, then you could use the following code:
EXAMPLE 4
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
//@version=6
indicator("log.info()")
rsi = ta.rsi(close,14)
bix = bar_index
if barstate.islast
log.info("bix=" + str.tostring(bix) + " - RSI=" + str.tostring(rsi))
Example Output =>
bix=20203 - RSI=53.1103309071
This value would keep updating after every new bar tick.
The log.info() command is a huge help in creating new scripts, however, it does have its limitations. As mentioned earlier, only 4096 characters are allowed per line. So, although you can use log.info() to output arrays, you have to be aware of how many characters that array will use.
The following code DOES NOT WORK! And, the only way you can find out why will be the red exclamation point next to the name of the indicator. That, and nothing will show up on the chart, or in the logs.
// CODE DOESN’T WORK
//@version=6
indicator("MW - log.info()")
var array rsi_arr = array.new()
rsi = ta.rsi(close,14)
bix = bar_index
rsiCrossedOver = ta.crossover(rsi,50)
if rsiCrossedOver
array.push(rsi_arr, rsi)
if barstate.islast
log.info("rsi_arr:" + str.tostring(rsi_arr))
log.info("bix=" + str.tostring(bix) + " - RSI=" + str.tostring(rsi))
plot(rsi)
// No code errors, but will not compile because too much is being written to the logs.
However, after putting some time restrictions in with the i_startTime and i_endTime user input variables, and creating a dateFilter variable to use in the conditions, I can limit the size of the final array. So, the following code does work.
EXAMPLE 5
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// CODE DOES WORK
//@version=6
indicator("MW - log.info()")
i_startTime = input.time(title="Start", defval=timestamp("01 Jan 2025 13:30 +0000"))
i_endTime = input.time(title="End", defval=timestamp("1 Jan 2099 19:30 +0000"))
var array rsi_arr = array.new()
dateFilter = time >= i_startTime and time <= i_endTime
rsi = ta.rsi(close,14)
bix = bar_index
rsiCrossedOver = ta.crossover(rsi,50) and dateFilter // <== The dateFilter condition keeps the array from getting too big
if rsiCrossedOver
array.push(rsi_arr, rsi)
if barstate.islast
log.info("rsi_arr:" + str.tostring(rsi_arr))
log.info("bix=" + str.tostring(bix) + " - RSI=" + str.tostring(rsi))
plot(rsi)
Example Output =>
rsi_arr:
bix=20210 - RSI=56.9030578034
Of course, if you restrict the decimal places by using the rounding the rsi value with something like rsiRounded = math.round(rsi * 100) / 100 , then you can further reduce the size of your array. In this case the output may look something like:
Example Output =>
rsi_arr:
bix=20210 - RSI=55.6947486019
This will give your code a little breathing room.
In a nutshell, I was coding for over a year trying to debug by pushing output to labels, tables, and using libraries that cluttered up my code. Once I was able to debug with log.info() it was a game changer. I was able to start building much more advanced scripts. Hopefully, this will help you on your journey as well.
Live Breakout Zones (No Repaint)The Live Breakout Zones indicator is a non-repainting, real-time breakout detection tool designed to help traders identify critical price breakouts as they happen — without lag and without repainting past signals.
This indicator scans recent price action to determine the highest high and lowest low over a user-defined lookback period. When price closes above the recent high or below the recent low, it immediately plots a breakout zone on the chart and provides a visual confirmation through labels and optional alerts.
🔍 Key Features:
✅ No Repainting – Signals are locked in as soon as a breakout happens; no future bar confirmation is needed.
⏱️ Minimal Lag – Reacts on breakout of recent range highs/lows without waiting for pivots or candle confirmation.
📦 Breakout Zones – Automatically draws colored rectangles showing the breakout level and zone width for clearer analysis.
🔔 Real-Time Alerts – Alerts for both bullish and bearish breakouts help you stay informed without watching the screen.
⚙️ Customizable – Adjustable lookback length, zone width, and color settings to match your strategy or chart style.
📈 Use Cases:
Identify key breakout moments for entry or retest zones.
Confirm breakout-based strategies in trending or consolidating markets.
Use zones for setting risk-reward areas, SL/TP levels, or re-entry planning.
⚙️ Settings:
Lookback Range (High/Low): Defines how many previous bars are checked for breakout levels.
Zone Width: Number of bars to extend the breakout box forward.
Bullish/Bearish Zone Color: Choose custom colors for breakout visualization.
🧠 Trading Tip:
Combine this tool with volume spikes, tail candles, or support/resistance for more reliable breakout setups.