Moving Average Channel Strategy 1.0 [Point Algo]📊 Moving Average Channel Strategy (v6) – Breakout Logic Simplified
________________________________________
🚀 Overview
The Moving Average Channel (MAC) Strategy is a breakout-based trading system designed to capture directional moves when price crosses out of a moving average channel. It’s ideal for both Intraday and Positional traders across Futures and Options
________________________________________
🔧 Core Logic
• Dynamic MA Channel
Forms a breakout zone with two SMA lines:
o 🔵 MA High (upper band from high price)
o 🔴 MA Low (lower band from low price)
• 4 Long Entries
1. Price crosses both lines from below in one candle
2. Closes below MA Low, then breaks above MA High
3. Closes inside the channel, then breaks above MA High
4. Cross-under MA High → re-cross and break above it
• 4 Short Entries
1. Price crosses both lines from above in one candle
2. Closes above MA High, then breaks below MA Low
3. Closes inside the channel, then breaks below MA Low
4. Cross-over MA Low → re-cross and break below it
• Entries are barstate confirmed, ensuring signal stability
________________________________________
⚙️ Trade Setup Controls
• 🔹 Toggle Intraday or Positional mode
• 🔹 Choose trading window/session time
• 🔹 Filter backtest range by date
• 🔹 Quantity, direction (Long/Short/Both), instrument (Futures/Options), and strike type (ATM/ITM/OTM) configurable
• 🔹 Options to simulate Option Buy or Option Sell
________________________________________
🎯 Risk Management
• Stoploss, Target, and Trailing SL
o Choose from: %, Pts, or Risk-based (candle low/high)
• Works with:
o 🛑 Stoploss-only setups
o 🎯 Target-only setups
o ⚖️ Combined SL + TGT setups
o 📈 Dynamic Trailing Stoploss logic
• Auto close positions on:
o End of session
o Signal reversal
o SL/Target triggers
________________________________________
📈 Visual Features
• Diamond markers for Buy (🟢) and Short (🔴) entries
• Dynamic plotting of:
o Entry price
o Stoploss
o Target
o MA Channel boundaries (blue/red)
________________________________________
👥 Ideal For
• 📍 Intraday and swing traders
• 🧠 Traders who prefer visual breakout confirmation
• 🧪 Strategy testers and coders exploring MA-based breakouts
• 🔁 Automated system users
⚠️ Disclaimer:
This strategy is a tool for technical analysis and educational use only. Past performance or backtest results do not guarantee future results. Market conditions may vary, and users are advised to validate settings and apply proper risk management before using in live environments.
________________________________________
Happy Trading!
Göstergeler ve stratejiler
8/30 SMA Pullback + ATR Exits (Crypto)A tryout using LLM to see if it can apply to bots using SMA pullbacks with ATR exits for crypto
NEO IMACD Strategy SL y TPNEO IMACD Strategy SL y TP
A structured momentum and trend-following strategy with dynamic SL/TP visual management.
Description
The NEO IMACD Strategy SL y TP is a technical trading system that uses enhanced MACD logic over ZLEMA to detect directional momentum changes, combined with an EMA filter and automated risk management through customizable stop loss and take profit levels.
This script is built with a clear educational purpose: to help traders understand how to apply structured entries and exits using a clean visual layout. It is ideal for both intermediate and beginner traders who want to simulate consistent setups and develop disciplined strategies based on technical confluence.
All code logic is fully transparent and does not repaint. The strategy uses fixed position sizing and percentage-based TP/SL to control risk, making it accessible for traders with small accounts or those learning structured trading systems.
Key Indicators
ZLEMA (Zero-Lag EMA): for responsive price smoothing
MACD (with ZLEMA input): for momentum and trend shift detection
EMA 100: for overall trend direction filtering
RSI (14): used as an optional confirmation for exits
Long Entry Conditions
Price is above EMA 100
MACD crosses above the signal line
Histogram is not flat (MACD lines are not parallel)
Short Entry Conditions
Price is below EMA 100
MACD crosses below the signal line
Histogram is not flat (MACD lines are not parallel)
Exit Logic
Long positions close if:
MACD crosses below the signal line
Histogram declines
RSI drops from overbought (above 70)
Short positions close if:
MACD crosses above the signal line
Histogram declines
RSI rises from oversold (below 30)
Risk Management
Stop Loss: set as a fixed percentage of entry price (default 0.5%)
Take Profit: based on user-defined risk-reward ratio (default 2:1)
Both SL and TP levels are plotted as lines, with optional price labels
Strategy Settings
ZLEMA Length: 34
MACD: 12 / 26 / 9
EMA 100: trend filter
RSI: 14
Stop Loss: 0.5% (adjustable)
Risk-Reward Ratio: 2.0 (default)
Position Size: 1 (fixed)
Notes
This script is for educational and backtesting purposes only.
It is not financial advice or a signal provider.
Always test and adapt before applying any strategy in real market conditions.
Starter Edge StrategyStarter Edge Strategy
A clean and rule-based scalping strategy using ZLEMA, MACD and EMA filters.
Description
The Starter Edge Strategy is a structured technical trading system that combines trend-following and momentum indicators to identify potential entries on both the long and short side.
This script is intended for educational and research purposes only. It provides a clear visual framework for understanding basic momentum setups, with pre-defined risk/reward parameters and a focus on clarity of execution.
It is especially designed for beginner traders or small account investors who want to learn how to apply disciplined entries and exits with clear visual feedback. The strategy uses small position sizing and a low initial capital ($1000), making it more accessible to those just starting out.
All logic is fully transparent, with no repainting or subjective components.
Key Indicators
ZLEMA (Zero-Lag Exponential Moving Average)
MACD (based on ZLEMA)
EMA 100 for trend filtering
RSI for directional strength confirmation
Long Entry Conditions
Price above EMA 100
MACD crosses above the signal line
Histogram is rising
MACD and signal lines are not parallel
RSI > 50
Short Entry Conditions
Price below EMA 100
MACD crosses below the signal line
Histogram is falling
MACD and signal lines are not parallel
RSI < 50
Exit Logic
Take Profit: +2% from entry
Stop Loss: -1% from entry
Visual elements (optional): trade box, TP/SL lines, 2:1 risk/reward label
Strategy Settings
ZLEMA Length: 34
MACD: 12 / 26 / 9
EMA 100 Length: adjustable
RSI Period: 14
TP: 2% (default)
SL: 1% (default)
Position size: 0.1
Initial capital: $1000
Notes
This script is not financial advice.
Designed to help beginner traders study technical setups with clear visuals.
Backtesting and further validation are strongly recommended before live use.
Inside Candle Pattern Strategy Buy Sell Signal v1.1 [Point Algo]📌 Strategy Name:
Pointalgo Inside Candle v1.1 — Breakout Strategy for Futures & Options
________________________________________
🔍 Overview:
This strategy identifies and trades the Inside Candle pattern, a price formation where the current bar's high is lower than or equal to the previous bar's high, and low is higher than or equal to the previous bar's low. Inside candles often indicate short-term consolidation zones before significant breakouts or breakdowns.
The script automatically detects inside candles, plots their high and low breakout levels, and triggers Buy/Sell signals upon breakout confirmation. It supports both Intraday and Positional trading modes, with integrated trade management, alerts, and visual clarity.
________________________________________
⚙️ Core Features:
🔸 Inside Candle Detection & Breakout Logic:
• Detects Inside Candle formations in real time
• Generates Buy signal when price breaks above the high
• Generates Sell signal when price breaks below the low
• Plots extended high/low breakout levels (optional)
🔸 Dual Trading Modes:
• Intraday Mode: Time-based entry/exit with custom sessions
• Positional Mode: Date-range based trading for swing setups
🔸 Algo-Friendly Execution Logic:
• Built-in Long/Short toggles
• Works for both Futures and Options
• Supports CE/PE direction, ATM/ITM/OTM selection
• Optional Option Selling logic (based on toggle)
________________________________________
🎯 Advanced Risk Management:
✅ Configurable Stoploss, Target, and Trailing Stoploss
• Supports %, Point-based, and Risk-based logic
• Smart TSL integration that adjusts based on recent highs/lows
✅ Automated exit handling on SL/Target hit or session close
✅ Clean SL/Target plotting on chart for each trade
✅ Trade cancellation beyond session hours or opposite triggers
________________________________________
📈 Visual Markers & Clarity:
🔸 Color-coded diamonds for Buy/Sell signal confirmation
🔸 Inside High/Low lines plotted dynamically
🔸 Real-time display of Entry, Target, and Stoploss
🔸 Buy/Short Price, SL, and Target lines for live positions
________________________________________
🚀 Who is it for?
• Scalpers looking to capture clean breakouts
• Intraday traders focusing on tight risk-reward
• Swing traders leveraging Positional logic
• Algo traders needing alert-integrated execution
• Strategy testers validating Inside Candle breakouts
________________________________________
⚠️ Disclaimer:
This strategy is a tool for technical analysis and educational use only. Past performance or backtested results do not guarantee future results. Market conditions may vary, and users are advised to validate settings and apply proper risk management before using in live environments.
________________________________________
Happy Trading!
— Pointalgo Team
NADY 45M ADX-RSI StrategyADX-RSI Scalping Strategy for Gold (XAUUSD) – Pine Script v5
This script is a powerful scalping & swing trading strategy that combines the strength of ADX (Average Directional Index) and RSI (Relative Strength Index), along with a Moving Average trend filter, designed specifically for XAUUSD (Gold/USD) but can be adapted to other assets.
Core Logic:
🔹 Trend Strength Filter (ADX):
Trades are allowed only when ADX > 20, ensuring signals occur during strong trends.
Custom-coded ADX calculation for precision (no lagging built-in functions).
🔹 RSI Overbought/Oversold Signals:
Buy when RSI is deeply oversold (<20).
Sell when RSI is overbought (>85).
Exit conditions are also governed by RSI reversals (RSI > 75 for closing longs, RSI < 25 for closing shorts).
🔹 Trend Confirmation with Moving Average (MA):
A 300-period SMA ensures only trades in the direction of the larger trend.
Avoids false signals during sideways markets.
🔹 Risk Filters:
No overtrading: Trades are allowed only when all three conditions (ADX, RSI, MA) align.
Session visual filter (background color highlights signal bars).
Features Included:
✅ Precise ADX Calculation
✅ Configurable RSI & MA lengths
✅ Clean Buy/Sell Entry & Exit logic
✅ Alerts Ready (Webhook-compatible for bots)
✅ Visuals: MA line, background highlights, ADX Threshold line.
Best Timeframes:
45M
Recommended Pairing:
XAUUSD (Gold/USD)
Works well with trending assets, can adapt to Forex Majors with slight tweaks.
Customization Parameters:
MA Length (default 300)
RSI Length (default 2)
ADX Length (default 14)
ADX Threshold (default 20)
Backtest Insights:
High accuracy during strong trends.
Works best during London & US sessions.
Filters out sideways, low-volatility zones effectively.
Sniper Algo TradingTurn hesitation into precision. This tool locks onto clean entries and exits on the 1H timeframe for crypto, commodities, and select stocks, cutting through noise and emotion. While others chase pumps, Sniper Algo is already in position.
HiddenRidder - RSI + 3 MAs - KWT strategyBased on Meshaal Alkharfashi strategy .
Condition:
- Moving Average 4, 9, 18
- RSI (14 period)
- 2 months highest high pivots .
// Added a simple enhancement to allow the end user to enable or disable the strategic report.
// By this enhancement the chart will remain clean and indicator will used as simple form.
// // Added table with dynamic coloring, for indicators (RSIs + MAs) as a condition of buy and sell strategy.
Disclaimer
These indicators are provided for educational purposes only and do not constitute financial advice or guarantees. Use is at your own risk, and all decisions remain your sole responsibility.
Swing Breakout Strategy PRO“Swing Strategy Pro”
A powerful trading tool designed for price action & swing traders. This indicator automatically detects swing highs and lows and generates precise Buy & Sell signals based on breakout confirmations.
✅ How It Works:
• Buy signal: When swing high breaks with confirmation candle
• Sell signal: When swing low breaks with confirmation candle
• Target = Distance between recent swing high & low
• Stop Loss = Opposite swing level
📌 Perfect for Breakout Trading, Swing Entries, and Trend Continuation strategies.
🎯 Fully automated with visual alerts & clean chart design.
BTC Dynamic Trend Core Strategy v45// The Dynamic Trend Core is a sophisticated, multi-layer trading strategy that provides both a quantitative //
// backtesting engine and a rich, intuitive visual interface. It is designed to identify high-probability //
// trend-following opportunities by requiring a confluence of conditions to be met before a signal is considered //
// valid. //
// //
// The system's philosophy is rooted in confirmation, seeking to filter out market noise by ensuring that trend, //
// momentum, market sentiment, and volume are all in alignment. //
// //
// --- CORE LOGIC COMPONENTS --- //
// 1. **Primary Trend Analysis (SAMA):** The foundation is a self-adjusting moving average (SAMA) that //
// determines the underlying market trend (Bullish, Bearish, or Consolidation). //
// //
// 2. **Confirmation & Momentum:** Signals are confirmed with a blend of the Natural Market Slope and a Cyclic //
// RSI to ensure momentum aligns with the primary trend. //
// //
// 3. **Advanced Filtering Layers:** A suite of optional filters allows for robust customization: //
// - **Volume & ADX:** Ensure sufficient market participation and trend strength. //
// - **Market Regime:** Uses total crypto market cap to gauge broad market health. //
// - **Multi-Timeframe (MTF):** Aligns signals with the dominant weekly trend. //
// - **BTC Cycle Analysis:** Uses Halving or Mayer Multiple models to position trades within historical //
// macro cycles. //
// //
// --- VISUAL INTERFACE --- //
// The strategy's real power comes from its on-chart visual feedback system, which provides full transparency. //
// ****Note: for this to be enabled recalculate 'on every tick' needs to be enabled in the properties settings. //
// 1. **Power Core Gauge:** Located at the bottom-center, this gauge is the heart of the system. It displays the //
// number of active filter conditions that have been met (e.g., 5/6). It "powers up" as more conditions align,//
// glowing brightly when a signal is fully confirmed and ready. //
// //
// 2. **Live Conditions Panel:** In the bottom-right corner, this panel acts as a detailed pre-flight checklist. //
// It shows the real-time status of every single filter, helping you understand exactly why a trade is (or //
// is not) being triggered. //
// //
// 3. **Energized Trendline:** The main SAMA trendline changes color and brightness based on the strength and //
// direction of the trend, providing immediate visual context. //
// //
// 4. **Halving cycle visualisation:** Visual guide to halving phases //
// //
// --- HOW TO USE --- //
// 1. **Select Operation Mode:** Use "Backtest Mode" to test settings and "Alerts-Only Mode" for live signals. //
// //
// 2. **Configure Strategy:** Start with the default filters. If a potential trade setup is missed, check the //
// **Live Conditions Panel** to see exactly which filter blocked the signal. Adjust the filters to suit your //
// specific asset and timeframe. //
// //
// 3. **Manage Risk:** Adjust the Risk & Exit settings to match your personal risk tolerance. //
(HHW) Helix Hybrid Wave Strategy Hakim Tung v1.0(HHW) Helix Hybrid Wave Strategy Hakim Tung v1.0
Strategy Concept & Core Logic
The (HHW) Helix Hybrid Wave Strategy is a long-only, trend-continuation system designed for BTC/USD on the daily timeframe. It combines multi-timeframe momentum analysis with adaptive trend filtering to capture sustained bullish movements while minimizing false signals. The addition of HMA indicator gives you as additional option to manually exit or re-enter trades should you wish to take some profit off your trade.
Indicator Synergy & Trade Logic
1. Gaussian Channel (Trend Filter)
2. Stochastic RSI (Momentum Trigger)
3. Williams %R (Trend Strength)
4. Moving Averages (Confluence)
5. LMA (Logarithmic Momentum Accelerator)
Exit Conditions:
* Auto-Exit: Price closes below SMA(126).
* Manual HMA Exit (Optional): Bearish HMA crossunder below price to secure profits, with re-entry on HMA reversal.
Why This Works for BTC
* Trend-Centric: Aligns with BTC’s multi-week bullish cycles.
* Hybrid Edge: Algorithmic entries + discretionary exits adapt to BTC’s volatility.
* Multi-Layer Confirmation: Reduces false signals in choppy markets.
Backtest Note: Optimized for BTC daily charts (2018–2024), with parameters tuned for high-momentum phases.
LeBlanc Strategy 2 -Inverted Fair Value Gap with Trend & 2.5 RRRThis is for recognizing the closed Inverted Fair Value Gaps (IFVG) to know when to enter a trade.
Detects true inverted FVGs only if the gap size is 3+ ticks.
Filters trades based on EMA50 vs SMA20 trend direction.
Uses ATR-based stop loss, and sets take-profit at a 2.5 risk-to-reward ratio.
Is fully backtestable in TradingView Strategy Tester.
Plots green/red boxes for FVGs.
AUD/USD 1-Min Scalping Strategy with LabelsHere’s a complete TradingView Pine Script v5 for the 1-minute AUD/USD scalping strategy we just discussed. This strategy uses:
EMA 13 and EMA 26 for trend filtering
Bollinger Bands for volatility extremes
RSI (4) for momentum confirmation
Backtest [OptAlgo]This backtest script is designed to convert ideas or indicators into backtest results. The script creates buy/sell signals by comparing price sources against fixed values or other imported plots using many comparison methods. It has many features including multiple exit systems: TP/SL, custom plot-based stops and more. It supports full trading automation through webhook alerts with live signal processing.
🔢 Signal Creation System
→ Values Group : Compare price sources against fixed numerical values
→ Plots Group : Compare two different price sources/indicators against each other
→ Flexible Comparisons : 15+ comparison methods (equal, crossover, rising...)
→ Signal Types : Long, Short, Close All, Block signals, and combination signals
→ Merge Rules : Minimum condition requirements for signal activation
🔀 Advanced Signal Logic
→ Counter Signals : Choose between reversing positions or closing them
→ Signal Inversion : Flip all buy/sell signals with one toggle
→ External Signal Import : Import coded signals (1=Long, -1=Short, 0=Close)
→ Day Blocker : Enable/disable trading on specific weekdays
→ Session Control : Limit trading to specific market sessions
⚙️ Strategy Settings
→ Position Sides : All Ways, Long Only, or Short Only modes
→ Signal Control : Individual enable/disable for long and short signals
→ Counter Signal Mode : Reverse Open Position vs Close Open Position
→ Signal Reversal : Global signal inversion capability
🔰 Risk Management (Limiter Settings)
→ Leverage Control : Leverage with liquidation warnings
→ Drawdown Limit : Auto-halt strategy at specified drawdown percentage
→ Tradable Ratio : Use portion of available balance (0.01-1.0)
→ Contract Limit : Cap maximum contract size regardless of balance
🎯 TP/SL System
→ Fixed TP/SL : Set percentage-based take profit and stop loss
→ Custom Plot Stops : Use any indicator/plot as dynamic stop loss
→ ATR-Based Exits : Volatility-adjusted TP/SL using Average True Range
→ Realistic Protection : Prevents unrealistic TP/SL prices in live trading
→ Stop Modes : Instant (Sudden) vs Candle Close execution
→ ATR Stop Loss : Override fixed SL with volatility-based calculations
→ ATR Take Profit : Dynamic TP based on market volatility
→ Trailing Options : Safe, Normal, or Aggressive trailing methods
→ Calculation Modes : Normal, Volume-weighted, or Limited (with max %) options
→ Volume Integration : ATR levels adjust based on volume influx
🤖 Automation & Alerts
→ Webhook Integration : Send JSON alerts for automated execution
→ Live Signals : Real-time signal processing (every tick vs bar close)
→ Strategy Key : Unique identifier for automated systems
→ Early Entry : Send alerts X seconds before candle close
→ Fast Execution : Prevent signal lag in automated trading
🐞 Development Tools
→ Alert Plotting : Visualize signals directly on chart (disable for live alerts)
→ Professional Mode : Remove UI controls for faster calculation
→ Debug : Metrics are plotted in data window.
📊 Key Advantages
→ Multi-Condition Logic : Combine multiple indicators with flexible rules
→ Risk-First Design : Built-in drawdown and leverage protection
→ Automation Ready : Full webhook and alert system integration
⚠️ Important Warnings
→ High leverage combined with high SL may adjust to liquidation price
→ Use consistent leverage across all strategies on same trading isolated margin pair
→ Live signals require "Calculate on every tick" enabled in settings
→ Disable alert plotting when creating actual alerts to prevent latency
Manadi Buy/Sell Strategy EMA + MACD + RSI + AlertsIt is a strategy / indicator of buy and sell special crypto for 15 min to 1 h time frame.
used with RSI, Macd, and Ema cros 9/21
Options Strategy V2.0📈 Options Strategy V2.0 – Intraday Reversal-Resilient Momentum System
Overview:
This strategy is designed specifically for intraday SPY, TSLA, MSFT, etc. options trading (0DTE or 1DTE), using high-probability signals derived from a confluence of technical indicators: EMA crossovers, RSI thresholds, ATR-based risk control, and volume spikes. The strategy aims to capture strong directional moves while avoiding overtrading, thanks to a built-in cooldown logic and optional time/session filters.
⚙️ Core Concept
The strategy executes trades only in the direction of the prevailing trend, determined by short- and long-term Exponential Moving Averages (EMA). Entry signals are generated when the Relative Strength Index (RSI) confirms momentum in the direction of the trend, and volume spikes suggest institutional activity.
To increase adaptability and user control, it includes a highly customizable parameter set for both long and short entries independently.
📌 Key Features
✅ Trend-Following Logic
Long entries are only allowed when EMA(short) > EMA(long)
Short entries are only allowed when EMA(short) < EMA(long)
✅ RSI Confirmation
Long: Requires RSI crossover above a configurable threshold
Short: Requires RSI crossunder below a configurable threshold
Optional rejection filters: Entry blocked above/below specific RSI extremes
✅ Volume Spike Filter
Confirms institutional participation by comparing current volume to an average multiplied by a user-defined factor.
✅ ATR-Based Risk Management
Both Stop Loss (SL) and Take Profit (TP) are dynamically calculated using ATR × a multiplier.
TP/SL ratio is fully configurable.
✅ Cooldown Control
After every trade, the system waits for a set number of bars before allowing new entries.
This prevents overtrading and increases signal quality.
Optionally, cooldown is ignored for reversal trades, ensuring the system can react immediately to a confirmed trend change.
✅ Candle Body Filter (Noise Control)
Avoids trades on candles with too small bodies relative to wicks (often noise or indecision candles).
✅ VWAP Confirmation (Optional)
Ensures price is trading above VWAP for long entries, or below for short entries.
✅ Time & Session Filters
Trades only during regular market hours (09:30–16:00 EST).
No-trade zone (e.g., 14:15–15:45 EST) to avoid low-liquidity traps or late-day whipsaws.
✅ End-of-Day Auto Close
All open positions are force-closed at 15:55 EST, protecting against overnight risk (especially relevant for 0DTE options).
📊 Visual Aids
EMA plots show trend direction
VWAP line provides real-time mean-reversion context
Stop Loss and Take Profit lines appear dynamically with each trade
Alerts notify of entry signals and exit triggers
🔧 Customization Panel
Nearly every element of the strategy can be tailored:
EMA lengths (short and long, for both sides)
RSI thresholds and length
ATR length, SL multiplier, and TP/SL ratio
Volume spike sensitivity
Minimum EMA distance filter
Candle body ratio filter
Session restrictions
Cooldown logic (duration + reversal exception)
This makes the strategy extremely versatile, allowing both conservative and aggressive configurations depending on the trader’s profile and the market context.
📌 Example Use Case: SPY Options (0DTE or 1DTE)
This system was designed and tested specifically for SPY and other intraday options trading, where:
Delta is around 0.50 or higher
Trades are short-lived (often 1–5 candles)
You aim to trade 1–3 signals per day, filtering out weak entries
🚫 Important Notes
It is not a scalping strategy; it relies on confirmed breakouts with trend support
No pyramiding or re-entries without cooldown to preserve risk integrity
Should be used with real-time alerts and manual broker execution
📈 Alerts Included
📈 Long Entry Signal
📉 Short Entry Signal
⚠️ Auto-closed all positions at 15:55 EST
✅ Proven Settings – Real Trades + Backtest Results
The current version of the strategy includes the optimal settings I’ve arrived at through extensive backtesting, as well as 3 months of real trading with consistent profitability. These results reflect real-world execution under live market conditions using 0DTE SPY options, with disciplined trade management and risk control.
🧠 Final Thoughts
Options Strategy V2.0 is a robust, highly tunable intraday strategy that blends momentum, trend-following, and volume confirmation. It is ideal for disciplined traders focused on SPY or other 0DTE/1DTE options, and it includes guardrails to reduce false signals and improve execution timing.
Perfect for those who seek precision, flexibility, and risk-defined setups—not blind automation.
AI - Williams Alligator Strategy (ATR Stop-Loss) AlertsAI - Williams Alligator Strategy (ATR Stop-Loss) with Alerts
S@nkar RouthUA Simple Moving Average (SMA) crossover strategy is a popular technical trading method used to identify potential buy and sell signals in financial markets. It involves plotting two SMAs—typically a short-term SMA (e.g., 10-day) and a long-term SMA (e.g., 50-day). A **buy signal** is generated when the short-term SMA crosses **above** the long-term SMA, indicating upward momentum. Conversely, a **sell signal** occurs when the short-term SMA crosses **below** the long-term SMA, suggesting downward momentum. This trend-following strategy is easy to implement, widely used by traders, and can be applied to stocks, crypto, or forex markets.
EMA Cross + MACD Confluence (with Session-Start Entry)EMA Cross + MACD Confluence Strategy (with Session-Start Entry)
Idea originally from kirilov
Description:
This strategy blends a classic Exponential Moving Average (EMA) crossover system
with MACD histogram confirmation, all within your custom trading window. On each bar:
• Calculates two user-defined EMAs (Fast and Slow).
• Computes the MACD line, signal line, and histogram using customizable lengths.
• Only takes new trades during your chosen session hours and date range.
• Enters on a fresh crossover (or crossunder), OR immediately at session start
if the crossover condition is already true.
• Applies MACD confluence: long entries only when the MACD histogram is positive;
short entries only when it’s negative.
• Exits positions when the opposite EMA-cross signal fires or when the session closes.
Key Features:
• 100% user-defined parameters: EMAs, MACD lengths, session times, date range, and
long/short or both directions.
• Session-aware “catch-up” entry—never miss a trend that started before the market open.
• Lightweight and transparent: only standard Pine v6 functions, no external libraries.
Disclaimer:
This script is provided for educational and illustrative purposes only.
It is NOT financial advice, a recommendation to buy or sell, or a substitute for your
own due diligence. Past performance is no guarantee of future results. Trade at your
own risk.