SMC + FVG + EMA + TrendlinesSMC + FVG + EMA + Trendlines legRange = math.abs(structureHigh - structureLow) // <-- เปลี่ยนชื่อจาก range -> legRange
if showCurrentStruct and not na(structureHigh) and not na(structureLow)
if na(curHighLine) == false
line.delete(curHighLine)
if na(curLowLine) == false
line.delete(curLowLine)
curHighLine := line.new(sHighIdx, structureHigh, bar_index, structureHigh, xloc.bar_index, color=currentStructColor, style=currentStructStyle, width=currentStructWidth)
curLowLine := line.new(sLowIdx, structureLow, bar_index, structureLow, xloc.bar_index, color=currentStructColor, style=currentStructStyle, width=currentStructWidth)
// ---------- Fibonacci on current leg ----------
if showFibo and legRange > 0
for k = 0 to array.size(fLevels) - 1
lvl = array.get(fLevels, k)
price = sDir == 1 ? structureHigh - (legRange - legRange * lvl)
: structureLow + (legRange - legRange * lvl)
l = line.new(sDir == 1 ? sHighIdx : sLowIdx, price, bar_index, price, xloc.bar_index, color=fiboColorMain, style=fiboStyle, width=fiboWidth)
label.new(bar_index + 10, price, str.tostring(lvl) + " (" + str.tostring(price) + ")", style=label.style_none, textcolor=fiboColorMain)
Bandes et canaux
PCV (Darren.L-V2)Description:
This indicator combines Bollinger Bands, CCI, and RVI to help identify high-probability zones on M15 charts.
Features:
Bollinger Bands (BB) – displayed on the main chart in light gray. Helps visualize overbought and oversold price levels.
CCI ±100 levels + RVI – displayed in a separate sub-window:
CCI only shows the ±100 reference lines.
RVI displays a cyan main line and a red signal line.
Valid Zone Detection:
Candle closes outside the Bollinger Bands.
RVI crosses above +100 or below -100 (CCI level reference).
Candle closes back inside the BB, confirming a price rebound.
Requires two touches in the same direction to confirm the zone.
Only zones within 20–30 pips range are considered valid.
Usage:
Helps traders spot reversal or bounce zones with clear visual signals.
Suitable for all indices, Forex, and crypto on M15 timeframe.
VWAP Pro v6 (Color + Bands)AI helped me code VWAP
When price goes above VWAP line, VWAP line will turn green to indicate buyers are in control.
When price goes below VWAP line, VWAP line will turn red to indicate sellers are in control.
VWAP line stays blue when price is considered fair value.
Hilly's Advanced Crypto Scalping Strategy - 5 Min ChartTo determine the "best" input parameters for the Advanced Crypto Scalping Strategy on a 5-minute chart, we need to consider the goals of optimizing for profitability, minimizing false signals, and adapting to the volatile nature of cryptocurrencies. The default parameters in the script are a starting point, but the optimal values depend on the specific cryptocurrency pair, market conditions, and your risk tolerance. Below, I'll provide recommended input values based on common practices in crypto scalping, along with reasoning for each parameter. I’ll also suggest how to fine-tune them using TradingView’s backtesting and optimization tools.
Recommended Input Parameters
These values are tailored for a 5-minute chart for liquid cryptocurrencies like BTC/USD or ETH/USD on exchanges like Binance or Coinbase. They aim to balance signal frequency and accuracy for day trading.
Fast EMA Length (emaFastLen): 9
Reasoning: A 9-period EMA is commonly used in scalping to capture short-term price movements while remaining sensitive to recent price action. It reacts faster than the default 10, aligning with the 5-minute timeframe.
Slow EMA Length (emaSlowLen): 21
Reasoning: A 21-period EMA provides a good balance for identifying the broader trend on a 5-minute chart. It’s slightly longer than the default 20 to reduce noise while confirming the trend direction.
RSI Length (rsiLen): 14
Reasoning: The default 14-period RSI is a standard choice for momentum analysis. It works well for detecting overbought/oversold conditions without being too sensitive on short timeframes.
RSI Overbought (rsiOverbought): 75
Reasoning: Raising the overbought threshold to 75 (from 70) reduces false sell signals in strong bullish trends, which are common in crypto markets.
RSI Oversold (rsiOversold): 25
Reasoning: Lowering the oversold threshold to 25 (from 30) filters out weaker buy signals, ensuring entries occur during stronger reversals.
MACD Fast Length (macdFast): 12
Reasoning: The default 12-period fast EMA for MACD is effective for capturing short-term momentum shifts in crypto, aligning with scalping goals.
MACD Slow Length (macdSlow): 26
Reasoning: The default 26-period slow EMA is a standard setting that works well for confirming momentum trends without lagging too much.
MACD Signal Smoothing (macdSignal): 9
Reasoning: The default 9-period signal line is widely used and provides a good balance for smoothing MACD crossovers on a 5-minute chart.
Bollinger Bands Length (bbLen): 20
Reasoning: The default 20-period Bollinger Bands are effective for identifying volatility breakouts, which are key for scalping in crypto markets.
Bollinger Bands Multiplier (bbMult): 2.0
Reasoning: A 2.0 multiplier is standard and captures most price action within the bands. Increasing it to 2.5 could reduce signals but improve accuracy in highly volatile markets.
Stop Loss % (slPerc): 0.8%
Reasoning: A tighter stop loss of 0.8% (from 1.0%) suits the high volatility of crypto, helping to limit losses on false breakouts while keeping risk manageable.
Take Profit % (tpPerc): 1.5%
Reasoning: A 1.5% take-profit target (from 2.0%) aligns with scalping’s goal of capturing small, frequent gains. Crypto markets often see quick reversals, so a smaller target increases the likelihood of hitting profits.
Use Candlestick Patterns (useCandlePatterns): True
Reasoning: Enabling candlestick patterns (e.g., engulfing, hammer) adds confirmation to signals, reducing false entries in choppy markets.
Use Volume Filter (useVolumeFilter): True
Reasoning: The volume filter ensures signals occur during high-volume breakouts, which are more likely to sustain in crypto markets.
Signal Arrow Size (signalSize): 2.0
Reasoning: Increasing the arrow size to 2.0 (from 1.5) makes buy/sell signals more visible on the chart, especially on smaller screens or volatile price action.
Background Highlight Transparency (bgTransparency): 85
Reasoning: A slightly higher transparency (85 from 80) keeps the background highlights subtle but visible, avoiding chart clutter.
How to Apply These Parameters
Copy the Script: Use the Pine Script provided in the previous response.
Paste in TradingView: Open TradingView, go to the Pine Editor, paste the code, and click "Add to Chart."
Set Parameters: In the strategy settings, manually input the recommended values above or adjust them via the input fields.
Test on a 5-Minute Chart: Apply the strategy to a liquid crypto pair (e.g., BTC/USDT, ETH/USDT) on a 5-minute chart.
Fine-Tuning for Optimal Performance
To find the absolute best parameters for your specific trading pair and market conditions, use TradingView’s Strategy Tester and optimization features:
Backtesting:
Run the strategy on historical data for your chosen pair (e.g., BTC/USDT on Binance).
Check metrics like Net Profit, Profit Factor, Win Rate, and Max Drawdown in the Strategy Tester.
Focus on a sample period of at least 1–3 months to capture various market conditions (bull, bear, sideways).
Parameter Optimization:
In the Strategy Tester, click the settings gear next to the strategy name.
Enable optimization for key inputs like emaFastLen (test range: 7–12), emaSlowLen (15–25), slPerc (0.5–1.5), and tpPerc (1.0–3.0).
Run the optimization to find the combination with the highest net profit or best Sharpe ratio, but avoid over-optimization (curve-fitting) by testing on out-of-sample data.
Market-Specific Adjustments:
Volatile Pairs (e.g., DOGE/USDT): Use tighter stop losses (e.g., 0.5–0.7%) and smaller take-profit targets (e.g., 1.0–1.2%) to account for rapid price swings.
Stable Pairs (e.g., BTC/USDT): Slightly wider stop losses (e.g., 1.0–1.2%) and take-profit targets (e.g., 1.8–2.5%) may work better.
Trending Markets: Increase emaSlowLen (e.g., to 25–30) to follow stronger trends.
Choppy Markets: Tighten bbMult (e.g., to 1.8) and lower rsiOverbought/rsiOversold (e.g., to 70/30) to filter noise.
Forward Testing:
After backtesting, run the strategy in real-time on a demo account for 1–2 weeks to validate performance under current market conditions.
Important Notes
No Universal "Best" Numbers: Optimal parameters vary by crypto pair, exchange, and market conditions (e.g., bull vs. bear market). The suggested values are a starting point based on common scalping practices.
Risk Management: Never risk more than 1–2% of your account per trade. Adjust position sizing in TradingView’s strategy settings to align with your risk tolerance.
Market Volatility: Crypto markets are highly volatile. Test the strategy on your specific pair and adjust parameters if signals are too frequent or too rare.
Not Financial Advice: This is an educational tool. Backtest thoroughly and use a demo account before trading with real funds.
If you want me to generate a chart showing backtest performance for specific parameters or to tweak the script further (e.g., adding more indicators or adjusting signal logic), let me know!can you add clear buy ans sell signs above the candles in this codeTo add clear buy and sell signals above the candles in the provided Pine Script, I'll modify the existing code to include prominent text labels directly above (for sell signals) and below (for buy signals) the candles. These labels will be larger, color-coded, and positioned to avoid clutter, ensuring they are easily visible on the chart. The core strategy logic (EMA, RSI, MACD, Bollinger Bands, candlestick patterns, and volume filter) will remain unchanged, and I'll reuse the same artifact_id since this is an update to the previous script.AdvancedCryptoScalpingStrategy.pinex-pine
PCV Setup (By Darren.L)The PCV Setup is designed for M15 scalping trading.
It combines Bollinger Bands (volatility), CCI (momentum), and RVI (trend confirmation) to filter false signals and improve accuracy.
Sinyal Gabungan Lengkap (TWAP + Vol + Waktu)Sinyal Gabungan Lengkap (TWAP + Vol + Waktu) volume btc dan total3 dan ema
Order Blocks & FVG (Kostya)the indicator is the attempt to visualize the trading opportunities - price magnets and potential reversal zones for intraday and swing trading.
On-Chain Metrics & Z-Mode SelectionThis indicator provides an on-chain metric analysis framework for cryptocurrencies (currently limited to) BTC and ETH; allowing users to select from popular metrics such as SOPR, Profit Addresses %, NUPL, or MVRV.
It enables various analyses on the chosen metric to capture momentum and rate of change dynamics over time.
Analyses include:
Normalization techniques utilizing Mean or Median with standard deviation, as well as a 'Robust' method using interquartile range-based Z-scoring to accommodate skewed distributions, or raw values without normalization.
An optional differential calculation that highlights the rate of change (first derivative) of the metric.
Moving average smoothing with up to two passes, supporting EMA, SMA, or WMA types.
Optional sigmoid-based compression that scales and centers the indicator output, improving interpretability, mitigating extreme outliers, and allowing the user to scale the output so that the step size or increment of the long and short thresholds remains within a workable range.
Buy and sell signals are generated based on configurable long and short thresholds applied to the processed output.
Visual components such as trend colouring, threshold lines, background shading, and labels make it simple for traders to identify entry signals.
This indicator is suitable for those looking to integrate blockchain behavioral insights into their trading decisions.
Overall, this script transforms complex on-chain data into actionable trade signals by combining adaptive normalization and smoothing techniques. Its versatility and multi-metric support make it a valuable tool for both market monitoring and strategy development.
No financial decisions should be made based solely on this indicator. Always conduct your own research. .
Acknowledgements
Inspiration drawn from: CipherDecoded
IFVG Extended + Entry/TPs IFVG Extended + Entry/TPs this is high winrate hands free just follow the system
rockstarluvit's a stochastics and trend indicator, where rockstars csan trade like winnners and stay away from crazy divergewnces.
Adaptive Open InterestThis indicator analyzes Bitcoin open interest to identify overbought and oversold conditions that historically precede major price moves. Unlike static levels, it automatically adapts to current market conditions by analyzing the last 320 bars (user adjustable).
How It Works
Adaptive Algorithm:
-Analyzes the last 320 bars of open interest data
-Combines percentile analysis (90th, 80th, 20th, 10th percentiles) with statistical analysis (standard deviations)
-Creates dynamic zones that adjust as market conditions change
Four Key Zones:
🔴 Extreme Overbought (Red) - Major crash risk territory
🟠 Overbought (Orange) - Correction risk territory
🔵 Oversold (Blue) - Opportunity territory
🟢 Extreme Oversold (Green) - Major opportunity territory
For Risk Management:
-When OI enters red zones → Consider reducing long positions, major crash risk
-When OI enters orange zones → Caution, correction likely incoming
For Opportunities:
-When OI enters blue zones → Look for long opportunities
-When OI enters green zones → Strong buying opportunity, major bounce potential
The Table Shows:
-Current status (which zone OI is in)
-Range position (where current OI sits as % of 320-bar range)
-320-bar high/low levels for context
Why It's Effective:
-Adaptive Nature: What's "high" OI in a bear market differs from bull market - the indicator knows the difference and adjusts automatically.
-Proven Approach: Combines multiple statistical methods for robust signals that work across different market cycles.
-Alert System: Optional alerts notify you when OI crosses critical thresholds, so you don't miss important signals.
-The indicator essentially tells you when the futures market is getting "too crowded" (danger) or "too empty" (opportunity) relative to recent history.
QG_Trade SPOT freeQG Trade SPOT – Adaptive Support Line
An indicator for spot trading that helps identify reliable support levels, manage positions with ease, and build entries after significant market corrections. It adapts to market conditions and shows where to enter and exit more effectively.
Two modes:
• Standard (30m–2h) – frequent trades with equal position sizes when price touches the support line. Exits are made at predefined take-profits (TP1, TP2, TP3) with partial closing.
• Multiplier (4h) – allows position building after significant corrections, with each new entry increasing by x1 → x2 → x4, etc. The first exit is fixed at a set profit %, then the indicator waits for a minimum threshold and attempts to catch a trend reversal to exit closer to the market peak.
Smart position management: entry limits, average price calculation, real-time P&L tracking
Clear interface with entry/exit signals and profit targets
Who it’s for
Spot traders who want confidence in entries and position management
Suitable for both beginners and experienced traders: active intraday trading with Standard mode or patient accumulation with Multiplier mode
QG Trade SPOT – Adaptive Support Line
Индикатор для спотовой торговли, который помогает находить надёжные уровни поддержки, управлять сделками без лишней суеты и набирать позиции после значительных коррекций. Он адаптируется под рынок и показывает, где лучше входить и выходить.
Два режима:
• Стандартный (30m–2h) – частые сделки одинаковыми суммами при касании линии поддержки. Выход по заранее заданным тейкам (TP1, TP2, TP3) с частичной фиксацией.
• Мультипликатор (4h) – позволяет набирать позиции после значительных коррекций, при этом каждый новый вход увеличивается по схеме x1 → x2 → x4 и т.д. Первый выход фиксируется на заданном % прибыли, далее индикатор ждёт минимальный порог и старается поймать разворот тренда, чтобы выйти ближе к пику рынка.
Умное управление сделками: лимиты входов, средняя цена, P&L в реальном времени
Наглядный интерфейс с сигналами входа/выхода и целями по прибыли
Для кого
Для тех, кто торгует спот и хочет уверенности в точках входа и управлении позициями
Подходит и новичкам, и опытным трейдерам: можно активно торговать внутри дня в стандартном режиме или терпеливо накапливать позиции в мультипликаторе
Prophecy Orderflow – XAUUSD⚜️ Overview
Prophecy Orderflow is a clean, professional trading indicator built for serious day traders who demand precision. Designed around institutional concepts of bias, momentum, and orderflow alignment, this tool gives clear BUY/SELL signals, along with structured stop loss (SL) and take profit (TP1, TP2, TP3) levels—so you trade with confidence and discipline.
⚡ Core Features
✅ Automatic BUY & SELL signals with on-chart markers
✅ Dynamic Stop Loss & Target lines (SL / TP1 / TP2 / TP3)
✅ Bias confirmation using higher timeframe EMAs
✅ ATR-based volatility filter for cleaner entries
✅ Lightweight design – no clutter, only high-quality setups
✅ Built-in watermark branding: Prophecy Orderflow
📈 How to Use
Look for the BUY triangle (yellow) or SELL triangle (purple).
Trade only in alignment with the bias filter (higher timeframe EMA trend).
Follow the stop loss and TP lines automatically plotted.
TP2 and TP3 act as scaling or full exit zones for extended moves.
⚖️ Best For
Day Traders on XAUUSD (Gold), US30, and major Forex pairs
Scalpers seeking clear, structured exits
Swing traders using HTF bias for confirmation
💡 Note
This is not financial advice. Always backtest, paper trade, and manage risk responsibly.
👉 Built exclusively by 4x Prophet to help traders execute with clarity and confidence.
Turtle 20-Day Breakout + ATR (v6 Clean)20-bar breakout entries
ATR protective stops
Classic 10-bar opposite breakout exits
Proper plotting of breakout levels and stops
Signals on chart
Alert conditions in global scop
Comprehensive TA Dashboard v10Comprehensive TA Dashboard v9
Welcome to the Comprehensive Technical Analysis Dashboard v9, an all-in-one indicator designed to provide a clear, customizable, and powerful view of the market. This script combines essential trading tools into a single, cohesive dashboard, allowing you to streamline your analysis and focus on what matters most: making informed trading decisions.
Key Features
This indicator is packed with features, all of which are fully customizable through a clean and organized settings menu.
Core Indicators
Moving Averages: Get a clear view of the trend with four customizable moving averages.
5 & 10 EMA: For short-term momentum.
20 & 200 SMA: For medium and long-term trend analysis.
Defaults are set to green for faster MAs and red for slower MAs, with customizable thickness.
Bollinger Bands: Understand volatility and potential price extremes with fully adjustable Bollinger Bands. Customize the length, standard deviation, and colors for the basis, bands, and fill.
Key Price Levels
Previous Period Opens: Automatically plot horizontal lines at the opening price of the previous day, week, and month. These key institutional levels often act as powerful support and resistance.
Opening Range Breakout (ORB): Automatically draw the high and low of the initial trading period (default is the first 15 minutes). These levels are crucial for intraday breakout strategies.
Fully customizable session times and range period.
Customize line color and width for the ORB high and low.
Real-Time Data & Projections
Dual ATR Rays: Project potential price boundaries with two distinct ATR modes.
Static ATR (For Market Hours): A non-repainting level based on the previous candle's close. Provides a stable, reliable target during live trading.
Live ATR (For After-Hours Planning): A dynamic level based on the current price. Perfect for planning and projecting potential ranges for the next trading session.
On-Screen Data Table: Keep essential data in view without cluttering your chart.
Displays the non-repainting ATR and RSI values for the most recently closed candle.
Positioned on the middle-left of the chart for easy reference.
Multi-Timeframe Analysis
Timeframe Continuity Tracker: Get an at-a-glance view of market momentum across multiple timeframes.
Displays boxes for 5m, 15m, 1H, 4H, Day, Week, Month, and Quarter.
Boxes are color-coded green for a bullish candle and red for a bearish candle, providing instant insight into the overall trend alignment.
How to Use This Indicator
Global Toggles: Use the "Global Visibility" section in the settings to quickly turn entire feature sets on or off.
Customize Your View: Dive into the detailed settings for each feature group to adjust lengths, colors, and line styles to match your personal trading strategy.
Combine the Tools:
Use the Moving Averages and Timeframe Continuity Tracker to establish the dominant trend.
Identify key levels of interest with the Previous Period Opens and ORB lines.
Use the ATR Rays and Bollinger Bands to set realistic profit targets and understand potential volatility for the session.
This script was designed to be the only indicator you need on your chart. It's powerful, flexible, and built with clean, non-repainting data to ensure you're trading with the most reliable information possible.
Enjoy, and happy trading!
RS7 Directional PadA simple and practical indicator that displays market trends on four major time frames (4H/1H/15M/5M). The panel appears as an organized table on the chart, requiring no complicated settings. It facilitates quick analysis and provides a clear view of the market across multiple time frames. It's suitable for traders who need a quick visual filter before making an entry decision.
dabilThe strategy is probably to go short or long with the trend depending on the case, but if all time units 1 minute then 3 minutes then 5 minutes then 15 minutes then 1 hour all show the same direction, but first the 1 hour must be bullish in which the 1 hour candle closes above the previous one, for example if the trend is bearish then the market wants to change direction, then a 1 hour bullish close must then be followed by a 1 hour bearish close below the bullish candle, then another bullish candle must shoot above the previous bullish candle, then 15 minutes also shoot above the previous 15 bullish candles, then 1 and 2...3.5. Then I can rise with the market by only covering the last 15 bullish candles with my stop loss, if my SL is 50 pips then I want 100 pips and then I'm out.
Lot Size calculator@\dsfadlhubigjwqerfihlju;kbydewsdrghbliuyhofhuidgosdfjklbhnrdfsegxvz\dhjmnukilo,.
Supertrend Long/Short with 1.5R Checkmarks & Adjustable RSISupertrend long/short entries
EMA trend filters (21 ≥ 50 ≥ 200 for longs, 21 ≤ 50 ≤ 200 for shorts)
Adjustable RSI filter
Max capital per trade filter
Position sizing
1.5x risk/reward targets
Labels for entries
Alerts for trades
✅ Check mark when a trade hits 1.5R before hitting the stop