VWMA/EMA Crossover with Volume SignalVWMA Cross over EMA with buy sell signals and Strong buy sell signals. Works well with short term charts.
Moving Averages
Multi EMADescription – Multi-EMA Indicator (10/21/66/110/200 EMA)
This indicator combines five essential Exponential Moving Averages (EMAs) into one tool: the 10, 21, 66, 110, and 200 EMA. It's designed for traders who want a clear view of short-, medium-, and long-term trends all in one place.
With this indicator, you can:
Quickly assess trend direction across multiple timeframes
Identify dynamic support and resistance levels
Spot EMA crossovers that may signal potential trade entries or exits
Each EMA is color-coded and can be toggled on or off individually, giving you full control over your chart setup.
EMA Trend with MACD-Based Bar Coloring (Customized)This indicator blends trend-following EMAs with MACD-based momentum signals to provide a visually intuitive view of market conditions. It's designed for traders who value clean, color-coded charts and want to quickly assess both trend direction and overbought/oversold momentum.
🔍 Key Features:
Multi-EMA Trend Visualization:
Includes four Exponential Moving Averages (EMAs):
Fast (9)
Medium (21)
Slow (50)
Long (89)
Each EMA is dynamically color-coded based on its slope—green for bullish, red for bearish, and gray for neutral—to help identify the trend strength and alignment at a glance.
MACD-Based Bar Coloring:
Candlesticks are colored based on MACD's relationship to its Bollinger Bands:
Green bars signal strong bullish momentum (MACD > Upper Band)
Red bars signal strong bearish momentum (MACD < Lower Band)
Gray bars reflect neutral conditions
Compact Visual Dashboard:
A clean, top-right table displays your current EMA and MACD settings, helping you track parameter configurations without opening the settings menu.
✅ Best Used For:
Identifying trend alignment across short- to medium-term timeframes
Filtering entries based on trend strength and MACD overextension
Enhancing discretion-based or rule-based strategies with visual confirmation
WaveTrend Filtered Signals (LazyBear Style)WaveTrend Filtered Signals (LazyBear Style)
This indicator is based on the popular WaveTrend oscillator (LazyBear) and adds several optional filters to improve signal quality:
✅ Available filters:
WT oversold/overbought zones – enabled by default. Signals are shown only if WT was previously in the specified zone (e.g., < -60 for longs, > 60 for shorts).
SMA trend filter – allows filtering signals in the direction of the moving average trend.
SMA position filter – signals appear only when price is above (for long) or below (for short) the moving average.
Consolidation filter – ignores signals during low-volatility sideways price movement.
💡 All filters are optional and can be enabled or disabled in the settings.
The default setup focuses on a clean approach: WaveTrend + oversold/overbought zones, with other filters left for customization.
SSS (Smati Sati Swing) v0.3📌 คำอธิบายสคริปต์ – SSS (Smati Sati Swing) v0.3
Smati Sati Swing (SSS) v0.3 คืออินดิเคเตอร์แบบ All-in-One ที่ออกแบบมาเพื่อเทรดเดอร์สายเทรดสั้นที่ต้องการความชัดเจนใน “โครงสร้างกราฟ”, “เทรนด์”, และ “พฤติกรรมตามช่วงเวลา” เพื่อช่วยให้ตัดสินใจได้แม่นยำมากขึ้น
🔹 1. ระบบยืนยัน Swing ด้วย ZigZag (Swing Structure Logic)
ใช้ ZigZag Logic สไตล์ MT4 ในการระบุจุด HH (Higher High), HL, LH, LL
ช่วยให้มองเห็นโครงสร้างราคาได้ชัดเจน
เหมาะสำหรับใช้ตี Fibonacci, วางจุด Stop Loss เชิงโครงสร้าง
ทุกจุด swing จะมี Label แสดงแบบเรียลไทม์ พร้อมตั้งค่าได้หลากหลาย
รองรับ Alert แจ้งเตือนเมื่อตลาดเกิด swing จุดใหม่
🔹 2. Dashboard แสดงแนวโน้มหลาย Timeframe (Trend Detection Logic)
ตรวจจับเทรนด์แบบอัตโนมัติในหลาย TF ได้แก่ 1m, 5m, 15m, 30m, 1h, 4h
โดยใช้ EMA89 เป็นตัวกำหนดแนวโน้มหลัก
ระบบจะเปรียบเทียบราคาและ EMA พร้อม Threshold อัตโนมัติ
แสดงผลเป็น "ขาขึ้น", "Sideway", หรือ "ขาลง"
ใช้สีที่เข้าใจง่ายสำหรับตีความในพริบตาเดียว
🔹 3. กล่องแสดงช่วงเวลา Session (Time Logic)
อินดิเคเตอร์นี้สามารถแสดงกล่องแบบเรียลไทม์ของ Session หลัก ได้แก่:
เอเชีย, ลอนดอน, และนิวยอร์ก (US)
เห็นได้ทันทีว่าแต่ละ Session มีแนวโน้มพักตัวหรือ breakout
ช่วยให้วางกลยุทธ์เทรดตามช่วงเวลาที่มี Volume สูงได้แม่นยำยิ่งขึ้น
🔹 4. ระบบคำนวณ Lot / Margin + ตั้งค่าปรับได้ทุกฟีเจอร์
ใส่ขนาดบัญชีของคุณ และเลือกว่าคุณเทรด คริปโต หรือ ฟอเร็กซ์
ระบบจะแสดง:
Margin ที่ใช้โดยประมาณ (สำหรับ Crypto)
หรือ ขนาด Lot แนะนำ (สำหรับ Forex ตามโมเดล $10,000 = 1 Lot)
ทุกฟีเจอร์ เช่น EMA, ZigZag, Labels, Session, และ Lot Info
สามารถเปิด/ปิดได้จากหน้าตั้งค่าแรก เพื่อให้เหมาะกับสไตล์ของคุณ
💡 เหมาะกับใคร?
เทรดเดอร์ที่เน้นโครงสร้างราคา (เช่น เทรด Break HL / LH)
เทรดเดอร์ที่ใช้ Fibonacci หรือแนวรับต้านแบบ Zone
เทรดเดอร์สายกลับตัว หรือสาย Scalping ที่ต้องการยืนยันเทรนด์ + สวิง
สคริปต์นี้ไม่ repaint และทำงานแบบเรียลไทม์ทุกแท่งราคา
แม้จะเป็น Closed-source แต่ทุกฟีเจอร์หลัก และตรรกะการคำนวณ ได้อธิบายไว้อย่างชัดเจนในคำอธิบายนี้แล้ว
📌 Script Description – SSS (Smati Sati Swing) v0.3
Smati Sati Swing (SSS) v0.3 is an all-in-one indicator developed for short-term traders who prioritize structure, clarity, and decision-making under pressure. This script combines three major components — Trend Direction, Swing Structure, and Session Context — and presents them in an integrated, real-time dashboard.
🔹 1. ZigZag-Based Swing Verification (Structure Logic)
This module uses a ZigZag algorithm (based on MT4-style logic) to identify and label Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL).
It helps traders visually confirm market structure in real-time
Useful for identifying potential reversal points, placing Fibonacci retracements, or setting structure-based Stop Loss
Swing points are labeled directly on the chart with customizable visuals and alerts
🔹 2. Multi-Timeframe Trend Detection (Trend Logic)
A built-in dashboard displays trend status across key timeframes: 1m, 5m, 15m, 30m, 1h, and 4h, using EMA(89) as the trend anchor.
Price vs EMA is compared with a dynamic threshold
Results in “Uptrend”, “Sideway”, or “Downtrend” conditions
Color-coded for quick interpretation
🔹 3. Session Box Overlay (Time Logic)
The indicator also draws real-time boxes for the Asia, London, and New York (US) sessions, helping traders recognize:
When price tends to consolidate vs. break out
How different sessions impact volatility and structure formation
🔹 4. Lot/Margin Estimator + Custom Settings
Input your account size and select whether you're trading Crypto or Forex
The script will suggest either:
Estimated margin usage (for crypto accounts)
Approximate lot size (for forex accounts, based on a 1 lot = $10,000 model)
Every module (EMA, Sessions, ZigZag, Labels, Lot Display) can be toggled on/off from the main settings for full control
💡 Use Case Summary
SSS v0.3 is ideal for:
Traders who follow structure-based entries (like break of LH/HL)
Fibonacci and supply-demand zone traders
Reversal or scalping strategies that require real-time trend & structure verification
This script does not repaint, and all logic is executed live per-bar. While this is a closed-source script, all components, calculations, and features are described in full here.
Best EMA Cross Strategy with TP/SLBest EMA Cross Strategy with TP/SL
🧠 Core Concept:
This strategy combines three exponential moving averages (EMAs) to detect trend shifts and places trades with automatic take profit (TP) and stop loss (SL) levels based on percentage risk management.
📊 Indicators Used:
EMA 20 (Green): Short-term trend (for context only)
EMA 50 (Red): Medium-term trend
EMA 200 (Yellow): Long-term trend baseline
✅ Entry Logic:
🔼 Buy Entry (Long Position):
Triggered when:
EMA 50 crosses above EMA 200 (Golden Cross)
EMA 200 is sloping upward (shows long-term trend confirmation)
This suggests a strong bullish reversal or trend continuation.
🔽 Sell Entry (Short Position):
Triggered when:
EMA 50 crosses below EMA 200 (Death Cross)
EMA 200 is sloping downward (confirms long-term bearish trend)
This signals a potential market downturn or continuation of a bearish trend.
📏 Risk Management Logic:
Stop Loss (SL): Set as a fixed % away from entry price (default: 1%)
Take Profit (TP): Set using a Risk-Reward ratio (default: 2:1)
For example:
If SL = 1%, and RR = 2 → TP = 2%
These are set using strategy.exit() for accurate backtesting.
⚙️ Adjustable Parameters in Settings Panel:
Parameter Default Purpose
EMA 20 Length 20 Used for visual trend support
EMA Fast Length 50 Used in crossover (faster-moving average)
EMA Slow Length 200 Used in crossover (slower-moving average)
Stop Loss % 1.0 Distance from entry for SL
Risk-Reward Ratio 2.0 Multiplier for TP target
🔔 Alerts Included:
You’ll be notified when:
Golden Cross (buy opportunity)
Death Cross (sell opportunity)
Set alerts in TradingView from the Alerts panel.
✅ Best Timeframes:
1H, 4H, or Daily
Avoid using on extremely low timeframes (like 1m or 5m) without modification
📈 Strategy Use Tips:
Combine with support/resistance zones for higher probability entries
Use EMA 20 as a trailing dynamic SR level
Backtest on multiple assets and timeframes with adjusted SL/RR
Look for volume confirmation manually if needed
All backtested and very profitable
Precise EMA Cross Strategy (20, 50, 200)Precise EMA Cross Strategy (20, 50, 200)
🧠 Core Concept:
This strategy is designed to capture major trend reversals using Exponential Moving Averages (EMAs) and avoid false signals by requiring:
A confirmed EMA crossover (Golden/Death Cross).
Confirmation from the trend direction (slope) of the 200 EMA.
The price to be aligned with the direction of the signal (above or below EMAs).
📊 Components:
EMA 20 (Green): Short-term price momentum.
EMA 50 (Red): Medium-term trend reference.
EMA 200 (Yellow): Long-term trend foundation.
✅ Trade Entry Rules:
🔼 Buy Signal (Golden Cross):
Occurs when:
EMA 50 crosses above EMA 200.
The slope of EMA 200 is upward, confirming long-term uptrend.
Price is above both EMA 50 and EMA 200, showing bullish market strength.
🔔 You'll see a green "BUY" marker below the candle.
This is a high-probability long entry setup.
🔽 Sell Signal (Death Cross):
Occurs when:
EMA 50 crosses below EMA 200.
The slope of EMA 200 is downward, confirming a bearish trend.
Price is below both EMA 50 and EMA 200, confirming weakness.
🔔 You'll see a red "SELL" marker above the candle.
This is a high-probability short entry setup.
📅 Best Timeframes to Use:
Swing trading: 1H, 4H, Daily
Position trading: Daily, Weekly
Not suitable for scalping on low timeframes (e.g. 1min or 5min) due to EMA smoothing delay
🧪 Backtesting Tips:
Look for confirmation on higher timeframes (e.g., 4H or 1D).
Combine this strategy with:
RSI divergence
Volume spikes
Support/resistance zones
⚠️ Avoid False Signals:
Do not trade if the slope of EMA 200 is flat or conflicting with the crossover.
Avoid trading in sideways markets or low-volatility environments.
🔔 Alerts:
The script includes built-in alert conditions:
Golden Cross Alert
Death Cross Alert
Set them in TradingView’s alert panel to get notified when a valid trade setup forms.
💡 Example Trade Flow:
BUY Example:
1H chart: EMA 50 crosses above EMA 200 ✅
Slope of EMA 200 is rising ✅
Price is above both EMAs ✅
➡️ Enter a long position
🎯 Set take profit at previous resistance or use trailing stop
🛑 Stop loss just below recent swing low or EMA 200
SELL Example:
4H chart: EMA 50 crosses below EMA 200 ✅
Slope of EMA 200 is falling ✅
Price is below both EMAs ✅
➡️ Enter a short position
🎯 Set TP at support or use trailing
🛑 SL above recent swing high or EMA 200
🧩 Combine With:
Candlestick patterns (e.g., engulfing, pin bar)
Breakout levels
Fibonacci retracement zones
Precise EMA Cross Strategy (20, 50, 200)Precise EMA Cross Strategy (20, 50, 200)
🧠 Core Concept:
This strategy is designed to capture major trend reversals using Exponential Moving Averages (EMAs) and avoid false signals by requiring:
A confirmed EMA crossover (Golden/Death Cross).
Confirmation from the trend direction (slope) of the 200 EMA.
The price to be aligned with the direction of the signal (above or below EMAs).
📊 Components:
EMA 20 (Green): Short-term price momentum.
EMA 50 (Red): Medium-term trend reference.
EMA 200 (Yellow): Long-term trend foundation.
✅ Trade Entry Rules:
🔼 Buy Signal (Golden Cross):
Occurs when:
EMA 50 crosses above EMA 200.
The slope of EMA 200 is upward, confirming long-term uptrend.
Price is above both EMA 50 and EMA 200, showing bullish market strength.
🔔 You'll see a green "BUY" marker below the candle.
This is a high-probability long entry setup.
🔽 Sell Signal (Death Cross):
Occurs when:
EMA 50 crosses below EMA 200.
The slope of EMA 200 is downward, confirming a bearish trend.
Price is below both EMA 50 and EMA 200, confirming weakness.
🔔 You'll see a red "SELL" marker above the candle.
This is a high-probability short entry setup.
📅 Best Timeframes to Use:
Swing trading: 1H, 4H, Daily
Position trading: Daily, Weekly
Not suitable for scalping on low timeframes (e.g. 1min or 5min) due to EMA smoothing delay
🧪 Backtesting Tips:
Look for confirmation on higher timeframes (e.g., 4H or 1D).
Combine this strategy with:
RSI divergence
Volume spikes
Support/resistance zones
⚠️ Avoid False Signals:
Do not trade if the slope of EMA 200 is flat or conflicting with the crossover.
Avoid trading in sideways markets or low-volatility environments.
🔔 Alerts:
The script includes built-in alert conditions:
Golden Cross Alert
Death Cross Alert
Set them in TradingView’s alert panel to get notified when a valid trade setup forms.
💡 Example Trade Flow:
BUY Example:
1H chart: EMA 50 crosses above EMA 200 ✅
Slope of EMA 200 is rising ✅
Price is above both EMAs ✅
➡️ Enter a long position
🎯 Set take profit at previous resistance or use trailing stop
🛑 Stop loss just below recent swing low or EMA 200
SELL Example:
4H chart: EMA 50 crosses below EMA 200 ✅
Slope of EMA 200 is falling ✅
Price is below both EMAs ✅
➡️ Enter a short position
🎯 Set TP at support or use trailing
🛑 SL above recent swing high or EMA 200
🧩 Combine With:
Candlestick patterns (e.g., engulfing, pin bar)
Breakout levels
Fibonacci retracement zones
Multiple Moving AverageSeven moving averages, to assess momentum in short term, medium term and long term, with ability to change periods, color and moving average type. Useful in pullback trading
Bull Market Support Band20 Week SMA & 21 Week EMA band, indicator of rough overall sentiment for the market.
Moving Average Ribbon7 multiple moving averages, with options to change period, colour and moving average type. This is helpful while taking pullback trades
Luma Trend Filter
Luma Trend Filter is a visually intuitive trend-following indicator that uses two Exponential Moving Averages to detect prevailing market direction. It colors the candlesticks and wicks in real time based on the EMA crossover trend logic:
🟢 Green: Bullish trend (Fast EMA > Slow EMA)
🔴 Red: Bearish trend (Fast EMA < Slow EMA)
This tool is designed to enhance chart readability and can be used as a trend filter for entries, exits, or confirmation signals in any trading strategy. It also shades the area between the EMAs to highlight trend zones.
Customizable input parameters include:
- Fast and Slow EMA lengths
- Candle and wick color schemes
Created by: Luma | Version: 1.0
P.F.Algo_V63 09051. Purpose & Original Edge
All-in-one pipeline combining:
6 independent entry logics (volatility breakout, fractals, Bollinger + SMA pullback, linear spread, Opening Range Breakout, Donchian + Chikou confirmation).
11 stackable filters (from short-term MA direction to macro relative-strength).
A parametric risk-management module (static / dynamic SL-TP, break-even, fractal trailing, losing-bar cutoff).
An MT5 connector (via PineConnector) that pushes every order with pre-calculated SL/TP from TradingView.
What makes V63 unique? Inter-market filters (ETF/ratio-based), ATR regime control, and dynamic Fibonacci windows—features not found in public scripts.
2. How It Works – source remains private
Block Logic Key Conditions (excerpt)
Entries • Delta: fixed limit around price.
• Fractal: break of N = 2 fractal.
• Boll + SMA: return to band / MA-50.
• Linear: Instrument / Benchmark spread & regression slope.
• ORB: breakout of first X minutes.
• Donchian + Chikou: channel break + Ichimoku validation. One trade per eligible signal.
“Allowed” Filter Sessions, dynamic Fib-265-day zones on HTF closes, ATR regime (EMA10 < EMA20), max signal age. Ensures a tradable context.
Technical Filters 1-11 MA direction, HTF PMax, adaptive QQE, price vs. “Red Line”, RSI > EMA, WMA/SMA cross on external asset, Macro RS on 10-20 instruments. Cuts noise & over-trading.
Risk Engine 3 SL modes, 4 TP modes, 4 BE/TSL modes, multi-TF fractal trailing, auto-stop after N losing bars. Protects capital and trader psychology.
MT5 Alerts Format: LicenseID,buy/sell,Symbol,sl=?,tp=?,risk=? Enables live execution without extra scripting.
3. Default Back-test Settings
Assumption Value
Starting balance € 10 000
Risk per trade 1 % (percent-of-equity)
Commission 0.05 %
Slippage 0.5 pip
Sample size 360 + trades over ~6 years (DAX40 & BTC presets)
These defaults suit an average retail trader. Adapt to your own market and cost structure.
4. Quick-Start Guide
Select “Entry Type” in Inputs, then enable/disable desired filters.
Confirm “Entry Allowed” label is 🟢 before arming alerts.
Configure Risk Management:
SL Mode: %, Red Line (PMax) or off.
TP Mode: fixed, ratio, or tied to Red Line.
Enter LicenseID & MT5 Symbol so the connector can receive orders.
Run a full back-test (200 + trades recommended), then switch to Paper before going live.
5. Limitations & Risk Warning
No guarantee of future performance. Historical results do not predict future returns.
Market conditions and transaction costs may differ from the assumptions above.
Educational use only; you remain fully responsible for any financial loss incurred.
No advertising, external links or solicitations included (complies with House Rule #2).
6. Changelog — V63 vs V62
New Feature Expected Impact
Dynamic Fibonacci Range Filter Blocks entries at extreme range edges.
ATR-EMA Regime Control Suspends trading in compressed volatility.
Losing-Bar Counter Prevents late-cycle entries; limits “late-entry bias”.
Enhanced MT5 Connector Adds risk parameter to each alert payload.
“One block at a time, one edge at a time.” – P.F.Algo V63
#AlgoTrading #TradingViewStrategy #PineScript #ClosedSource #RiskManagement #VolatilityBreakout #FractalTrading #DonchianChannel #OpeningRangeBreakout #IntermarketAnalysis #RelativeStrength #ATRRegime #Fibonacci #MT5Connector #Backtesting #Automation #QuantitativeTrading
MA Ribbon 6 ALMAAdded moving averages to the basic Moving Average Ribbon indicator. This version includes ALMA, HMA, and VWMA.
EMA크로스The EMA Cross strategy is a popular technical analysis method used to identify trend reversals. It involves two Exponential Moving Averages (EMAs) – a short-term and a long-term EMA. A Buy signal is generated when the short-term EMA crosses above the long-term EMA, indicating upward momentum (also called a Golden Cross). A Sell signal occurs when the short-term EMA crosses below the long-term EMA, signaling a potential downtrend (Dead Cross). This crossover technique helps traders make entry and exit decisions, especially in trending markets, but it may generate false signals in sideways or choppy markets.
Livermore-Seykota Breakout StrategyStrategy Name: Livermore-Seykota Breakout Strategy
Objective: Execute breakout trades inspired by Jesse Livermore, filtered by trend confirmation (Ed Seykota) and risk-managed with ATR (Paul Tudor Jones style).
Entry Conditions:
Long Entry:
Close price breaks above recent pivot high.
Price is above main EMA (EMA50).
EMA20 > EMA200 (uptrend confirmation).
Current volume > 20-period SMA (volume confirmation).
Short Entry:
Close price breaks below recent pivot low.
Price is below main EMA (EMA50).
EMA20 < EMA200 (downtrend confirmation).
Current volume > 20-period SMA.
Exit Conditions:
Stop-loss: ATR × 3 from entry price.
Trailing stop: activated with offset of ATR × 2.
Strengths:
Trend-aligned entries with volume breakout confirmation.
Dynamic ATR-based risk management.
Inspired by principles of three legendary traders.
TUE ADX/MACD Confluence V1.1Title: TUE ADX/MACD Confluence V1.1
Description:
This indicator is a revised version of the original ADX and MACD confluence tool. In version 1.1, a MACD Histogram filter has been added to enhance signal accuracy and reduce false entries.
Key Features:
ADX and MACD Confluence: Buy signals are generated when DI+ > DI- and MACD Line > Signal Line with Histogram > 0. Sell signals appear when DI- > DI+ and MACD Line < Signal Line with Histogram < 0.
Clear BUY/SELL Labels: Visual signal markers appear directly on the chart for easy identification.
Optional Candle Coloring: Candles change color based on signal direction (green for buy, red for sell).
Built-in Alert Conditions: Alerts are available for both buy and sell signals, making automation easy.
This indicator is ideal for traders looking to use ADX and MACD together for trend and momentum confirmation, especially when combined with price action strategies.
Let me know if you'd like to include credits, usage tips, or strategy suggestions.
Dynamic EMA📌 Script Title: Dynamic EMA by Timeframe & Color
🔍 Purpose
This script automatically plots a single Exponential Moving Average (EMA) that adapts based on the current chart timeframe, making it ideal for multi-timeframe traders who want to keep their charts clean and focused. It also changes the color of the EMA to visually reinforce which EMA is active.
⚙️ How It Works
The script checks which timeframe you're currently on and:
Selects the corresponding EMA length
Plots that EMA on your chart
Colors the EMA based on its timeframe to help you quickly identify which one you're using
Here’s the timeframe-to-EMA mapping used:
Timeframe EMA Used EMA Color
3-Day EMA 7 White
Daily EMA 21 Blue
4H EMA 50 Green
1H EMA 100 Orange
15-Min EMA 200 Red
Other EMA 21 Gray (Default)
🧠 Why This Is Useful
Clarity & Focus
Instead of plotting multiple EMAs for all timeframes and cluttering your chart, this script shows only the one most relevant to your current view.
Multi-Timeframe Efficiency
If you're a trader who shifts between long-term and short-term views (like 3D → Daily → 4H → 15m), the EMA automatically adjusts itself — no need to manually reconfigure settings.
Color Coding for Visual Recognition
Each timeframe's EMA has a distinct color, so you can recognize which one is in play without even reading the label.
✅ How to Use Effectively
Switch timeframes in TradingView and observe how the EMA and its color update automatically.
The script works best on:
3D
Daily
4H
1H
15m
Any other timeframe will use EMA 21 with a gray color as a fallback.
Use with Trend Analysis: This EMA can serve as:
A trend filter (price above = bullish, below = bearish)
A dynamic support/resistance guide
Combine with Price Action: Watch how price reacts to the current EMA (e.g., bounces, rejections, crossovers).
Use in Confluence: Combine this with candlestick patterns, volume, or other indicators for higher-confidence entries.
Intraday Trading Hit and Run# Strategy Overview
This is a short-term trading system designed for quick entries/exits (intraday). It uses multiple technical indicators to identify momentum trades in the direction of the trend, with built-in risk management through trailing stops.
# Main Components
1. Trend Filter
Uses two EMAs (10-period "fast" blue line and 100-period "slow" red line)
Only trades when:
Long: Price AND fast EMA are above slow EMA
Short: Price AND fast EMA are below slow EMA
2. Main Signal
////Stochastic Oscillator (14-period):
Buy when %K line crosses above %D line
Sell when %K crosses below %D
////Trend Strength Check
Smoothed ADX indicator (5-period EMA of ADX):
Requires ADX value ≥ 25 to confirm strong trend
3. Confirmation using Volume Filter (Optional)
Checks if current volume is 1.5× greater than 20-period average volume
# Entry Rules
A trade is only taken when:
All 3 indicators agree (EMA trend, Stochastic momentum, ADX strength)
Volume filter is satisfied (if enabled)
# Exit Rules
1. Emergency Exit:
Close long if price drops below fast EMA
Close short if price rises above fast EMA
2. Trailing Stop:
Actively protects profits by moving stop-loss:
Maintains 0.1% distance from highest price (longs) or lowest price (shorts)
# Risk Management
Only use 10% of account per trade
Includes 0.04% commission cost in calculations
All trades monitored with trailing stops
# How It Operates
The strategy looks for strong, high-volume momentum moves in the direction of the established trend (as determined by EMAs). It jumps in quickly ("hit") when conditions align, then protects gains with an automatic trailing stop ("run"). Designed for fast markets where trends develop rapidly.
You can use it on 15m, 1h or 4h
Moving Average Convergence Divergenceindicator(title="Moving Average Convergence Divergence", shorttitle="MACD+", timeframe="", timeframe_gaps=true)
// === Input Parameters ===
fast_length = input(title = "Fast Length", defval = 12)
slow_length = input(title = "Slow Length", defval = 26)
src = input(title = "Source", defval = close)
signal_length = input.int(title = "Signal Smoothing", minval = 1, maxval = 50, defval = 9, display = display.data_window)
sma_source = input.string(title = "Oscillator MA Type", defval = "EMA", options = , display = display.data_window)
sma_signal = input.string(title = "Signal Line MA Type", defval = "EMA", options = , display = display.data_window)
// === MACD Calculation ===
fast_ma = sma_source == "SMA" ? ta.sma(src, fast_length) : ta.ema(src, fast_length)
slow_ma = sma_source == "SMA" ? ta.sma(src, slow_length) : ta.ema(src, slow_length)
macd = fast_ma - slow_ma
signal = sma_signal == "SMA" ? ta.sma(macd, signal_length) : ta.ema(macd, signal_length)
hist = macd - signal
// === Alerts ===
alertcondition(hist >= 0 and hist < 0, title = 'Rising to falling', message = 'The MACD histogram switched from a rising to falling state')
alertcondition(hist <= 0 and hist > 0, title = 'Falling to rising', message = 'The MACD histogram switched from a falling to rising state')
// === Plots ===
hline(0, "Zero Line", color = color.new(#787B86, 50))
plot(hist, title = "Histogram", style = plot.style_columns, color = (hist >= 0 ? (hist < hist ? #26A69A : #B2DFDB) : (hist < hist ? #FFCDD2 : #FF5252)))
// MACD 線顏色根據是否高於 0 自動切換
macd_color = macd >= 0 ? color.green : color.red
plot(macd, title = "MACD", color = macd_color)
plot(signal, title = "Signal", color = #FF6D00)
SMA Strategy with Re-Entry Signal (v6 Style)Uses 5 Simple Moving Averages: SMA 10, 20, 30, 60, and 250.
Uptrend Condition:
An uptrend is defined when the closing price is above the 30-day SMA (SMA30).
Re-entry Signal Condition:
A re-entry signal is triggered when, during an uptrend, the closing price crosses above the 20-day SMA (SMA20).
Background Color Logic:
Green: Indicates an active uptrend (potential holding zone).
Red: Indicates the price has fallen below SMA30 (uptrend may be broken, increased risk).
Signal Display:
Re-entry signals are marked with an “↑” symbol below the candlestick.
All 5 SMAs (SMA10, SMA20, SMA30, SMA60, SMA250) are plotted for visual reference.
Buy/Sell Ei - Premium Edition (Fixed Momentum)**📈 Buy/Sell Ei Indicator - Smart Trading System with Price Pattern Detection 📉**
**🔍 What is it?**
The **Buy/Sell Ei** indicator is a professional tool designed to identify **buy and sell signals** based on a combination of **candlestick patterns** and **moving averages**. With high accuracy, it pinpoints optimal entry and exit points in **both bullish and bearish trends**, making it suitable for forex pairs, stocks, and cryptocurrencies.
---
### **🌟 Key Features:**
✅ **Advanced Candlestick Pattern Detection**
✅ **Momentum Filter (Customizable consecutive candle count)**
✅ **Live Trade Mode (Instant signals for active trading)**
✅ **Dual MA Support (Fast & Slow MA with multiple types: SMA, EMA, WMA, VWMA)**
✅ **Date Filter (Focus on specific trading periods)**
✅ **Win/Loss Tracking (Performance analytics with success rate)**
---
### **🚀 Why Choose Buy/Sell Ei?**
✔ **Precision:** Reduces false signals with strict pattern rules.
✔ **Flexibility:** Works in both live trading and backtesting modes.
✔ **User-Friendly:** Clear labels and alerts for easy decision-making.
✔ **Adaptive:** Compatible with all timeframes (M1 to Monthly).
---
### **🛠 How It Works:**
1. **Trend Confirmation:** Uses MAs to filter trades in the trend’s direction.
2. **Pattern Recognition:** Detects "Ready to Buy/Sell" and confirmed signals.
3. **Momentum Check:** Optional filter for consecutive bullish/bearish candles.
4. **Live Alerts:** Labels appear instantly in Live Trade Mode.
---
### **📊 Ideal For:**
- **Day Traders** (Scalping & Intraday)
- **Swing Traders** (Medium-term setups)
- **Technical Analysts** (Backtesting strategies)
**🔧 Designed by Sahar Chadri | Optimized for TradingView**
**🎯 Trade Smarter, Not Harder!**