FxAST Lite Wave — Universal (Profiles: Intraday / Swing)FxAST-LW Universal (Profiles)
The FxAST Lite Wave – Universal strategy is designed for adaptability across markets and timeframes, with two ready-to-use profiles:
Intraday (5m–1H) → tuned for futures & FX scalps/day trades. Includes session filters, ATR volatility regimes, and impulse confirmation to reduce chop.
Swing (1D–3D) → tuned for swing positions. Uses relaxed impulse filters, slope + bias confirmation, and DI-spread to capture bigger moves.
Key features:
✅ Multi-EMA Lite Wave core (5/13/62/200)
✅ Regime filter via DI-spread (trend vs chop)
✅ EMA200 slope filter
✅ Optional HTF bias confirmation
✅ ATR-based stops, breakeven & trailing logic
✅ Time-stop exits to avoid capital stagnation
✅ Risk % position sizing
Usage:
Switch between Intraday and Swing modes via the Profile input. Adjust DI-spread, slope, and impulse thresholds per symbol. Sessions recommended ON for indices (NQ/ES/RTY) and OFF for FX.
⚠️ Disclaimer: This script is for research & educational purposes only. Not financial advice. Test extensively before applying live. Past performance does not guarantee future results.
© FxAST
Indicators and strategies
Momentum BTC Strategy – EMA & ATR Trend-Following This strategy is designed for Bitcoin trading, using multi-timeframe EMA filters, RSI confirmation, and ATR-based stop-loss logic. It focuses on capturing major trend momentum while scaling into dips for better entries.
⚙️ Features
✅ Higher Timeframe EMA filter for trend confirmation
✅ Dip buying logic with RSI & EMA checks
✅ ATR-based dynamic trailing stop
✅ Works best on 1D timeframe (but testable on 4H)
✅ Designed for spot & perpetual trading
💬 Feedback Wanted
This version is published as Protected — you can test it freely, but the source code is hidden.
👉 Please leave a comment with your feedback after testing (performance, improvements, or ideas).
Your feedback helps me refine the strategy before moving to Invite-only access.
🔑 Access & Future Plans
This script is currently published as Protected, so everyone can use it but the source code is hidden.
📌 In the future, access will switch to Invite-only.
👉 To stay connected and secure access when the Invite-only version launches:
Follow me here on TradingView (@alainfr)
Contact me on Telegram: @Thai5ow
⚠️ Disclaimer
This is not financial advice. Use at your own risk. Always backtest before using with real capital.
Supertrend [TradingConToto]Supertrend — ADX/DI + EMA Gap + Breakout (with Mobile UI)
What makes it original
Supertrend combines trend strength (ADX/DI), multi-timeframe bias (EMA63 and EMA 200D equivalent), a structural filter based on the distance between EMA2400 and EMA4800 expressed in ATR units, and a momentum confirmation through a previous high breakout.
This is not a random mashup — it’s a sequence of filters designed to reduce trades in ranging markets and prioritize mature trends:
Direction: +DI > -DI (trend led by buyers).
Strength: ADX > mean(ADX) (avoids weak, choppy phases).
Short-term bias: Close > EMA63.
Long-term bias: Close > EMA4800 ≈ EMA200 daily on H1.
Momentum: Close > High (immediate breakout).
Structure: (EMA2400 − EMA4800) > k·ATR (ensures separation in ATR units, filters out flat phases).
Entries & exits
Entry: when all six conditions are met and no open position exists.
Exit: if +DI < -DI or Close < EMA63.
Visuals: EMA63 is painted green while in position and red otherwise, with a supertrend-style band; “BUY” labels appear below the green band and “SELL” labels above the red band.
UI: includes a compact table (mobile-friendly) showing the state of each condition.
Default parameters used in this publication
Initial capital: 10,000
Position size: 10% of equity (≤10% per trade is considered sustainable).
Commission: 0.01% per side (adjust to your broker/market).
Slippage: 1 tick
Pyramiding: 0 (only one position at a time)
Adjust commission/slippage to match your market. For US equities, commissions are often per share; for spot crypto, 0.10–0.20% total is common. I publish with 0.01% per side as a conservative example to avoid overestimating results.
Recommended backtest dataset
Timeframe: H1
Multi-cycle window (e.g. 2015–today)
Symbols with high liquidity (e.g. NASDAQ-100 large caps, or BTC/ETH spot) to generate 100+ trades. Avoid cherry-picked short windows.
Why each filter matters
+DI > -DI + ADX > mean: reduce counter-trend trades and weak signals.
Close > EMA63 + Close > EMA4800: enforce trend alignment in short and long horizons.
Breakout High : requires immediate momentum, avoids early entries.
EMA gap in ATR units: blocks flat or compressed structures where EMA200D aligns with price.
Limitations
The breakout filter may skip healthy pullbacks; the design prioritizes continuation over perfect entry price.
No fixed trailing stop/TP; exits depend on trend degradation via DI/EMA63.
Results vary with real costs (commissions, slippage, funding). Adjust defaults to your broker.
How to use
Apply it on a clean chart (no other indicators when publishing).
Keep in mind the default parameters above; if you change them, mention it in your notes and use the same values in the Strategy Tester.
Ensure your dataset produces 100+ trades for statistical validity.
TheWave + Supertrend Hybrid w/ Signals• Green triangle below bar → Long entry signal
• Red triangle above bar → Short entry signal
• Small lime cross above/below → Take-profit hit
• Small maroon cross above/below → Stop-loss hit
• SMA5 and Supertrend lines for trend context
This version makes all entries and exits visually obvious while keeping the hybrid TheWave + Supertrend logic intact.
TheWaveStrategy v6 - QQE + ATR (Optional Trailing)New Version Of the wave with QQE and ATR
• Compiles cleanly in Pine v6.
• Optional trailing stop toggle via useTrailingATR.
• Market exit uses strategy.close() properly.
• ATR spike filter uses 5m ATR.
• QQE confluence with 30m timeframe included.
Chiến lược Lọc Tín hiệu (Cooldown & ATR)Chiến lược Lọc Tín hiệu (Cooldown & ATR)
Chiến lược Lọc Tín hiệu (Cooldown & ATR)
Lavender Multi-Signal Momentum StrategyOverview
The Lavender strategy is a sophisticated momentum-based trading system specifically optimized for Tesla (TSLA) on the 15-minute timeframe. It combines multiple technical signals to identify high-probability long entries during strong trending conditions.
Key Features
🎯 Multi-Signal Entry System
The strategy uses 4 distinct signal types that can be enabled/disabled individually:
Supertrend Pullback (Default: ON)
Identifies pullbacks in uptrends using Supertrend (ATR: 9, Factor: 0.5)
Enters when price retests EMA9-20 zone during bullish Supertrend
Donchian Breakout + Z-Score Momentum (Default: ON)
53-period Donchian channel breakouts
Combined with 35-period Z-Score momentum filter
Only triggers with positive momentum confirmation
Keltner Squeeze Expansion (Default: OFF)
Detects volatility squeeze conditions
Enters on breakout above Keltner Channel after compression
Opening Range Breakout (ORB) (Default: ON)
Tracks first hour range (9:30-10:30 AM)
Triggers on breakout above opening range high
🧭 Trend Regime Filter
EMA Trend Filter: 20 EMA > 100 EMA (Default: ON)
ADX Strength Filter: ADX > 22 with 15/13 smoothing (Default: ON)
Only trades when both trend conditions align
💵 Advanced Risk Management
Risk per Trade: 2.0% of capital (Default)
ATR-Based Stop Loss: 15-period ATR × 1.6 multiplier
Risk/Reward Ratio: 4:1 (Default)
Position Sizing: Automatic based on stop distance
Capital Options: Dynamic equity or fixed capital ($200,000 default)
⚙️ Execution Control
Candle Close Entries: Prevents intrabar noise (Default: ON)
Candle Close Exits: Stop loss and take profit only at bar close (Default: ON)
Trading Session: 9:00 AM - 4:00 PM (Default)
Trading Days: Monday-Saturday (Default: 123456)
Default Settings Summary
ParameterDefault ValuePurposeRisk per Trade2.0%Capital risk percentageATR Length15Stop loss calculationATR Multiplier1.6Stop distance factorRisk/Reward4.0Take profit multiplierEMA Fast20Short-term trendEMA Slow100Long-term trendADX Threshold22Minimum trend strengthMin Signals Required1Entry trigger thresholdInitial Capital$200,000Backtesting capital
How It Works
Trend Confirmation: Checks EMA alignment and ADX strength
Signal Generation: Scans for active momentum signals
Entry Execution: Enters when minimum signal threshold is met
Risk Management: Calculates position size based on ATR stop
Exit Management: Manages trades with 4:1 risk/reward ratio
Best Use Cases
Tesla (TSLA) on 15-minute charts
Trending market conditions
Intraday momentum trading
Markets with clear directional bias
Visual Indicators
Blue Line: 100-period EMA (trend filter)
Green/Red Line: Supertrend indicator
Teal Line: Donchian channel high
Purple Triangles: Keltner breakout signals
Orange Arrows: Opening range breakouts
Green Dots: Combined entry signals
Red/Green Lines: Active stop loss and take profit levels
Risk Disclaimer
This strategy is optimized for Tesla's specific price behavior on 15-minute timeframes. Past performance does not guarantee future results. Always test thoroughly and manage risk appropriately.
Created by kevloewe - Specialized for TSLA 15M momentum trading
AI - Customizable EMA Offset Entry StrategyMoving average with offsets, such that buy indicators are above the MA and sell indicators are below the MA
MS - Çoklu Onay Stratejisi (AL-SAT)"VOLUME, MA50, RSI, DMI, ATR
5 conditions, all turning positive at the same time gives a buy signal; one of them turning negative gives a sell signal. This should be evaluated with weekly data. Not financial advice."
Advanced MA Cross Strategy with ConfluenceOverview
A trend-following strategy that combines moving average crossovers with multiple technical confluence factors to identify high-probability long entries. This system is designed for traders seeking a disciplined, multi-faceted approach to market analysis with built-in risk management.
Core Strategy Logic
The strategy generates buy signals when a fast moving average crosses above a slow moving average, but only when multiple technical conditions align simultaneously. This confluence-based approach significantly reduces false signals and improves trade quality by ensuring multiple market dynamics support the directional bias.
Key Features
🎯 Multi-MA Support
5 Moving Average Types: EMA, SMA, WMA, HMA, VWMA
Customizable Periods: Flexible fast, slow, and trend filter lengths
Slope Validation: Ensures both MAs are trending upward before entry
📊 Seven-Point Confluence System
Volume Confirmation - Requires above-average trading volume
RSI Filter - Avoids overbought/oversold market conditions
MACD Alignment - Confirms momentum direction and strength
ADX Trend Strength - Validates trending market conditions
Bollinger Bands Position - Price positioning within volatility bands
Stochastic Momentum - Additional oscillator confirmation
Long-term Trend Filter - Ensures proper MA hierarchy (Fast > Slow > Trend)
🛡️ Advanced Risk Management
ATR-Based Dynamic Stops - Volatility-adjusted stop losses
Trailing Stop Logic - Protects profits as trades move favorably
Clear Exit Signals - Systematic position closure on MA cross-under
📈 Visual Intelligence
Real-Time Confluence Dashboard - Live monitoring of all filter conditions
Color-Coded Background - Visual confirmation when all factors align
Professional Signal Markers - Clear entry/exit visualization
MA Hierarchy Indicators - Trend structure validation
⚙️ Fully Customizable
Every parameter is user-adjustable, allowing traders to:
Modify MA lengths for different timeframes
Adjust confluence filter sensitivity
Customize risk management parameters
Enable/disable individual filters as needed
Strategy Advantages
✅ Reduced False Signals - Multiple confirmation layers filter out low-quality setups
✅ Trend Following - Designed to capture sustained directional moves
✅ Risk-Aware - Built-in stop loss and position sizing
✅ Transparent Logic - Real-time display of all decision factors
✅ Adaptable - Works across multiple timeframes and instruments
✅ Professional Grade - Institutional-quality technical analysis
Best Use Cases
Trending Markets: Excels in sustained directional price movements
Medium to Long-term Swing Trading: Optimized for multi-day to weekly holds
Risk-Conscious Trading: Ideal for traders prioritizing capital preservation
Educational Tool: Perfect for learning confluence-based analysis
Recommended Settings
Timeframes: 4H, Daily, Weekly for optimal signal quality
Instruments: Works on all liquid markets (Forex, Stocks, Crypto, Commodities)
Risk Management: 1-2% risk per trade recommended
Important Notes
⚠️ Long-Only Strategy: Designed specifically for upward price movements
⚠️ Confluence Dependent: All filters must align for signal generation
⚠️ Trending Market Bias: Performance may be limited in sideways markets
Disclaimer: This strategy is for educational and informational purposes only. Past performance does not guarantee future results. Always conduct your own analysis and consider your risk tolerance before trading.
Consolidated 9-Indicator Buy/Sell Zones & TriggersALL important inductors combined for long term position holders and short term guys...use it to enter trade and exit ...backgroud colour will give you the indication of the market mood..
swapstrategy-Reversal StrategyGenerate buy and sell signals and reverses position when chart turn buy or sell side
AMF PG Strategy_v2The AMF PG Strategy (Praetorian Guard) is an advanced trading system designed to seamlessly adapt to market conditions. Its unique structure balances precise entries with intelligent protection, giving traders confidence in both trending and volatility environments.
Key points include:
Adaptive Core (AMF Engine) – A dynamic framework that automatically adjusts for clearer long- and short-term opportunities and generates a robust tracking line.
Praetorian Guard – A built-in protective shield that activates in extreme conditions and helps stabilize performance when markets become turbulent.
Versatility – Effective across multiple timeframes, from scalping to swing trading, without constant parameter adjustments.
Clarity – Clear visual signals and color-coded monitoring for instant decision-making.
This strategy is designed for traders who want more than just entries and exits; it offers a command center for disciplined, adaptable, and resilient trading.
Disclaimer:
It should be noted that no strategy is guaranteed. This strategy does not provide buy-sell-hold advice. Responsibility rests with the user.
Version 2: Bugs overlooked in Version 1 have been corrected and improvements have been made.
LFT strategy Main Reversion
this script will tell exactly when to buy and sell with TP and SL, used the latest LLM to tone the model with a profit ratio of 2.05 in 6 years and profit ratio of 4.02 in past 6 month and have been back tested with Monte Carlo simulation, with profit ratio 1+ for 99% of the time with 1000 iterations with 500 steps, for 100 times
please contact LFT Foundation for access
Hilly's Advanced Crypto Scalping Strategy - 5 Min ChartTo determine the "best" input parameters for the Advanced Crypto Scalping Strategy on a 5-minute chart, we need to consider the goals of optimizing for profitability, minimizing false signals, and adapting to the volatile nature of cryptocurrencies. The default parameters in the script are a starting point, but the optimal values depend on the specific cryptocurrency pair, market conditions, and your risk tolerance. Below, I'll provide recommended input values based on common practices in crypto scalping, along with reasoning for each parameter. I’ll also suggest how to fine-tune them using TradingView’s backtesting and optimization tools.
Recommended Input Parameters
These values are tailored for a 5-minute chart for liquid cryptocurrencies like BTC/USD or ETH/USD on exchanges like Binance or Coinbase. They aim to balance signal frequency and accuracy for day trading.
Fast EMA Length (emaFastLen): 9
Reasoning: A 9-period EMA is commonly used in scalping to capture short-term price movements while remaining sensitive to recent price action. It reacts faster than the default 10, aligning with the 5-minute timeframe.
Slow EMA Length (emaSlowLen): 21
Reasoning: A 21-period EMA provides a good balance for identifying the broader trend on a 5-minute chart. It’s slightly longer than the default 20 to reduce noise while confirming the trend direction.
RSI Length (rsiLen): 14
Reasoning: The default 14-period RSI is a standard choice for momentum analysis. It works well for detecting overbought/oversold conditions without being too sensitive on short timeframes.
RSI Overbought (rsiOverbought): 75
Reasoning: Raising the overbought threshold to 75 (from 70) reduces false sell signals in strong bullish trends, which are common in crypto markets.
RSI Oversold (rsiOversold): 25
Reasoning: Lowering the oversold threshold to 25 (from 30) filters out weaker buy signals, ensuring entries occur during stronger reversals.
MACD Fast Length (macdFast): 12
Reasoning: The default 12-period fast EMA for MACD is effective for capturing short-term momentum shifts in crypto, aligning with scalping goals.
MACD Slow Length (macdSlow): 26
Reasoning: The default 26-period slow EMA is a standard setting that works well for confirming momentum trends without lagging too much.
MACD Signal Smoothing (macdSignal): 9
Reasoning: The default 9-period signal line is widely used and provides a good balance for smoothing MACD crossovers on a 5-minute chart.
Bollinger Bands Length (bbLen): 20
Reasoning: The default 20-period Bollinger Bands are effective for identifying volatility breakouts, which are key for scalping in crypto markets.
Bollinger Bands Multiplier (bbMult): 2.0
Reasoning: A 2.0 multiplier is standard and captures most price action within the bands. Increasing it to 2.5 could reduce signals but improve accuracy in highly volatile markets.
Stop Loss % (slPerc): 0.8%
Reasoning: A tighter stop loss of 0.8% (from 1.0%) suits the high volatility of crypto, helping to limit losses on false breakouts while keeping risk manageable.
Take Profit % (tpPerc): 1.5%
Reasoning: A 1.5% take-profit target (from 2.0%) aligns with scalping’s goal of capturing small, frequent gains. Crypto markets often see quick reversals, so a smaller target increases the likelihood of hitting profits.
Use Candlestick Patterns (useCandlePatterns): True
Reasoning: Enabling candlestick patterns (e.g., engulfing, hammer) adds confirmation to signals, reducing false entries in choppy markets.
Use Volume Filter (useVolumeFilter): True
Reasoning: The volume filter ensures signals occur during high-volume breakouts, which are more likely to sustain in crypto markets.
Signal Arrow Size (signalSize): 2.0
Reasoning: Increasing the arrow size to 2.0 (from 1.5) makes buy/sell signals more visible on the chart, especially on smaller screens or volatile price action.
Background Highlight Transparency (bgTransparency): 85
Reasoning: A slightly higher transparency (85 from 80) keeps the background highlights subtle but visible, avoiding chart clutter.
How to Apply These Parameters
Copy the Script: Use the Pine Script provided in the previous response.
Paste in TradingView: Open TradingView, go to the Pine Editor, paste the code, and click "Add to Chart."
Set Parameters: In the strategy settings, manually input the recommended values above or adjust them via the input fields.
Test on a 5-Minute Chart: Apply the strategy to a liquid crypto pair (e.g., BTC/USDT, ETH/USDT) on a 5-minute chart.
Fine-Tuning for Optimal Performance
To find the absolute best parameters for your specific trading pair and market conditions, use TradingView’s Strategy Tester and optimization features:
Backtesting:
Run the strategy on historical data for your chosen pair (e.g., BTC/USDT on Binance).
Check metrics like Net Profit, Profit Factor, Win Rate, and Max Drawdown in the Strategy Tester.
Focus on a sample period of at least 1–3 months to capture various market conditions (bull, bear, sideways).
Parameter Optimization:
In the Strategy Tester, click the settings gear next to the strategy name.
Enable optimization for key inputs like emaFastLen (test range: 7–12), emaSlowLen (15–25), slPerc (0.5–1.5), and tpPerc (1.0–3.0).
Run the optimization to find the combination with the highest net profit or best Sharpe ratio, but avoid over-optimization (curve-fitting) by testing on out-of-sample data.
Market-Specific Adjustments:
Volatile Pairs (e.g., DOGE/USDT): Use tighter stop losses (e.g., 0.5–0.7%) and smaller take-profit targets (e.g., 1.0–1.2%) to account for rapid price swings.
Stable Pairs (e.g., BTC/USDT): Slightly wider stop losses (e.g., 1.0–1.2%) and take-profit targets (e.g., 1.8–2.5%) may work better.
Trending Markets: Increase emaSlowLen (e.g., to 25–30) to follow stronger trends.
Choppy Markets: Tighten bbMult (e.g., to 1.8) and lower rsiOverbought/rsiOversold (e.g., to 70/30) to filter noise.
Forward Testing:
After backtesting, run the strategy in real-time on a demo account for 1–2 weeks to validate performance under current market conditions.
Important Notes
No Universal "Best" Numbers: Optimal parameters vary by crypto pair, exchange, and market conditions (e.g., bull vs. bear market). The suggested values are a starting point based on common scalping practices.
Risk Management: Never risk more than 1–2% of your account per trade. Adjust position sizing in TradingView’s strategy settings to align with your risk tolerance.
Market Volatility: Crypto markets are highly volatile. Test the strategy on your specific pair and adjust parameters if signals are too frequent or too rare.
Not Financial Advice: This is an educational tool. Backtest thoroughly and use a demo account before trading with real funds.
If you want me to generate a chart showing backtest performance for specific parameters or to tweak the script further (e.g., adding more indicators or adjusting signal logic), let me know!can you add clear buy ans sell signs above the candles in this codeTo add clear buy and sell signals above the candles in the provided Pine Script, I'll modify the existing code to include prominent text labels directly above (for sell signals) and below (for buy signals) the candles. These labels will be larger, color-coded, and positioned to avoid clutter, ensuring they are easily visible on the chart. The core strategy logic (EMA, RSI, MACD, Bollinger Bands, candlestick patterns, and volume filter) will remain unchanged, and I'll reuse the same artifact_id since this is an update to the previous script.AdvancedCryptoScalpingStrategy.pinex-pine
LFT Foundation Main ReversionLFT Foundation Main Reversion
this script will tell exactly when to buy and sell with TP and SL, used the latest LLM to tone the model with a profit ratio of 1.82 in 6 years and profit ratio of 4.02 in past 6 month and have been back tested with Monte Carlo simulation, with profit ratio 1+ for 99% of the time with 1000 iterations with 500 steps, for 100 times
please contact LFT Foundation for access
AVWAP+RSI Confluence — 1R TesterRSI + 1R ATR - Monthly P\&L (v4)
WHAT THIS STRATEGY DOES (OVERVIEW)
* Pine strategy (v4) that combines a simple momentum trigger with a symmetric 1R ATR risk model and an on-chart Monthly/Yearly P\&L table.
* Momentum filter: trades only when RSI crosses its own SMA in the direction of the trend (price vs Trend EMA).
* Risk engine: exits use fixed 1R ATR brackets captured at entry (no drifting targets/stops).
* Accounting: the table aggregates percentage returns by month and year using strategy equity.
ENTRY LOGIC (LONGS & OPTIONAL SHORTS)
Indicators used:
* RSI(rsiLen) and its SMA: SMA(RSI, rsiMaLen)
* Trend filter: EMA(emaTrendLen) on price
Longs:
1. RSI crosses above its RSI SMA
2. RSI > rsiBuyThr (filters weak momentum)
3. Close > EMA(emaTrendLen)
Shorts (optional via enableShort):
1. RSI crosses below its RSI SMA
2. RSI < rsiSellThr
3. Close < EMA(emaTrendLen)
EXIT LOGIC AND RISK MODEL (1R ATR)
* On entry, snapshot ATR(atrLen) into atrAtEntry and the average fill price into entryPx.
* Longs: stop = entryPx - ATR \* atrMult; target = entryPx + ATR \* atrMult
* Shorts: mirrored.
* Stops and targets are posted immediately and remain fixed for the life of the trade.
POSITION SIZING AND COSTS
* Default position size: 25% of equity per trade (adjustable in Properties/inputs).
* Commission percent and a small slippage are set in strategy() so backtests include friction by default.
MONTHLY / YEARLY P\&L TABLE (HOW IT WORKS)
* Uses strategy equity to compute bar returns: equity / equity\ - 1.
* Compounds bar returns into current month and current year; commits each finished period at month/year change (or last bar).
* Renders rows as years; columns Jan..Dec plus a Year total column.
* Cells colored by sign; precision and maximum rows are controlled by inputs.
* Values represent percentage returns, not currency P\&L.
VISUAL AIDS
* Two pivot trails (pivot high/low) are plotted for context only; they do not affect entries or exits.
CUSTOMIZATION TIPS
* Raise rsiBuyThr (long) or lower rsiSellThr (short) to filter weak momentum.
* Increase emaTrendLen to tighten trend alignment.
* Adjust atrLen and atrMult to fit your timeframe/instrument volatility.
* Leave enableShort = false if you prefer long-only behavior or shorting is constrained.
NON-REPAINTING AND BACKTEST NOTES
* Signals use bar-close crosses of built-in indicators (RSI, EMA, ATR); no future bars are referenced.
* calc\_on\_every\_tick = true for responsive visuals; Strategy Tester evaluates on bar close in history.
* Backtest stop/limit fills are simulated and may differ from live execution/liquidity.
DISCLAIMERS
* Educational use only. This is not financial advice. Markets involve risk. Past performance does not guarantee future results.
INPUTS (QUICK REFERENCE)
* rsiLen, rsiMaLen, rsiBuyThr, rsiSellThr
* emaTrendLen
* atrLen, atrMult, enableShort
* leftBars, rightBars, prec, showTable, maxYearsRows
SHORT TAGLINE
RSI momentum with 1R ATR brackets and a built-in Monthly/Yearly P\&L table.
TAGS
strategy, RSI, ATR, trend, risk-management, backtest, Pine-v4
Buy/Sell Alpha Signal✅ High Accuracy: Signals are generated using advanced algorithmic conditions to minimize false entries.
✅ Clear Visual Alerts: Buy and sell signals appear as distinct markers directly on your chart.
✅ Invite-Only Access: The script is fully protected — source code is private and can only be accessed by contacting me.
✅ Easy to Use: Apply it directly to your charts without adjusting complex settings.
Turtle Trading System (Not Financial Advise)I am testing this script, not financial advise, but this is how it works, i hope;
How the Script Works
The script is a TradingView strategy that backtests and automates the Turtle rules. It uses two systems, a short-term S1 (20-day) and a long-term S2 (55-day), which you can select to test.
The strategy follows these core principles:
Trend Identification: The script uses Donchian Channels to identify breakouts. A new trend is signaled when the price breaks above the highest high or below the lowest low of a specified period.
Position Sizing: The script automatically calculates the size of each trade unit to ensure you risk a consistent percentage of your capital on every trade. This is based on the Average True Range (ATR), which measures volatility.
Pyramiding: When a trade moves in a profitable direction, the script will add more units at specific intervals to increase your position and ride the trend. This is how the Turtles made their big profits.
Win/Loss Condition:
A crucial rule is implemented for System 1 (S1): you only enter a trade if the previous S1 trade was a loss. If the last S1 trade was a win, you must wait for a signal from System 2 (S2).
How to Enter and Exit a Long Position
The script will automatically enter a long position when the price breaks above the highest high of the last 20 days (S1) or 55 days (S2), depending on which system you've selected.
Stop-Loss (SL): Your stop-loss is automatically placed at a distance of 2 * N (ATR) below the entry price. . This is a crucial risk management rule that limits your potential loss. The stop-loss is also plotted visually on the chart.
Exit Long: The script will close the long position automatically under two conditions:
Reversal: The price drops and closes below the lowest low of the last 10 days (S1) or 20 days (S2).
Stop-Loss Hit: The price hits your initial stop-loss, limiting your loss.
How to Enter and Exit a Short Position
Enter Short: The script will automatically enter a short position when the price breaks below the lowest low of the last 20 days (S1) or 55 days (S2).
Stop-Loss (SL): Your stop-loss is automatically placed at a distance of 2 * N (ATR) above the entry price. . This prevents large losses if the price moves against you.
Exit Short: The script will close the short position automatically under two conditions:
Reversal: The price rallies and closes above the highest high of the last 10 days (S1) or 20 days (S2).
Stop-Loss Hit: The price hits your initial stop-loss, limiting your loss.
ENAUSDT.P Strategy – Alerts Ready (JSON)Ena/usdt trend trading strategy.
Backtesting results:
Starting date: 2 September 2025
7 days:
PnL: +13.91 (+1.39%)
Max drawdown: -17.68 (-1.73%)
Total trades: 22
Win rate: 63.64%
Profit factor: 1.82
30 days:
PnL: +81.16 (+8.12%)
Max drawdown: -26.38 (-2.51%)
Total trades: 89
Win rate: 68.54%
Profit factor: 2.52
90 days:
PnL: +270.64 (+27.06%)
Max drawdown: -36.29 (-3.34%)
Total trades: 273
Win rate: 67.09%
Profit factor: 2.72
365 day:
PnL: +702.89 (+70.29%)
Max drawdown: -130.40 (-10.16%)
Total trades: 986
Win rate: 65.42%
Profit factor: 1.67