om bdethis is to make research this is to make research this is to make research this is to make research
Indicatori e strategie
Master Trend Strategy - by jake_thebossMaster Trend Strategy
This strategy combines multiple technical indicators to identify high-probability trend entries across all asset classes.
Core Signal Logic:
Entry triggered when EMA 4 crosses above/below EMA 5
Confirmation required from RSI (>50 for long, <50 for short)
Price must be above/below key moving averages: EMA 21, SMA 50, EMA 55, EMA 89, and EMA 750
Additional confirmation from Stochastic (>52 bullish, <48 bearish) or EMA 89 breakout or VWAP cross
Key Features:
VWAP filter: Only takes bullish signals above VWAP and bearish signals below VWAP
Optional pyramiding: Allows multiple entries in the same direction (up to 200 orders)
Individual stop loss and take profit management for each pyramid level
Time filter: Customizable trading hours with timezone offset
Risk management: Adjustable stop loss (default 0.3%) and take profit (default 0.6%)
Visualization:
Entry, stop loss, and take profit levels drawn as horizontal lines
Customizable signal markers (triangles) for bull/bear entries
Optional EMA overlay display
The strategy is designed for trend-following on lower timeframes, with strict multi-indicator confirmation to filter out false signals.
HermesHERMES STRATEGY - TRADINGVIEW DESCRIPTION
OVERVIEW
Hermes is an adaptive trend-following strategy that uses dual ALMA (Arnaud Legoux Moving Average) filters to identify high-quality entry and exit points. It's designed for swing and position traders who want smooth, low-lag signals with minimal whipsaws.
Unlike traditional moving averages that operate on price, Hermes analyzes price returns (percentage changes) to create signals that work consistently across any asset class and price range.
HOW IT WORKS
DUAL ALMA SYSTEM
The strategy uses two ALMA lines applied to price returns:
• Fast ALMA (Blue Line): Short-term trend signal (default: 80 periods)
• Slow ALMA (Black Line): Long-term baseline trend (default: 250 periods)
ALMA is superior to simple or exponential moving averages because it provides:
• Smoother curves with less noise
• Significantly reduced lag
• Natural resistance to outliers and flash crashes
TRADING LOGIC
BUY SIGNAL:
• Fast ALMA crosses above Slow ALMA (bullish regime)
• Price makes new N-bar high (momentum confirmation)
• Optional: Price above 200 EMA (macro trend filter)
• Optional: ALMA lines sufficiently separated (strength filter)
SELL SIGNAL:
• Fast ALMA crosses below Slow ALMA (bearish regime)
• Optional: Price makes new N-bar low (momentum confirmation)
The strategy stays in position during the entire bullish regime, allowing you to ride trends for weeks or months.
VISUAL INDICATORS
LINES:
• Blue Line: Fast ALMA (short-term signal)
• Black Line: Slow ALMA (long-term baseline)
TRADE MARKERS:
• Green Triangle Up: Buy executed
• Red Triangle Down: Sell executed
• Orange "M": Buy blocked by momentum filter
• Purple "W": Buy blocked by weak crossover strength
KEY PARAMETERS
ALMA SETTINGS:
• Short Period (default: 30) - Fast signal responsiveness
• Long Period (default: 250) - Baseline stability
• ALMA Offset (default: 0.90) - Balance between lag and smoothness
• ALMA Sigma (default: 7.5) - Gaussian curve width
ENTRY/EXIT FILTERS:
• Buy Lookback (default: 7) - Bars for momentum confirmation (required)
• Sell Lookback (default: 0) - Exit momentum bars (0 = disabled for faster exits)
• Min Crossover Strength (default: 0.0) - Required ALMA separation (0 = disabled)
• Use Macro Filter (default: true) - Only enter above 200 EMA
BEST PRACTICES
RECOMMENDED ASSETS - Works well on:
• Cryptocurrencies (Bitcoin, Ethereum, etc.)
• Major indices (S&P 500, Nasdaq)
• Large-cap stocks
• Commodities (Gold, Oil)
RECOMMENDED TIMEFRAMES:
• Daily: Primary timeframe for swing trading
• 4-Hour: More active trading (increase trade frequency)
• Weekly: Long-term position trading
PARAMETER TUNING:
• More trades: Lower Short Period (60-80)
• Fewer trades: Raise Short Period (100-120)
• Faster exits: Set Sell Lookback = 0
• Safer entries: Enable Macro Filter (Use Macro Filter = true)
STRATEGY ADVANTAGES
1. Low Lag - ALMA provides faster signals than traditional moving averages
2. Smooth Signals - Minimal whipsaws compared to crossover strategies
3. Asset Agnostic - Same parameters work across different markets
4. Trend Capture - Stays positioned during entire bullish regimes
5. Risk Management - Multiple filters prevent poor entries
6. Visual Clarity - Easy to interpret regime and filter states
WHEN TO USE HERMES
BEST FOR:
• Trending markets (crypto bull runs, equity uptrends)
• Swing trading (hold days to weeks)
• Position trading (hold weeks to months)
• Clear trend identification
• Risk-managed exposure
NOT SUITABLE FOR:
• Ranging/sideways markets
• Scalping or day trading
• High-frequency trading
• Mean reversion strategies
RISK DISCLAIMER
This indicator is for educational purposes only. Past performance does not guarantee future results. Always use proper position sizing and risk management. Test thoroughly on historical data before live trading.
CREDITS
Inspired by Giovanni Santostasi's Power Law Volatility Indicator, generalized for universal application across all assets using adaptive ALMA filtering.
Strategy by Hermes Trading Systems
QUICK START
1. Add indicator to chart
2. Use on daily timeframe for best results
3. Look for green buy signals when blue line crosses above black line
4. Exit on red sell signals when blue line crosses below black line
5. Adjust parameters based on your trading style:
• Conservative: Enable Macro Filter, increase Buy Lookback to 10
• Aggressive: Disable Macro Filter, lower Short Period to 60
• Default settings work well for most assets
Swing Impulse Fib Reversal + Structure Trail v6 (Fixed final)Auto RRR 1:1 1:2 1:3 Trading Script (Pine Script v6)
Take your trading to the next level with this fully automated Pine Script strategy designed for TradingView. The script enters trades automatically based on bullish and bearish price signals, and manages risk and reward with precision using predefined 1:1, 1:2, and 1:3 RRR targets.
Key Features:
Automatic Entries: Trades are placed automatically when bullish or bearish conditions are met.
Dynamic SL and TP: Stop-loss is calculated using ATR, and three take profit levels are set automatically at 1:1, 1:2, and 1:3 risk/reward ratios.
Partial Take Profits: Supports splitting positions into multiple TP levels with customizable percentages.
Trailing Stop: Moves stop-loss to break-even or to TP1 once it’s reached, locking in profits.
Visual Aids: Shows SL and TP levels directly on the chart for easy reference.
Simple Configuration: Adjustable ATR multiplier, number of TPs, partial percentages, and trailing parameters.
Perfect for scalpers and swing traders alike, this script helps automate trade management while maintaining flexibility and clarity. Whether you’re testing strategies or trading live, it ensures you capture profits efficiently while controlling risk.
Compatible: TradingView Pine Script v6
🚀 DocBrown V73++ EstrategiaStrategy Overview
The "DocBrown V73+ Unified Strategy" is a complex and multifaceted algorithmic trading system designed to operate in trending markets. Its core strategy is following the main trend, but its main strength lies in the numerous risk management modules and market filters it uses to protect capital and optimize trade exits.
The strategy combines classic trend indicators (EMAs, MACD, ADX) with volatility analysis (Bollinger Band Width) and volume to identify high-probability entry points. However, its most distinctive feature is its sophisticated exit system, which includes multiple Stop Loss (SL) and Take Profit (TP) types that adapt to various market conditions.
Entry Logic
To open a position (long or short), the strategy evaluates a set of conditions. The main entry is based on:
Market Regime Filter: This is a master filter that ensures trading is only carried out in favorable trend conditions. To do this, it simultaneously requires:
A minimum ADX to confirm the strength of the trend.
A minimum Bollinger Band Width (BBW) to ensure sufficient volatility.
A minimum slope in the slow EMA to confirm the market's direction.
EMA Alignment: Uses three Exponential Moving Averages (fast, medium, and slow). A long entry requires the fast EMA to be above the average, and the average above the slow EMA. For a short entry, the condition is the reverse.
Momentum Confirmation: The MACD must be crossed in the direction of the trade (the MACD line must be above the signal line for longs, and vice versa for shorts).
Volume Filter: The volume of the current candle must exceed a minimum ratio compared to its moving average to avoid signals of low market interest.
Trend Exhaustion Filter: Prevents new entries if the ADX, after reaching a very high peak, begins to decline, suggesting that the trend may be losing strength.
It also includes an alternative entry condition based on a "3-Candle Momentum," which looks for three consecutive candles in the same direction with progressively increasing volume, signaling a possible explosive move.
Risk Management and Exit Strategies
This is the most complex and robust part of the strategy, with multiple defense and profit-taking mechanisms:
Take Profit (TP)
Dynamic TP (Enabled by default): Instead of a fixed target, the strategy calculates the TP based on the nearest support and resistance levels. For a long position, it will look for the next resistance, and for a short position, the next support.
Trailing After a Breakout: If the price breaks an S&R level and the trade continues in favor, the strategy can move the SL to that broken level and recalculate a new TP target.
Stop Loss (SL) and Defensive Closes
The strategy features an arsenal of different types of Stop Losses for different situations:
Breakeven SL: Once the trade reaches a predefined profit percentage, the SL automatically moves to the entry price plus a small buffer to cover commissions. This ensures that a winning trade doesn't turn into a losing one.
Safety Bracket (Anti-Liquidation): This is an "emergency stop" that can be activated to prevent catastrophic losses. It is calculated based on the ATR or a fixed percentage of the price.
Adverse Volume Spike SL: Closes the position if a candle appears against the trade with abnormally high volume, which may indicate a violent reversal.
Consecutive Candle SL: If a certain number of candles (for example, 3.5) form in a row against the position, the strategy closes the trade to cut the loss.
Stagnant Stop: Closes the trade if it enters a loss and the price then remains sideways (without movement) for a defined number of bars, avoiding being trapped in a directionless position.
Derivative Stop (Anti-Trend and Counter-Trend): An advanced system that monitors price momentum and acceleration. If it detects that the price begins to move sharply against the trend after accumulating a certain amount of profit, it closes the position to protect profits.
Drawdown Stop (Loss): A special trailing stop that is only activated while the trade is in a loss. If the price attempts to recover but then falls again, this Stop is adjusted to minimize the loss from the peak of that small recovery.
Counter-Trend SL (BB-CT): Closes the position if, despite being in profit, the market shows clear signs of a trend reversal, such as the price returning within the Bollinger Bands and the MACD crossing against it.
Additional Features
Multi-Timeframe (MTF) Analysis: The strategy can run on a single chart (e.g., 1-minute) but makes all its decisions based on data from a longer timeframe (e.g., 5 or 15 minutes), allowing it to filter out market noise.
Frequency Control: Includes options to limit trades to one per candle and to set a cooldown period after closing a trade, preventing overtrading.
Date Filter: Allows backtesting over a specific timeframe.
Information Panel: Displays key data such as the strategy status, current TP/SL levels, unrealized profits (MFE), and the status of internal signals in real time on the chart.
Full Display: Draws S&R levels, EMAs, Bollinger Bands, and active entry, TP, and SL levels on the chart.
IMPORTANT:
Use in Isolated Leverage x5 (limit), start small and test tokens before jumping in.
DONATIONS: Token: USDT - Network: BSC Binance Smart Chain
Wallet: 0xe87b4589a53443d8ffed2e9b5a7ef58f261f087c
Aurum DCX AVE Gold and Silver StrategySummary in one paragraph
Aurum DCX AVE is a volatility break strategy for gold and silver on intraday and swing timeframes. It aligns a new Directional Convexity Index with an Adaptive Volatility Envelope and an optional USD/DXY bias so trades appear only when direction quality and expansion agree. It is original because it fuses three pieces rarely combined in one model for metals: a convexity aware trend strength score, a percentile based envelope that widens with regime heat, and an intermarket DXY filter.
Scope and intent
• Markets. Gold and silver futures or spot, other liquid commodities, major indices
• Timeframes. Five minutes to one day. Defaults to 30min for swing pace
• Default demo used in this publication. TVC:GOLD on 30m
• Purpose. Enter confirmed volatility breaks while muting chop using regime heat and USD bias
• Limits. This is a strategy. Orders are simulated on standard candles only
Originality and usefulness
• Unique fusion. DCX combines DI strength with path efficiency and curvature. AVE blends ATR with a high TR percentile and widens with DCX heat. DXY adds an intermarket bias
• Failure mode addressed. False starts inside compression and unconfirmed breakouts during USD swings
• Testability. Each component has a named input. Entry names L and S are visible in the list of trades
• Portable yardstick. Weekly ATR for stops and R multiples for targets
• Open source. Method and implementation are disclosed for community review
Method overview in plain language
You score direction quality with DCX, size an adaptive envelope with a blend of ATR and a high TR percentile, and only allow breaks that clear the band while DCX is above a heat threshold in the same direction. An optional DXY filter favors long when USD weakens and short when USD strengthens. Orders are bracketed with a Weekly ATR stop and an R multiple target, with optional trailing to the envelope.
Base measures
• Range basis. True Range and ATR over user windows. A high TR percentile captures expansion tails used by AVE
• Return basis. Not required
Components
• Directional Convexity Index DCX. Measures directional strength with DX, multiplies by path efficiency, blends a curvature term from acceleration, scales to 0 to 100, and uses a rise window
• Adaptive Volatility Envelope AVE. Midline ALMA or HMA or EMA plus bands sized by a blend of ATR and a high TR percentile. The blend weight follows volatility of volatility. Band width widens with DCX heat
• DXY Bias optional. Daily EMA trend of DXY. Long bias when USD weakens. Short bias when USD strengthens
• Risk block. Initial stop equals Weekly ATR times a multiplier. Target equals an R multiple of the initial risk. Optional trailing to AVE band
Fusion rule
• All gates must pass. DCX above threshold and rising. Directional lead agrees. Price breaks the AVE band in the same direction. DXY bias agrees when enabled
Signal rule
• Long. Close above AVE upper and DCX above threshold and DCX rising and plus DI leads and DXY bias is bearish
• Short. Close below AVE lower and DCX above threshold and DCX falling and minus DI leads and DXY bias is bullish
• Exit and flip. Bracket exit at stop or target. Optional trailing to AVE band
Inputs with guidance
Setup
• Symbol. Default TVC:GOLD (Correlation Asset for internal logic)
• Signal timeframe. Blank follows the chart
• Confirm timeframe. Default 1 day used by the bias block
Directional Convexity Index
• DCX window. Typical 10 to 21. Higher filters more. Lower reacts earlier
• DCX rise bars. Typical 3 to 6. Higher demands continuation
• DCX entry threshold. Typical 15 to 35. Higher avoids soft moves
• Efficiency floor. Typical 0.02 to 0.06. Stability in quiet tape
• Convexity weight 0..1. Typical 0.25 to 0.50. Higher gives curvature more influence
Adaptive Volatility Envelope
• AVE window. Typical 24 to 48. Higher smooths more
• Midline type. ALMA or HMA or EMA per preference
• TR percentile 0..100. Typical 75 to 90. Higher favors only strong expansions
• Vol of vol reference. Typical 0.05 to 0.30. Controls how much the percentile term weighs against ATR
• Base envelope mult. Typical 1.4 to 2.2. Width of bands
• Regime adapt 0..1. Typical 0.6 to 0.95. How much DCX heat widens or narrows the bands
Intermarket Bias
• Use DXY bias. Default ON
• DXY timeframe. Default 1 day
• DXY trend window. Typical 10 to 50
Risk
• Risk percent per trade. Reporting field. Keep live risk near one to two percent
• Weekly ATR. Default 14. Basis for stops
• Stop ATR weekly mult. Typical 1.5 to 3.0
• Take profit R multiple. Typical 1.5 to 3.0
• Trail with AVE band. Optional. OFF by default
Properties visible in this publication
• Initial capital. 20000
• Base currency. USD
• request.security lookahead off everywhere
• Commission. 0.03 percent
• Slippage. 5 ticks
• Default order size method percent of equity with value 3% of the total capital available
• Pyramiding 0
• Process orders on close ON
• Bar magnifier ON
• Recalculate after order is filled OFF
• Calc on every tick OFF
Realism and responsible publication
• No performance claims. Past results never guarantee future outcomes
• Shapes can move while a bar forms and settle on close
• Strategies use standard candles for signals and orders only
Honest limitations and failure modes
• Economic releases and thin liquidity can break assumptions behind the expansion logic
• Gap heavy symbols may prefer a longer ATR window
• Very quiet regimes can reduce signal contrast. Consider higher DCX thresholds or wider bands
• Session time follows the exchange of the chart and can change symbol to symbol
• Symbol sensitivity is expected. Use the gates and length inputs to find stable settings
Open source reuse and credits
• None
Mode
Public open source. Source is visible and free to reuse within TradingView House Rules
Legal
Education and research only. Not investment advice. You are responsible for your decisions. Test on historical data and in simulation before any live use. Use realistic costs.
Tristan's W%R StrategyOverview:
This strategy uses the raw Williams %R oscillator to automatically generate buy and sell signals based on overbought and oversold levels. It is session-aware, allowing you to restrict trades to specific market hours (New York, London, or Asia).
Key Features:
Buy Signal: Fires whenever the raw Williams %R is at or below the oversold level (default −100).
Sell Signal: Fires whenever the raw Williams %R is at or above the overbought level (default 0).
Session Filtering: Only triggers trades during the selected session (All, New York, London, or Asia).
Pyramiding: Allows multiple trades to stack, so every qualifying signal results in a new trade.
Alerts: Optional alerts for automation via webhook or broker integration.
Session Highlight: Background shading indicates when the selected session is active.
How to Use:
Set the Williams %R length, overbought, and oversold levels to match your trading style.
Select the session you want the strategy to be active in (New York, London, or Asia).
Enable alerts if you plan to automate trades with an API.
Add the strategy to your chart. It will execute trades automatically whenever the raw %R meets the configured thresholds during the selected session.
Adjust pyramiding if you want to limit the number of stacked trades per session.
Note:
This script uses the raw W%R signal vs the smoothed one because I found it to be more accurate for automated trading.
Every qualifying signal results in a trade, even if positions are already open.
Golden Cross 50/200Simplicity characterizes each of my trading systems and methods. On this occasion, I present a trend-following strategy with simple rules and high profitability.
System Rules:
-Long entries when the 50 EMA crosses above the 200 EMA.
-Stop Loss (SL) placed at the low of 15 candles prior to the entry candle.
-Take Profit (TP) triggered when the 50 EMA crosses below the 200 EMA.
As with any trend-following system, we sacrifice win rate for profitability, and of course, we will focus on traditional markets with a consistent trend-following nature over time.
Recommended Markets and Timeframes:
BTCUSDT H6
August 17, 2017 - October 20, 2025 Total trades: 30
Profitability: +1,682.99%
Win rate: 40%
Outperforms Buy & Hold
BTCUSDT H4
August 17, 2017 - October 20, 2025 Total trades: 42
Profitability: +12,213.49% (high and stable performance curve)
Win rate: 40%
Outperforms Buy & Hold
BTCUSDT H2
August 17, 2017 - October 20, 2025 Total trades: 95
Profitability: +2,363.80%
Win rate: 24.21%
Matches Buy & Hold
BTCUSDT H1
August 17, 2017 - October 20, 2025 Total trades: 203
Profitability: +1,045% (stable performance curve)
Win rate: 25.62%
BTCUSDT 30M
August 17, 2017 - October 20, 2025 Total trades: 393
Profitability: +4,205.51% (high and stable performance curve)
Win rate: 27.74%
Outperforms Buy & Hold
BTCUSDT 15M
August 17, 2017 - October 20, 2025 Total trades: 821
Profitability: +1,311.97%
Win rate: 23.14%
Timeframes such as Daily, 12-hour, 8-hour, and even 5-minute charts are profitable with this system, so feel free to experiment.
Other markets and timeframes to observe include:
-XAUUSD (H1, H4, H6, H8, Daily)
-SPX (Daily: +21,302% profitability since 1871 in 40 trades)
-Tesla (H1, H2, H4, H6, especially M30 and M15)
-Apple (M5, M15, M30, H1, H2, H4…)
-Warner Bros (M5, M15, M30…)
-GOOGL (M5, M15, M30, H1, H2, H4, H6…)
-AMZN (M5, M15, M30, H2, H4, H6…)
-META (M5, M15, M30, H1, H2, H4…)
-NVDA (M5, M15, M30, H1, H2, H4…)
This system not only generates significant profitability but also performs very well in traditional markets, even on lower timeframes like 5-minute charts. In many cases, the returns far exceed Buy & Hold.
I hope this strategy is useful to you. Follow my Spanish-speaking profile if you want to see my market analyses, and send me your good vibes!
Ultra-Premium Strategy: Cloud + RSI Momentum + ZigZag VPThis strategy combines trend, momentum, and volume profiling for high-probability trading signals.
🔹 MA Cloud Trend Filter
Uses configurable Fast and Slow MAs (EMA, SMA, WMA) to define bullish or bearish bias visually and logically.
🔹 RSI Liquidity Momentum
Enhances the classic RSI with a liquidity-adjusted momentum score — stronger signals based on both price and volume dynamics.
🔹 ZigZag Structure Detection
Identifies meaningful price pivots with customizable percent-based swing thresholds.
🔹 Volume Profile Zones
Displays dynamic volume zones between recent pivots to highlight potential support/resistance areas.
🔹 Entry Conditions
Long: Fast MA crossover + strong momentum + RSI above threshold
Short: Fast MA crossunder + weak momentum + RSI below threshold
🔹 Exit Conditions
Configurable ATR-based Stop Loss and Take Profit
Optional trailing stop
No repainting; trades confirmed on bar close
🔹 Alerts
Set real-time alerts for long and short entries
✅ Works on any timeframe and asset (crypto, stocks, forex, futures)
✅ Fully adjustable risk and logic settings
✅ Strategy mode enables backtesting and performance review
Keltner Trend Strategy with BacktestingKeltner Trend Strategy with Backtesting and ratching stop loss
VWAP H/L Break - NQVWAP crossover with fib targets
bar closing over VWAP(high) go long
bar closing under VWAP (low) go short
fib targets based on closing candle and previous candle.
CE+ZLSMA RovTrading StrateryThe strategy is optimized for scalping in small timeframes like M15 and M30, as well as M5.
It combines two indicators: CE and ZLSMA.
Try it now!
Testing ATR Scalp Strategy (OBV EMA + VWAP + Pivot Swing Stop)This strategy uses EMA and VWAP to scalp, meant to be used on the 1 min chart
DayTrader Plug and Play Score Strategy HSBeen playing around with automating a strategy and to make something more flexible in updating indicators/ risk reward scenarios.
I Trade on 5 min timeframe choosing stocks from a day trading scanner I use to evaluate premarket movement.
This script take into account short term EMA crossovers, VWAP, RSI, Candlesticks, and previous day S/R lines to determine buy/sell points. It Mostly runs on a VWAP strategy and will only buy when price is above VWAP and only sell when price is below VWAP. But uses the other indicators as more confirmations.
All of these indicators come together to form a score 1-8.5 and gives buy/sell signals based on the score.
Strategy is as below:
My Stock scanner gives me anywhere from 3-5 stocks per day to trade. (Not included)
Strategy will only trade once per day per stock.
Strategy closes positions after 2 hours in the market.
Strategy closes all positions 5 min before end of day close.
Trade size is set to 1% of the account size. The risk is 2% of that trade, reward is 4%.
Score threshold for hitting the indicator threshold is set to 5.5 score
^^This is all editable in the script.
After building and testing an rebuilding for a few months this has been my most profitable strategy in PAPER TRADING so I thought id share. I enjoy this kind of tinkering and scenario testing. Enjoy!
MACD + Supertrend + DEMA StrategySTRATEGY 📊 STRATEGY LOGIC:
Long Entry: When ALL of these occur simultaneously:
MACD histogram crosses above 0
Supertrend is bullish (green)
Short DEMA > Long DEMA
Short Entry: When ALL of these occur simultaneously:
MACD histogram crosses below 0
Supertrend is bearish (red)
Short DEMA < Long DEMA
Exits: Based on your TP/SL percentages from entry price
This follows the same clean structure as your MACD strategy but adds the alignment concept and proper risk management!
Triple EMA High PnL (Agnostic, Tick OHLC)### 📈 **Triple EMA High PnL (Agnostic, Tick OHLC Logging)**
This strategy is designed to **capture high-probability trend entries using a Triple EMA structure**, combined with **tick-level execution precision** and **automated TP/SL management**. It is fully **agnostic**, meaning it can be applied to **any symbol or asset class** — crypto, stocks, forex, indices, or ETFs — and works on all timeframes.
#### 🧠 **Core Concept**
The script leverages the alignment and crossover of fast, mid, and slow EMAs to detect **momentum shifts within an established trend**.
* **Fast EMA crossover** above the Mid EMA acts as the primary trigger.
* **Mid EMA above Slow EMA** plus price above a **Trend SMA** acts as a trend filter to avoid chop.
* **TP & SL** levels are automatically calculated from the average entry price.
#### ⚡ **Key Features**
* ✅ **Agnostic strategy** — works on any symbol and timeframe
* 🕒 **Tick-level OHLC logging** on every entry and exit event
* 📊 **Automatic TP and SL placement** with visible lines on the chart
* 🪄 Clean entry and exit labels with timestamp and price context
* 🧭 Built-in alert messages (ENTRY/EXIT) for automation or webhook integration
* 📌 Fully customizable Fast/Mid/Slow EMA lengths and risk parameters
#### 🧰 **Default Parameters**
* Fast EMA: 7
* Mid EMA: 25
* Slow EMA: 180
* Trend SMA: 180
* Take Profit: 15%
* Stop Loss: 2.5%
* Commission: 0.2% (configurable)
#### 📡 **Alerts & Automation**
The strategy sends **detailed alerts** on both entries and exits, including ticker, OHLC values, and exact entry/exit prices — making it easy to **integrate with bots or external systems**.
#### 🧭 **Recommended Usage**
* Ideal for **trend-following** setups on medium to higher timeframes
* Use alerts to **connect to trade execution systems** or for manual trade mirroring
* Parameters can be tuned for different assets to maximize PnL efficiency
Flexible MA Crossrotemtuyunmhv kebh unfhrv ak nbhu, ftar vo jumu, t, vnnumg bg fkph ngkv uaucru, gkph nyv
Moving Average Trend Strategy V2.1 — With Stop Loss and Add Posi**Strategy Feature Description:**
---
### **Entry Logic:**
* When **MA7** crosses **MA15**, and the distance between **MA15** and **MA99** is less than **0.5%**
* When **MA15** crosses **MA99**, and the distance between **MA7** and **MA15** is less than **0.5%**
* When the distance among all three MAs (**MA7**, **MA15**, **MA99**) is less than **0.5%** (adjustable via parameters)
---
### **Capital Management:**
* Initial capital: **$100**
* Each position uses **15%** of total capital
* Opens **both long and short positions simultaneously** (dual-direction mode)
---
### **Risk Control:**
* **Long position stop-loss:** Entry price − 2%
* **Short position stop-loss:** Entry price + 2%
* Uses a **five-level take-profit grid**:
* Every 5% profit → close 20% of position
* Any pending take-profit orders are automatically canceled when stop-loss triggers
---
### **Visualization Features:**
* Real-time display of the three moving averages
* Chart annotations for entry signal points
* All trade signals and performance can be viewed through **TradingView backtest reports**
---
### **Notes:**
* Parameters can be adjusted based on the volatility of the instrument (historical backtesting is recommended first)
* Dual-direction positions may generate **hedging costs** — recommended for low-fee markets
* Real trading must consider **exchange minimum order size limits**
* Suggest enabling a **volume filter mechanism** (extension interface already reserved)
* Always perform **historical backtesting and parameter optimization** in TradingView before connecting to live trading systems
Moving Average Trend Strategy V4.1 — Revised Version (Selectable✅ **Version Notes (V4.0)**
| Feature | Description |
| --------------------------------------- | -------------------------------------------------------- |
| 🧠 **Moving Average Type Options** | Choose from EMA / SMA / HMA / WMA |
| 🧱 **Take-Profit / Stop-Loss Switches** | Can be enabled or disabled independently |
| ⚙️ **Add Position Function** | Can be enabled or disabled independently |
| 🔁 **Add Position Signal Source** | Selectable between MA Crossover / MACD / RCI / RSI |
| 💹 **Adjustable Parameters** | All periods and percentages are customizable in settings |
---
✅ **Update Summary:**
| Function | Description |
| -------------------------------------- | --------------------------------------------------------------------- |
| **MA Type Selection** | Choose EMA / SMA / HMA / WMA in chart settings |
| **Take-Profit / Stop-Loss Percentage** | Configurable in the “Take-Profit & Stop-Loss” group |
| **Add / Reduce Position Percentage** | Adjustable separately in the “Add/Reduce Position” group |
| **MA Periods** | Customizable in the “Moving Average Parameters” section |
| **Code Structure** | Logic unchanged — only parameterization and selection functions added |
---
### **Strategy Recommendations:**
* **Trending Market:** Prefer EMA trend tracking or SAR indicators
* **Range-Bound Market:** Use ATR-based volatility stop-loss
* **Before Major Events:** Consider option hedging
* **Algorithmic Trading:** Recommend ATR + partial take-profit combination strategy
---
### **Key Parameter Optimization Logic:**
* Backtest different **ATR multipliers** (2–3× ATR)
* Test **EMA periods** (10–50 periods)
* Optimize **partial take-profit ratios**
* Adjust **maximum drawdown tolerance** (typically 30–50% of profit)
---
### **Risk Control Tips:**
* Avoid overly tight stop-losses that trigger too frequently
* During strong trends, consider widening take-profit targets
* Confirm trend continuation with **volume analysis**
* Adjust parameters based on **timeframe** (e.g., Daily vs Hourly)
---
### **Practical Example (Forex: EUR/USD):**
* **Entry:** Go long on breakout above 1.1200
* **Initial Stop-Loss:** 1.1150 (50 pips)
* **When profit reaches 1.1300:**
* Close 50% of position
* Move stop-loss to 1.1250 (lock in 50 pips profit)
* **When price rises to 1.1350:**
* Move stop-loss to 1.1300 (lock in 100 pips profit)
* **Final Outcome:**
* Price retraces to 1.1300, triggering take-profit
This method secured over **80% of trend profits** during the 2023 EUR rebound, capturing **23% more profit** compared to fixed take-profit strategies (based on backtest results).
Swing Breakout Strategy ver 1Overview
A multi-confirmation swing strategy that seeks trend breakouts and adds three optional confluence modules: candlestick patterns, RSI/MACD regular divergences, and simple chart patterns (double top/bottom). Built for clarity, fast testing, and togglable debug markers.
Core Logic
Trend filter: SMA(50) vs SMA(200) + price vs SMA(21).
Breakout engine: Close breaks prior N-bar high/low (lookback configurable).
Momentum: Stochastic cross (optional view), MACD cross/zone, RSI regime (>50 or <50).
Volume: Above SMA(volume) filter.
Optional Confluence Modules
Candlestick analysis (enable/disable):
Bull/Bear Engulfing, Hammer, Shooting Star, Inside Bar (bull/bear flavors).
Divergence (enable/disable):
Regular divergences on RSI and MACD histogram using confirmed pivots (HH/LH or LL/HL).
Chart patterns (enable/disable):
Double Bottom (two similar lows + neckline break).
Double Top (two similar highs + neckline break).
Tolerance and pivot width are configurable.
Entries & Exits
Entry Long: Any of (Base Breakout + Trend + Momentum + Volume) OR enabled confluences (candles / divergence / pattern).
Entry Short: Symmetric logic for downside.
Risk management: Optional ATR-based stop loss and take profit (configurable length & multipliers).
Note: If you prefer confluences to be filters (AND), change the final buySignal/sellSignal lines accordingly.
Inputs (key)
SMA lengths (21/50/200), RSI length, Stochastic lengths & smoothing, MACD (12/26/9).
Breakout lookback, Volume SMA.
ATR exits (on/off, ATR length, SL/TP multipliers).
Toggles for Candlesticks, Divergences, Patterns, plus per-module debug markers.
Plots & Markers
Plots SMA 21/50/200.
Buy/Sell arrows on chart.
Optional debug markers for each condition (global-scope safe).
Divergence/pattern markers offset to the actual pivot/neckline bars.
Good Practices
Test on multiple timeframes and instruments; tune lookbacks and ATR multipliers.
Consider using the modules as filters in trending markets to reduce whipsaws.
Always forward-test and combine with position sizing.
Disclaimer
For educational purposes only. This is not financial advice. Trading involves risk.
Version & Credits
Pine Script® v6 — Strategy.
Developed by: Mohammed Bedaiwi.
Swing Breakout Strategy — Candles + Divergences + Patterns (rev)Overview
A multi-confirmation swing strategy that seeks trend breakouts and adds three optional confluence modules: candlestick patterns, RSI/MACD regular divergences, and simple chart patterns (double top/bottom). Built for clarity, fast testing, and togglable debug markers.
Core Logic
Trend filter: SMA(50) vs SMA(200) + price vs SMA(21).
Breakout engine: Close breaks prior N-bar high/low (lookback configurable).
Momentum: Stochastic cross (optional view), MACD cross/zone, RSI regime (>50 or <50).
Volume: Above SMA(volume) filter.
Optional Confluence Modules
Candlestick analysis (enable/disable):
Bull/Bear Engulfing, Hammer, Shooting Star, Inside Bar (bull/bear flavors).
Divergence (enable/disable):
Regular divergences on RSI and MACD histogram using confirmed pivots (HH/LH or LL/HL).
Chart patterns (enable/disable):
Double Bottom (two similar lows + neckline break).
Double Top (two similar highs + neckline break).
Tolerance and pivot width are configurable.
Entries & Exits
Entry Long: Any of (Base Breakout + Trend + Momentum + Volume) OR enabled confluences (candles / divergence / pattern).
Entry Short: Symmetric logic for downside.
Risk management: Optional ATR-based stop loss and take profit (configurable length & multipliers).
Note: If you prefer confluences to be filters (AND), change the final buySignal/sellSignal lines accordingly.
Inputs (key)
SMA lengths (21/50/200), RSI length, Stochastic lengths & smoothing, MACD (12/26/9).
Breakout lookback, Volume SMA.
ATR exits (on/off, ATR length, SL/TP multipliers).
Toggles for Candlesticks, Divergences, Patterns, plus per-module debug markers.
Plots & Markers
Plots SMA 21/50/200.
Buy/Sell arrows on chart.
Optional debug markers for each condition (global-scope safe).
Divergence/pattern markers offset to the actual pivot/neckline bars.
Good Practices
Test on multiple timeframes and instruments; tune lookbacks and ATR multipliers.
Consider using the modules as filters in trending markets to reduce whipsaws.
Always forward-test and combine with position sizing.
Disclaimer
For educational purposes only. This is not financial advice. Trading involves risk.
Version & Credits
Pine Script® v6 — Strategy.
Developed by: Mohammed Bedaiwi.
Master Trading Bot by NeurodocMTB Reverse DCA Trading Strategy by Neurodoc.
BINANCE REFERRAL: www.binance.com
BINANCE CODE REFERRAL: CPA_00XQBFQODB
BINANCE FUTURES REFERRAL LINK: binance.com/futures/ref/503702570
BINANCE FUTURES REFERRAL ID: 503702570
DONATIONS: USDT - RED BSC - Wallet: 0xe87b4589a53443d8ffed2e9b5a7ef58f261f087c
1hr ichi v6Ichimoku adapted to a 1hr chart
Set margin for positions to "0"
Adjust the number of contracts to the maximum drawdown you will accept. I use 11-13%