EMA 65 and 200 Strategy (Updated)//@version=5
strategy("EMA 65 and 200 Strategy (Updated)", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=10)
// Define EMAs
ema65 = ta.ema(close, 65)
ema200 = ta.ema(close, 200)
// Plot EMAs
plot(ema65, color=color.blue, linewidth=2, title="EMA 65")
plot(ema200, color=color.red, linewidth=2, title="EMA 200")
// Conditions for sell entry (Price touching EMA65 or EMA200 with a bearish trend)
sell_condition = (close < ema65 and close > ema65) or (close < ema200 and close > ema200)
sell_stop_loss = close + 20 // 20 points above the entry
sell_take_profit = close - 10 // 10 points below the entry
// Conditions for buy entry (Price touching EMA65 or EMA200 with a bullish trend)
buy_condition = (close > ema65 and close < ema65) or (close > ema200 and close < ema200)
buy_stop_loss = close - 20 // 20 points below the entry
buy_take_profit = close + 10 // 10 points above the entry
// Strategy execution: Buy and Sell orders
if (sell_condition)
strategy.entry("Sell", strategy.short, stop=sell_stop_loss, limit=sell_take_profit)
if (buy_condition)
strategy.entry("Buy", strategy.long, stop=buy_stop_loss, limit=buy_take_profit)
// Plot buy and sell signals
plotshape(series=sell_condition, location=location.abovebar, color=color.red, style=shape.labeldown, title="Sell Signal", text="SELL")
plotshape(series=buy_condition, location=location.belowbar, color=color.green, style=shape.labelup, title="Buy Signal", text="BUY")
// Draw stop loss and take profit levels for visualization
plot(sell_condition ? sell_stop_loss : na, color=color.red, style=plot.style_line, linewidth=1, title="Sell Stop Loss")
plot(sell_condition ? sell_take_profit : na, color=color.green, style=plot.style_line, linewidth=1, title="Sell Take Profit")
plot(buy_condition ? buy_stop_loss : na, color=color.red, style=plot.style_line, linewidth=1, title="Buy Stop Loss")
plot(buy_condition ? buy_take_profit : na, color=color.green, style=plot.style_line, linewidth=1, title="Buy Take Profit")
Breadth Indicators
🚀PriceAction & SmartMoney ∞ Galaxy [VNFlow]Contact and discussion to use advanced tools to support your trading strategy
Email: hasobin@outlook.com
Phone: 0373885338
See you,
👽 PriceAction & SmartMoney ∞ Galaxy [VNFlow]Contact and discussion to use advanced tools to support your trading strategy
Email: hasobin@outlook.com
Phone: 0373885338
See you,
Dinámicas de Mercado ProUser Manual: Indicator "Dinámicas de Mercado Pro" (DMP)
Author: @Profit_Quant
Created by: Gemini AI (2025)
1. General Concept
The "Dinámicas de Mercado Pro" indicator is an all-in-one technical analysis tool designed to be overlaid directly onto your price chart. Its goal is to provide a clear and concise view of the market structure by combining three crucial trading elements:
The Overall Trend: What is the main direction of the market?
Liquidity Zones: Where is the price likely to react (supports and resistances)?
Breakout Momentum: When is the price breaking out of a range with force and volume?
By integrating these components, the DMP helps you make more informed trading decisions by identifying high-probability zones for entering or exiting trades.
2. Essential Step! - Initial Chart Setup
For the indicator to work as designed, it is essential to hide the original candles of the TradingView chart.
The indicator already draws its own candles with the market sentiment colors. If you do not hide the original ones, you will see both sets of candles overlapping, which will make the chart confusing and unreadable.
How to hide the chart's candles?
There are two simple ways:
Method 1 (Recommended):
Once you have the "DMP" indicator on your chart, look for the symbol's name in the top-left corner of your screen (e.g., BTCUSD, EURUSD, etc.).
Right next to the name, you will see an eye icon (👁️).
Click that eye icon to hide the main symbol (the original candles, bars, or lines). The chart will become clean, showing only the candles drawn by the DMP indicator.
Method 2 (Alternative):
Click the gear icon (⚙️) for the chart settings.
Go to the "Symbol" tab.
Uncheck the boxes for "Body," "Borders," and "Wicks," or set their opacity to 0%.
3. Main Components and Their Interpretation
The indicator has 3 key visual components you need to understand.
a) Supply and Demand Zones (Order Blocks)
These are the colored rectangles drawn automatically on the chart.
What are they?: They represent zones where there was a strong imbalance between buyers and sellers, often caused by the activity of large institutions.
Demand Zone (Blue Rectangle): A potential support zone. When the price returns to this area, buying pressure is expected to increase, pushing the price up.
Supply Zone (Red Rectangle): A potential resistance zone. When the price reaches this area, selling pressure is expected to increase, pushing the price down.
Mitigated Zone (Gray Rectangle): When the price touches a supply or demand zone, it becomes "mitigated," meaning the liquidity in that zone has already been used. The zone turns gray to indicate that it is less reliable and the price is more likely to break through it in the future.
b) Candle Coloring (Market Sentiment)
The chart candles will change color based on a priority system to give you an instant read of market sentiment.
Green Candles (Uptrend): Indicate that the price is above the long-term Exponential Moving Average (EMA) (200 by default). This suggests the overall trend is bullish, and you should look for buying opportunities.
Red Candles (Downtrend): Indicate that the price is below the 200 EMA. This suggests the overall trend is bearish, and you should look for selling opportunities.
White Candles (Bullish Breakout): Alert! This occurs when the price breaks a recent range high AND is accompanied by above-average volume. It's a strong sign of bullish momentum.
Purple Candles (Bearish Breakout): Alert! This occurs when the price breaks a recent range low with high volume. It's a strong sign of bearish momentum.
Gray Candles (Neutral): Appear when the price is very close to the 200 EMA, indicating indecision or consolidation in the market. This is a time for caution.
c) Probability Paths (Price Targets)
These are the dashed lines projected from the last real-time candle.
Demand Path (Blue Dashed Line): Points from the current price to the center of the nearest unmitigated demand zone. It acts as a potential support target.
Supply Path (Red Dashed Line): Points from the current price to the center of the nearest unmitigated supply zone. It acts as a potential resistance target.
4. Basic Trading Strategies
Confluence Strategy: Look for buying opportunities when the price pulls back to a blue demand zone while the candles are green (uptrend). Look for selling opportunities when the price rallies to a red supply zone with red candles (downtrend).
Breakout Strategy: Use the white or purple candles as an aggressive entry signal in the direction of the breakout. The stop-loss could be placed on the other side of the breakout candle.
Range Strategy: When the price is trapped between a clear supply and demand zone (with no breakout candles), you can trade the bounces between them until one zone is broken with a white or purple candle, signaling the end of the range.
5. Indicator Settings (Parameters)
You can customize every aspect of the indicator in its settings panel (the options are self-explanatory in the indicator's menu).
👽 PriceAction & SmartMoney ∞ Galaxy [VNFlow]Contact and discussion to use advanced tools to support your trading strategy
Email: hasobin@outlook.com
Phone: 0373885338
See you,
Adaptive Quadratic Kernel EnvelopeThis study draws a fair-value curve from a quadratic-weighted (Nadaraya-Watson) regression. Alpha sets how sharply weights decay inside the look-back window, so you trade lag against smoothness with one slider. Band half-width is ATRslow times a bounded fast/slow ATR ratio, giving an instant response to regime shifts without overshooting on spikes. Work in log space when an instrument grows exponentially, equal percentage moves then map to equal vertical steps. NearBase and FarBase define a progression of adaptive thresholds, useful for sizing exits or calibrating mean-reversion logic. Non-repaint mode keeps one-bar delay for clean back-tests, predictive mode shows the zero-lag curve for live decisions.
Key points
- Quadratic weights cut phase error versus Gaussian or SMA-based envelopes.
- Dual-ATR scaling updates width on the next bar, no residual lag.
- Log option preserves envelope symmetry across multi-decade data.
- Alpha provides direct control of curvature versus noise.
- Built-in alerts trigger on the first adaptive threshold, ready for automation.
Typical uses
Trend bias from the slope of the curve.
Entry timing when price pierces an inner threshold and momentum stalls.
Breakout confirmation when closes hold beyond outer thresholds while volatility expands.
Stops and targets anchored to chosen thresholds, automatically matching current noise.
Trend TraderDescription and Usage of the "Trend Trader" Indicator
The "Trend Trader" indicator, created by Gerardo Mercado as a legacy project, is a versatile trading tool designed to identify potential buy and sell signals across various instruments. While it provides predefined settings for popular instruments like US30, NDX100, GER40, and GOLD, it can be seamlessly adapted to any market, including forex pairs like EUR/USD. The indicator combines moving averages, time-based filters, and MACD confirmation to enhance decision-making for traders.
How It Works
Custom Moving Averages (MAs):
The indicator uses two moving averages:
Short MA: A faster-moving average (default: 10 periods).
Long MA: A slower-moving average (default: 100 periods).
Buy signals are generated when the Short MA crosses above the Long MA.
Sell signals are triggered when the Short MA crosses below the Long MA.
Time-Based Signals:
The user can define specific trading session times (start and end in UTC) to focus on high-activity periods for their chosen market.
Signals and background coloring are only active during the allowed session times.
MACD Confirmation:
A MACD (Moving Average Convergence Divergence) calculation on a 15-minute timeframe ensures stronger confirmation for signals.
Buy signals require the MACD line to be above the signal line.
Sell signals require the MACD line to be at or below the signal line.
Target Levels:
Predefined profit targets are dynamically set based on the selected trading instrument.
While it includes settings for US30, NDX100, GER40, and GOLD, the target levels can be adjusted to fit the volatility and structure of any asset, including forex pairs like EUR/USD.
Target 1 and Target 2 levels display when these thresholds are met after an entry signal.
Adaptability to Any Market:
Although predefined options are included for specific instruments, the indicator's moving averages, time settings, and MACD logic are applicable to any tradable asset, making it suitable for forex, commodities, indices, and more.
Visual Alerts:
Labels appear on the chart to highlight "BUY" and "SELL" signals at crossover points.
Additional labels indicate when price movements reach the predefined target levels.
Bar and background coloring visually represent active signals and MACD alignment.
Purpose
The indicator aims to simplify trend-following and momentum-based trading strategies. By integrating moving averages, MACD, customizable time sessions, and dynamic targets, it offers clear entry and exit points while being adaptable to the needs of individual traders across diverse markets.
How to Use
Setup:
Add the indicator to your TradingView chart.
Configure the moving average periods, trading session times, and target levels according to your preferences.
Select the instrument for predefined target settings or customize them to fit the asset you’re trading (e.g., EUR/USD or other forex pairs).
Interpreting Signals:
Buy Signal: The Short MA crosses above the Long MA, MACD confirms the upward trend, and the session is active.
Sell Signal: The Short MA crosses below the Long MA, MACD confirms the downward trend, and the session is active.
Adapt for Any Instrument:
Adjust the predefined target levels to match the volatility and trading style for your chosen asset.
For forex pairs like EUR/USD, consider typical pip movements to set appropriate profit targets.
Targets:
Use the provided target labels (e.g., 50 or 100 points) or customize them to reflect realistic profit goals based on the asset’s volatility.
Visual Aids:
Pay attention to the background color:
Greenish: Indicates a bullish trend during the allowed session.
Redish: Indicates a bearish trend during the allowed session.
Use the "BUY" and "SELL" labels for actionable insights.
This indicator is a flexible and powerful tool, suitable for traders across all markets. Its adaptability ensures that it can enhance your strategy, whether you’re trading forex, commodities, indices, or other assets. By offering actionable alerts and customizable settings, the "Trend Trader" serves as a valuable addition to any trader’s toolkit. FX:EURUSD
EMA + RSI + MACD StrategyEMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy
SlopeDirectionLine_TWSlopeDirectionLine_TW
___________________________
Tried to copy a MT4 indicator
Turtle 2.0 – Backtest Strategy for Trend ConfirmationA simple backtesting tool for traders who want to test and understand their own ideas.
This is not a signal provider. Not a finished system. Not financial advice.
Purpose of this Script
This strategy is not intended for live trading, but rather as an analytical and educational tool.
It is based on a simplified, trend-following Turtle-style logic and helps you explore the question:
“When does a strategy work – and when does it fail?”
I (Tom) am not a professional trader myself, but someone who is between beginner and intermediate.
This tool helps me (and hopefully you too) think more systematically and back up (or challenge) my own ideas.
Core Idea
Most trading strategies only work under certain market conditions.
This script helps you analyze:
– Does your logic work better in clear trends?
– Do trend filters help – and when do they hurt?
– How do sideways phases affect performance?
– Is your setup robust across different timeframes and assets?
Adjustable Settings
The script is designed to be flexible. In the settings panel, you can configure:
• Enable EMA trend filter – Activate or deactivate trend filtering
• EMA 1–4 – Length of exponential moving averages (e.g. 21, 50, etc.)
• Show pivots – Display local highs and lows as reference
• Pivot length – Number of candles to each side to define a pivot
• Show signals – Enable or disable signal visualization
All parameters can be adjusted directly in the TradingView settings menu.
If You Decide to Trade with It (Not Recommended)
If you still want to test this strategy with real trading, please consider:
Always analyze market context (trend, volatility, news)
Use your own stop-loss and take-profit logic
Avoid choppy or sideways markets
Test across different timeframes and instruments
Combine it with volume, support/resistance, or candlestick patterns
Note: The script is non-repainting – signals are shown only after the bar is closed.
Possible Use Cases
– Only show signals in trend phases
– Analyze: When does your setup perform well or poorly?
– Review “what-if” scenarios
– Base for experimentation and further development
Feedback Welcome
If you have ideas, questions, or suggestions – feel free to reach out.
I'd love to hear your thoughts or see how you use or modify the script.
Background & Development
This script was initially inspired by publicly available code from parsimaj.
It was completely rewritten, modernized, documented, and customized to my own requirements.
The goal was to create a simple, robust, and flexible learning and testing tool.
License & Disclaimer
– No guarantee of profitability. Not financial advice.
– Use at your own risk. Educational and analytical use only.
Author: Tom & ChatGPT
Version: Turtle 2.0 – Backtest Edition
Platform: TradingView – Pine Script v5
SMT + CISD Detector | NQ✅ Features
Detects bullish and bearish SMT using ES1! vs NQ.
Scans multiple timeframes: 1m, 5m, 15m, 1H.
Displays SMT & CISD checklist in a live dashboard table on your chart.
Clean, no clutter — no plots or shapes, just detection logic + checklist.
Designed specifically for trading NQ.
亚欧美盘开关及交接时段标记 - plotshape版📌 English Description:
This script highlights the opening and closing times of the Asian, European, and US trading sessions on your chart, helping traders understand global session dynamics and volatility shifts in a visual and intuitive way.
💡 Applicable Instruments: Gold (XAUUSD) and Major Forex Pairs (e.g., EURUSD, GBPUSD, USDJPY, etc.)
💡 Best for: Price Action, Session-based strategies, Breakout trades
Time zone used: Asia/Shanghai (GMT+8)
Asia Session: 08:00 - 15:00 (typically range-bound)
European Session: 15:00 - 19:00 (London volatility begins)
US Session: 20:00 - 00:00 (New York session, often the major trend period)
Gray background marks the 19:00 - 20:00 transition phase between EU and US sessions, often a quiet or pivotal moment
Perfect for short- to medium-term traders who rely on understanding session-based price behaviors—especially effective for gold and major forex pairs.
📌 中文描述:
本脚本用于在图表中标记亚盘、欧盘、美盘的开盘与收盘时间点,以直观的方式帮助交易者识别全球主要交易时段的节奏与波动特征。
💡 适用品种:黄金(XAUUSD)及主流外汇(如EURUSD、GBPUSD、USDJPY等)
💡 适用策略:价格行为(Price Action)、时段波动捕捉、趋势突破等
使用**北京时间(Asia/Shanghai)**识别时段
亚盘时间:08:00 - 15:00(通常为震荡行情)
欧盘时间:15:00 - 19:00(伦敦时段,波动增强)
美盘时间:20:00 - 00:00(纽约时段,主趋势时段)
灰色背景提示:19:00 - 20:00 为欧美盘交接期,是重要的波动衰减与等待爆发阶段
适合关注全球交易时段切换规律的中短线交易者,特别对黄金与外汇价格行为策略有重要参考意义。
THUAN RSIgiá trên rsi rất tiện dụng cho ae chuyên phái rsi, chỉ báo động lượng và biên độ giá real time
MohdTZ - SUPER indicatorInspired by my mentor Paradise, I've developed a custom indicator that combines five powerful tools into one.
This is especially designed for users who are using the free TradingView plan and are limited to a single indicator. With this all-in-one solution, you no longer have to compromise.
The combined indicator includes:
Paradise Money Noodle
EMA 200
EMA 13
SuperTrend Indicator
Watermark Labeling
This setup brings clarity, efficiency, and power—all within a single script.
OBV with MA & Bollinger Bands by Marius1032OBV with MA & Bollinger Bands by Marius1032
This script adds customizable moving averages and Bollinger Bands to the classic OBV (On Balance Volume) indicator. It helps identify volume-driven momentum and trend strength.
Features:
OBV-based trend tracking
Optional smoothing: SMA, EMA, RMA, WMA, VWMA
Optional Bollinger Bands with SMA
Potential Combinations and Trading Strategies:
Breakouts: Look for price breakouts from the Bollinger Bands, and confirm with a rising OBV for an uptrend or falling OBV for a downtrend.
Trend Reversals: When the price touches a Bollinger Band, examine the OBV for divergence. A bullish divergence (price lower low, OBV higher low) near the lower band could signal a reversal.
Volume Confirmation: Use OBV to confirm the strength of the trend indicated by Bollinger Bands. For example, if the BBs indicate an uptrend and OBV is also rising, it reinforces the bullish signal.
1. On-Balance Volume (OBV):
Purpose: OBV is a momentum indicator that uses volume flow to predict price movements.
Calculation: Volume is added on up days and subtracted on down days.
Interpretation: Rising OBV suggests potential upward price movement. Falling OBV suggests potential lower prices.
Divergence: Divergence between OBV and price can signal potential trend reversals.
2. Moving Average (MA):
Purpose: Moving Averages smooth price fluctuations and help identify trends.
Combination with OBV: Pairing OBV with MAs helps confirm trends and identify potential reversals. A crossover of the OBV line and its MA can signal a trend reversal or continuation.
3. Bollinger Bands (BB):
Purpose: BBs measure market volatility and help identify potential breakouts and trend reversals.
Structure: They consist of a moving average (typically 20-period) and two standard deviation bands.
Combination with OBV: Combining BBs with OBV allows for a multifaceted approach to market analysis. For example, a stock hitting the lower BB with a rising OBV could indicate accumulation and a potential upward reversal.
Created by: Marius1032
WR-Top Dip signals
This script is a technical analysis tool for stocks that calculates the Williams %R (WR) indicator and displays tops and bottoms signals on the chart. The WR indicator is an oscillator that measures the momentum of the stock's price movement over a certain period of time. It is based on the highest and lowest prices over a certain period of time and is expressed as a percentage of the difference between the current price and the highest price (or lowest price) over that period. The WR indicator ranges from 0 to -100, with 0 indicating that the stock is oversold and -100 indicating that the stock is overbought.
The script provides default parameters of WR1:84 and WR2:168, which are suitable for most traders. However, you can modify the parameters according to your needs, such as WR1:55 and WR2:144. The WR1 parameter is the number of periods used to calculate the first WR line, and the WR2 parameter is the number of periods used to calculate the second WR line. The two lines are then plotted on the chart, and their crossing generates the tops and bottoms signals.
The tops and bottoms signals are determined by the crossing of two different time periods of the WR indicator. When the shorter-term WR line (WR1) crosses below the upper limit (usually set at -20), and the longer-term WR line (WR2) does not cross below the upper limit, a tops signal is generated. This indicates that the stock is overbought and may be a good time to sell. Conversely, when the shorter-term WR line (WR1) crosses above the lower limit (usually set at -80), and the longer-term WR line (WR2) does not cross above the lower limit, a bottoms signal is generated. This indicates that the stock is oversold and may be a good time to buy.
In addition to displaying the WR indicator and tops and bottoms signals, the script also includes some drawing and alert features. You can draw horizontal lines at the upper and lower limits to help you identify when the WR indicator crosses them. You can also set alerts to notify you when a tops or bottoms signal is generated.
Please note that this script is just one tool among many for technical analysis, and you should use it in conjunction with other tools and your own analysis to make your own buy or sell decisions. The purpose of this description is to help users understand the script's functionality and how to use it. If you have any questions, please refer to TradingView's community rules or contact TradingView customer service.
Smart Composite Strategy {Darkoexe}This strategy is a multi-confirmation trend-based system that combines several powerful community concepts into a cohesive trade automation framework. It’s designed to help identify high-probability directional trades with built-in dynamic exits, take-profits, and intelligent trend filters.
🧩 What Makes It Unique
Rather than relying on a single signal or open-source indicator, this strategy blends three well-established concepts:
G-Trend Reversal Detection – A trailing ATR-based trend switch logic to determine core market direction.
Bull/Bear Candle Momentum Filter – Counts candle colors over a lookback period to evaluate directional conviction.
Multi-timeframe CCI Rider & Ultimate RSI – Uses smoothed momentum values to confirm continuation and strength.
Trades are only entered when all modules are in agreement — filtering out noisy entries and aligning with prevailing momentum.
⚙️ Strategy Components
Entry Triggers:
A confirmed trend switch via G-Trend logic.
Favorable bullish or bearish candle momentum.
Multi-timeframe momentum alignment using:
CCI EMA
Augmented RSI signal line
Exits:
Optional G-Trend signal reversal exit.
Configurable stop-loss and take-profit levels, based on percentages.
Partial TP1-based exit, with dynamic stop-loss movement to entry upon trigger.
Customization:
Backtesting window control (start/end date).
Toggle for stop loss, take profit, TP1 percent, and SL trail logic.
Toggle to use or skip trend-based exit logic.
🎯 Use Case
This strategy is best suited for:
Swing traders or intraday trend-followers.
Users wanting layered confirmation rather than single-indicator entries.
Markets with clear institutional flows or trending behavior.
⚠️ Notes & Limitations
This strategy uses components from other publicly available indicators, including:
G-Trend
CCI Rider by Stefan Loosli
Ultimate RSI by LuxAlgo
All code has been integrated and adapted into a unified logic tree.
The strategy operates using historical price data and may not account for real-time slippage or fees.
Always forward test in live or paper environments before relying on performance.
10 MA > 21 MA HighlightWhen the 10 day is above the 21 MA , this script will show a light green color on the screen
Fixed Trading - JeremyZanXMaps out the range on the 23rd hour of each day for the past 100 days. It then provides some tradable price points based upon the range derived. Meant to be used on the H1 ONLY. Hasn't been programmed to work on any other timeframe.
A-B-C-D Levels with Customizable Pct & Price LineIt's one of the less popular plain technique for trading with fundamentally strong stocks. please do select stocks properly. this may or may not work for all stocks.
Large cap ratios maybe different from small cap ratios, do back test properly before taking any decision. all the best. happy investing.
VWAP + RSI + ADX Buy SignalThis is combination of RSI VWAP and ADX for generating buy signals.All are required to backtest it and post the result thereof in comments section.