RSI (Any Source) StrategyThis is a simple RSI crossover/crossunder strategy. It calculates RSI on a user-selected Source (default close) using the chosen Length (default 14). It enters a long when RSI crosses up through the Oversold level (default 30), and enters a short when RSI crosses down through the Overbought level (default 70). It does not include explicit exits—each new signal effectively flips/replaces the position via a new entry.
Educational
Gold Smart Scalper V3 - Clean ChartOverview
The Gold Smart Scalper V3 is a trend-following momentum strategy specifically optimized for XAU/USD (Gold). It focuses on catching "value pullbacks" within a strong trend, avoiding the noise of sideways markets. Unlike many scalpers that use lagging indicators for exits, this version uses fixed ATR-based targets to lock in profits during high-volatility moves common in Gold.
Core Methodology
The strategy operates on three layers of confirmation:
Macro Trend (HTF Filter): Uses a 50-period EMA to ensure trades are only taken in the direction of the higher-timeframe momentum.
The Value Zone: Instead of "chasing" green or red candles, the script waits for a pullback to the space between the 9 EMA and 21 EMA. This ensures a better risk-to-reward entry point.
The Trigger: A trade is only executed when price confirms the resumption of the trend by crossing back over the signal EMA after the pullback.
Key Features
Fixed Profit Targets: Replaced dynamic trailing stops with fixed Take Profit (TP) and Stop Loss (SL) levels based on ATR, ensuring exits aren't "hunted" by Gold's signature volatility spikes.
C lean Chart Interface : All moving average plots are hidden. The only visuals provided are the active TP/SL levels when a trade is live, keeping your workspace clutter-free.
Single-Trade Logic: The script includes a "One Trade Per Cross" gate, preventing the strategy from over-trading or "stacking" positions during choppy price action.
Settings & OptimizationATR Multipliers :
Stop Loss (SL): Default $2.0 \times ATR$. Protects against standard market noise.Take Profit (TP): Default $3.0 \times ATR$. Designed for a high Risk/Reward profile.Timeframe Recommendation: Optimized for 15m and 1H for swing scalping, or 5m for aggressive scalping.Instrument: Specifically tuned for Gold (XAU/USD), but applicable to other high-volatility pairs like GBP/JPY or NASDAQ.
Disclaimer
This script is for educational and backtesting purposes only. Past performance does not guarantee future results. Always practice proper risk management.
RSI Strategy with Auto Tuner (PF)# RSI Auto‑Tuner Strategy — How To Use
This document explains **how to use** the RSI Auto‑Tuner strategy. It intentionally avoids math and implementation details. Follow this as an operating guide.
---
## 1. What This Tool Is For
This strategy helps you:
* Discover **which RSI length works best** on a given ticker and timeframe
* Measure performance using **Profit Factor (PF)**
* Improve RSI performance on noisy markets by **transforming price first**
The auto‑tuner is a **research tool**, not a live trading signal generator.
---
## 2. Two Modes You Must Treat Differently
### Research Mode
Used to explore and discover parameters.
* Auto‑Tune: **ON**
* Parameters are allowed to change
* Results may look very good
* Overfitting risk is real
### Trading Mode
Used for forward testing or live trading.
* Auto‑Tune: **OFF**
* Parameters are fixed
* Behavior is stable and repeatable
* This is the only acceptable mode for live use
**Never trade live with Auto‑Tune enabled.**
---
## 3. Manual Mode (Trading Mode)
Use this after parameters are finalized.
Steps:
1. Set **Auto‑Tune = OFF**
2. Choose:
* Source (raw price or transformed price)
* RSI Length (manual, default 14)
* Oversold / Overbought levels
3. The strategy will:
* Enter long when RSI crosses up through Oversold
* Enter short when RSI crosses down through Overbought
* Flip positions on opposite signals
This mode is predictable and safe for forward testing.
---
## 4. Auto‑Tune Mode (Research Mode)
Use this to find optimal RSI lengths.
Steps:
1. Set **Auto‑Tune = ON**
2. Configure the search range:
* Minimum Length (default 5)
* Maximum Length (default 14)
* Step Size (default 1)
3. The strategy will:
* Internally simulate trades for each RSI length
* Track gross profit, gross loss, and trades
* Select the length with the highest Profit Factor
4. The best length is applied automatically
Auto‑Tune evaluates historical data only.
---
## 5. Using a Transform on Price (Critical)
RSI does **not** have to run on raw price.
You can significantly improve results by:
* Applying a **price transform** first
* Feeding the transformed series into the RSI Source input
Examples of transforms:
* Moving averages
* Low‑pass filters
* Butterworth filters
* Any smoother or denoiser
Why this works:
* Busy, wicky markets cause RSI to whipsaw
* Transforms remove micro‑noise
* RSI responds to structure instead of chaos
* Profit Factor often increases dramatically
Best practice:
* Auto‑tune on raw price
* Auto‑tune on transformed price
* Compare PF, trade count, and stability
---
## 6. Reading the Status Label
At the last bar, the on‑chart label shows:
* Whether Auto‑Tune is ON or OFF
* Whether candidates were built successfully
* Number of RSI lengths tested
* Best RSI length found
* Profit Factor and trade count
If Auto‑Tune is OFF, the label shows the manual length.
---
## 7. Recommended Workflow
1. Choose ticker and timeframe
2. Enable Auto‑Tune on **raw price**
3. Record best RSI length and PF
4. Enable Auto‑Tune on **transformed price**
5. Compare results
6. Lock parameters
7. Disable Auto‑Tune
8. Forward test
---
## 8. Warnings and Discipline
* High PF with few trades is unreliable
* Transforms can hide execution costs
* Always validate on a different period
* Auto‑Tune is a **lens**, not an edge
Treat this tool as a research microscope, not an autopilot.
Butterworth LPF Flip + AutoTune (PF)Butterworth LPF Flip + AutoTune (PF)
This strategy trades price trend flips using two Butterworth low-pass filters (a FAST filter and a SLOW filter). A trade is taken when the FAST filter crosses the SLOW filter. Optionally, the script can auto-tune the filter lengths by simulating many Fast/Slow combinations and selecting the pair with the best Profit Factor (PF).
What the Script Does
- Computes two 2‑pole Butterworth low‑pass filters on price.
- Enters LONG when FAST crosses above SLOW.
- Enters SHORT when FAST crosses below SLOW.
- Optionally simulates many Fast/Slow length combinations internally.
- Chooses the Fast/Slow pair with the highest Profit Factor.
- Trades only the selected best pair.
Manual Mode (Default)
1. Leave Auto‑Tune OFF.
2. Set:
- FAST cutoff period (bars)
- SLOW cutoff period (bars)
3. The strategy will trade using only these values.
Use this mode for normal trading or live deployment.
Auto‑Tune Mode
1. Enable Auto‑Tune.
2. Define Fast and Slow ranges:
- FAST min / max / step
- SLOW min / max / step
3. The script simulates ALL Fast × Slow combinations bar‑by‑bar.
4. Each combination tracks:
- Gross Profit
- Gross Loss
- Closed trades
- Profit Factor (PF = GP / GL)
5. At the end of the chart, the best PF pair is selected and used for trading.
Interpreting the End Box
The status label at the end of the chart reports:
- Whether Auto‑Tune is enabled
- Number of candidate pairs tested
- Best FAST period
- Best SLOW period
- Profit Factor of the best pair
- Win Rate (wins ÷ closed trades)
If PF is near 1.0 or trades are very low, expand the range or length of the test.
Best Practices
- Use Auto‑Tune ONLY for research and optimization.
- After finding good parameters, disable Auto‑Tune and trade manually.
- Keep Fast < Slow (logical separation).
- Longer charts produce more reliable PF results.
- Avoid very small step sizes (performance + noise).
Known Limitations
- Pine Script runs bar‑by‑bar; tuning is approximate, not vectorized.
- Large grids increase execution time.
- Results are historical and NOT predictive.
- Not suitable for live auto‑optimization.
Summary
This script is best viewed as a *research tool first, strategy second*. Use it to discover stable Fast/Slow regimes, then lock them in for simple, repeatable trading.
Xbirch_Turtle_ Crypto_CalcМодернизированная стратегия Черепах.
Вход/выход по каналу Дончиана, стопы по величине ATR, возможность выбора лонг/шорт/всё. Имеется пирамидинг - добавление по +0,5ATR от первого бая, не более 4х входов. Модернизированный стоп - по ATR от первого бая.
Не финансовый совет.
A modernized Turtle strategy.
Entry/exit based on the Donchian Channel, stops based on the ATR value, and the ability to choose long/short/all options. Pyramiding is available – adding +0.5 ATR from the first buy, with a maximum of four entries. The modernized stop is based on the ATR value from the first buy.
This is not financial advice.
Adoptive Conditional range High/Low MA Crossover StrategyDeveloped from the doctoral research of Abu-Kadunagra at ****** University's in Australia, this strategy implements a "Campaign-Based Adaptive Execution" framework. It moves beyond simple entries and exits by treating each market engagement as a multi-phase campaign with distinct operational states. The system intelligently identifies cyclical turning points, then employs a feedback-driven approach to capital allocation—reinforcing successful momentum with pyramiding while deploying controlled defensive averaging during temporary setbacks. By anchoring its exit mechanism to dynamically updated market structure rather than static profit targets, the algorithm seeks to capture cyclical momentum while maintaining disciplined risk parameters. This research-driven approach represents an evolution toward state-aware algorithmic systems that adapt their tactics in real-time based on market phase recognition.
KSE-100 PSX Long Strategy by KadunagraDeveloped from a academic part of the doctoral research of Kadunagra on digital finance and automation at **** University in Australia, this strategy implements a "Campaign-Based Adaptive Execution" framework. It moves beyond simple entries and exits by treating each market engagement as a multi-phase campaign with distinct operational states. The system intelligently identifies cyclical turning points, then employs a feedback-driven approach to capital allocation—reinforcing successful momentum with pyramiding while deploying controlled defensive averaging during temporary setbacks. By anchoring its exit mechanism to dynamically updated market structure rather than static profit targets, the algorithm seeks to capture cyclical momentum while maintaining disciplined risk parameters. This research-driven approach represents an evolution toward state-aware algorithmic systems that adapt their tactics in real-time based on market phase recognition.
NQ Lunch High Low First Sweep StrategyThis script identifies the FIRST liquidity sweep of the Lunch session high or low
after the Lunch session has ended, based on ICT / Killzone concepts.
Logic summary:
• Tracks Lunch session High and Low (New York time)
• After Lunch session closes, monitors the market on 5-minute timeframe
• Triggers ONLY on the first sweep:
– Price wicks beyond Lunch High and closes back below → SHORT signal
– Price wicks beyond Lunch Low and closes back above → LONG signal
• Generates an alert at the exact bar where entry is expected
• Designed specifically for Nasdaq (NQ) futures
• One trade per day – no overtrading
Notes:
• Intended for 5-minute charts only
• Uses New York session timing
• This script does NOT manage exits (TP/SL) – entry logic only
• Best used as a confluence tool, not a standalone system
Educational & discretionary use only.
Supertrend + EMA + RSI Algo (Low Risk High Accuracy)This is a trend-following + momentum confirmation strategy designed to reduce false signals and control loss.
Supertrend (10,3) → Identifies overall market direction (Buy in uptrend, Sell in downtrend)
EMA 50 & EMA 200 → Confirms strong trend and avoids sideways market
Buy only when EMA 50 is above EMA 200
Sell only when EMA 50 is below EMA 200
RSI (14) → Confirms momentum
Buy when RSI > 55 (strong bullish momentum)
Sell when RSI < 45 (strong bearish momentum)
---
🔹 Entry Logic
BUY: Market is in uptrend + strong momentum
SELL: Market is in downtrend + strong bearish pressure
---
🔹 Risk Management (Most Important)
Stop Loss: Based on ATR (adapts to volatility)
Target: Fixed Risk-Reward ratio (example: 1 : 2.5)
This keeps loss small and profits larger
---
🔹 Best Use Case
Works best in trending markets
Ideal timeframes: 15m, 1h, 4h
Suitable for crypto futures & swing trading
Beginner-friendly if used with low leverage
225 SMA CrossoverWell-known strategy from Zahlengraf from the Mauerstrassenwetten subreddit for you to test yourself.
You can change the length of the SMA and whether to trade long, short or both directions.
Buy the dips StrategyThis strategy getting in long position only after the price drop- Buy the dips
The % of the drop is Determined by SMA for the first trade
The inputs of SMA and % of the drop can be adjust from the User
After that Strategy start taking safe trades if not take profit from the first trade
The safe trades are Determined by step down deviation % and by quantity
There is no Stop loss is not for one with small tolerance to getting under
if any question ask
Daily Dynamic Grid StrategyHi everyone,
This strategy is built around a dynamic daily grid concept, using an upper and lower daily range that is automatically divided into multiple grid levels.
The idea is to take advantage of daily volatility by executing DCA entries on specific grid levels, based on predefined conditions.
Key points of the strategy & feature:
I recommend using 1H or 2H timeframe for this strategy
Take profit by grid
When DCA is active (>1 entry), the exit condition switches to close above the average price
A hard stop loss is applied
Includes an optional Trailing TP / SL to help maximize profit during strong moves
Like most DCA-based strategies, it tends to have a high win rate, but during strong market dumps, losses can become relatively large
Can also be used for backtest on Forex markets such as Gold, where using the trailing option is generally more effective
And still trial for the webhook, may continue to improve and update this strategy in future versions.
Hybrid Trend-Following Inside Bar BreakoutHybrid Trend-Following Inside Bar Breakout Strategy
The Hybrid Trend-Following Inside Bar Breakout Strategy is a rule-based trading system designed to capture strong directional moves while controlling risk during uncertain market conditions. It combines trend-following, price action, and volatility-based risk management into a single robust framework.
Core Concept
The strategy trades inside bar breakouts only in the direction of the dominant market trend. Inside bars represent periods of consolidation, and when price breaks out of this consolidation in a trending market, it often leads to impulsive moves with favorable risk–reward characteristics.
Key Components
1. Trend Filter
Uses 50 EMA and 200 EMA to define the market trend.
Bullish bias: 50 EMA above 200 EMA
Bearish bias: 50 EMA below 200 EMA
This filter prevents counter-trend trades and improves trade quality.
2. Volatility Filter
Compares fast ATR (14) with slow ATR (50).
Trades are taken only when volatility is expanding or above a minimum threshold.
This avoids low-volatility, choppy market conditions.
3. Inside Bar Breakout
An inside bar forms when the current candle’s high is lower than the previous candle’s high and the low is higher than the previous candle’s low.
A trade is triggered only when price breaks above or below the inside bar range in the direction of the trend.
4. Candle Quality Filter
Requires a minimum body-to-range ratio, ensuring that the breakout candle has strong momentum and is not driven by weak wicks.
Risk Management & Trade Management
Stop Loss (SL)
Placed using ATR-based dynamic stops, adapting to current market volatility.
Prevents tight stops in volatile conditions and wide stops in calm markets.
Partial Profit Taking
50% of the position is exited at 1.5R, locking in profits early.
This reduces psychological pressure and improves equity stability.
Trailing Stop
After partial profit is taken, the remaining position is managed with an ATR-based trailing stop.
Allows the strategy to capture large trend moves while protecting gains.
Cooldown Mechanism
After a losing trade, the system enters a cooldown period and skips a fixed number of bars.
This helps avoid revenge trading and overtrading during unfavorable market phases.
Why This Strategy Works
Trades only high-probability breakouts in trending markets
Adapts automatically to changing volatility
Combines price action precision with systematic risk control
Designed for consistent performance over long historical periods
[Backtest Crypto] Cross MAThis script is designed for testing the moving average crossover strategy.
Script settings:
Select testing range
Indicator settings: Select moving average type (EMA, SMA, WMA, SMMA, HMA) and period
Trade management: Select risk-to-reward ratio, stop-loss defined as min/max for a certain number of candles (you can set a desired number), option to partially lock in a position by moving the stop-loss to breakeven, trailing stop, or close a position on an opposite signal.
Option to limit the stop-loss by ATR to prevent it from becoming too large during volatile movements.
===============================================================
Скрипт предназначен для тестирования стратегии пересечение скользящих средних.
Настройки скрипта:
Выбор диапазона тестирования
Настройки индикатора: выбор типа скользящей (EMA, SMA, WMA, SMMA, HMA) и периода
Сопровождение сделки: выбор соотношения риска к прибыли, стоп-лосс определяется как мин/мах за определенное количество свечей (можно устанавливать желаемое количество), возможность частичной фиксации позиции с переносом стоп-лосса в безубыток, трейлинг-стоп, или закрытие позиции по противоположному сигналу.
Возможность ограничения стоп-лосса по ATR, чтобы при волатильных движениях он не был слишком большим.
Backtest any Indicator [Target Mode] StrategyUniversal Backtester Strategy with Sequential Logic
This strategy serves as a highly versatile, universal backtesting engine designed to test virtually any indicator-based trading system without requiring custom code for every new idea. It transforms standard indicator comparisons into a robust trading strategy with advanced features like sequential entry steps, dynamic target modes, and automated webhook alerts.
The core philosophy of this script is flexibility. Whether you are testing simple crossovers (e.g., MA Cross) or complex multi-stage setups (e.g., RSI overbought followed by a MACD flip), this tool allows you to configure logic via the settings panel and immediately see backtested results with professional-grade risk management.
Core Logic: Source vs. Target Mode
The fundamental building block of this strategy is the "Comparator" engine. Instead of hard-coding specific indicators, the script allows users to define logic slots (L1-L5 for Longs, S1-S5 for Shorts).
Each slot operates on a flexible comparison logic:
Source: The primary indicator you are testing (e.g., Close Price, RSI, Volume).
Operator: The condition to check (Equal/Cross, Greater Than, Less Than).
Target Mode:
Value Mode: Compares the Source against a fixed number (e.g., RSI > 70).
Source Mode: Compares the Source against another dynamic indicator (e.g., Close > SMA 200).
This "Target Mode" switch allows the strategy to adapt to almost any technical analysis concept, from oscillator levels to moving average trends.
Advanced Entry System: Sequential Steps (1-5)
Unlike standard backtesters that usually require all conditions to happen simultaneously (AND logic), this strategy implements a State Machine for sequential execution. Each of the 5 entry slots (L1-L5 / S1-S5) is assigned a "Step" number.
The logic flows as follows:
Stage 1: The strategy waits for all conditions assigned to "Step 1" to be true.
Latch & Wait: Once Step 1 is met, the strategy "remembers" this and advances to Stage 2. It waits for a subsequent bar to satisfy Step 2 conditions.
Trigger: The actual trade entry is only executed once the highest assigned step is completed.
Example Use Case:
Step 1: Price closes below the Lower Bollinger Band (Dip).
Step 2: RSI crosses back above 30 (Confirmation).
Execution: Buy Signal triggers on the Step 2 confirmation candle.
This creates a realistic "Setup -> Trigger" workflow common in professional trading, preventing premature entries.
Exit Logic & Risk Management
The strategy employs a dual-layer exit system to maximize profit retention and protect capital.
1. Signal-Based Exits (OR Logic) There are 5 configurable exit slots (LX1-LX5 / SX1-SX5). Unlike entries, these operate on "OR" logic. If any enabled exit condition is met (e.g., RSI becomes overbought OR Price crosses below EMA), the position is closed immediately.
2. Hard Stop & Take Profit
Fixed %: Users can set a hard percentage-based Stop Loss and Take Profit.
Trailing Stop: A toggleable "Trailing?" feature allows the Stop Loss to dynamically trail the price.
Longs: The SL moves up as the price makes new highs.
Shorts: The SL moves down as the price makes new lows.
Automated Alerts & Webhooks
This script is built with automation in mind. It includes a dedicated makeJson() function that constructs a JSON payload compatible with most trading bots (e.g., 3Commas, TradersPost, Tealstreet).
Alert Modes Supported: | Alert Type | Description | | :--- | :--- | | Order Fills Only | Triggers standard TradingView strategy alerts when the broker emulator fills an order. | | Alert() Function | Triggers specific JSON payloads defined in the code ("action": "buy", "ticker": "MNQ", etc.). |
The script automatically calculates the alert quantity based on your equity percentage settings, ensuring the payload matches your backtest sizing.
Dashboard & Visuals
To aid in rapid analysis, the strategy includes visual tools directly on the chart:
Performance Table: A dashboard (top-right) displays real-time stats including Net Profit, Win Rate, Profit Factor, and Max Drawdown.
Trade Markers: Custom labels (goLong, exLong) show exactly where trades opened and closed, including the trade number and profit percentage.
SL/TP Visualization: Dynamic step-lines (Orange for SL, Lime for TP) show exactly where your protection levels are sitting, helping you visually verify if your stops are too tight or too loose.
AlgoIndex NQ/MNQ FuturesAlgoIndex Futures v3.15 - NQ/MNQ (10-Minute RTH)
This strategy is specifically tailored for trading CME Nasdaq futures - NQ and MNQ, including continuous symbols such as NQ1!/MNQ1!. It is optimized for a 10-minute chart during U.S. Regular Trading Hours (RTH), utilizing session settings defined in the Inputs. This strategy is not intended for other futures contracts or markets.
Core Concept
The strategy employs an ATR-based trend-band model similar to Supertrend for identifying directional mechanism changes in NQ/MNQ. Trade signals are evaluated at the bar close, incorporating session and time-based safety techniques to mitigate lower-quality trading opportunities near session boundaries.
Recommended Use (Optimized Defaults)
The default input parameters are fine-tuned for NQ/MNQ on the 10-minute chart. Users are encouraged to utilize these defaults initially and to make incremental adjustments to one variable at a time to understand the impact on the strategy's performance, trading frequency, and risk profile.
Configurable Inputs
- Take Profit / Stop Loss Settings:
- Enable Stop Loss and define Stop Loss (Points)
- Enable Take Profit and define Take Profit (Points)
- Enable Trailing Stop and set both Trailing Stop (Points) and Trailing Offset (Points)
- Time Avoidance Filter:
- Enable Time Avoidance
- Avoid First X Minutes
- Avoid Last X Minutes
- Display Avoidance Zones (visual overlay)
- Session Filter and End-of-Day Management:
- Enable Session Filter
- Define Trading Session (default: 09:30-16:00)
- Select Session Timezone
- Option to Close Positions at Session End
- Specify EOD Close Minutes Before (default: 20)
- Safety Controls:
- Option to Close Before Holidays (when enabled, this feature allows the strategy to flatten positions prior to holiday or early close conditions)
- Automation Settings (Optional):
- Ticker Override (optional)
- Define Contracts (position size)
- Strategy Configuration:
- Trade Direction: Both / Long Only / Short Only
- Visual Configuration:
- Option to Show Buy/Sell Signals
- Highlight Trend Zones
- Display Info Table
- Customizable Bull/Bear Colors
Alerts and Automation (Optional)
This strategy can generate order-fill alert payloads for hooking into webhook-based automation solutions. Keep in mind to validate your alert type and your bridge/broker configuration during Replay and paper trading. Note that reversals may trigger two sequential actions (e.g., exit followed by new entry).
Backtest Notes (Optional)
For more precise historical fill data, consider enabling TradingView’s Bar Magnifier in Strategy Properties. Always apply consistent assumptions for commission and slippage when comparing backtest results.
Disclaimer
This script is intended for informational and educational purposes only and does not constitute investment advice. Trading futures carries significant risk and may result in losses that exceed the initial deposit. Backtested results are hypothetical and do not guarantee future performance.
ORB Strategy - EnhancedThis algo is for setting and forgetting ORB. Does require an understanding of how to tweak trading factors
NIFTY T1 & T2 Strategy (65% SL, 15:15 Exit)Time based trading strategy without any indicator and reflecting operators move
Buy-Dip / Sell-Pullback Buy the Dip / Sell the Pullback – Trend-Following Strategy (EOD → Next Day Execution)
Overview
This is a trend-following futures strategy designed to participate in pullbacks within established trends, not to predict reversals.
It works on End-of-Day (EOD) confirmation and executes trades on the next trading session, making it suitable for positional and swing traders.
The strategy combines momentum, trend direction, volatility, and price location to filter for high-quality setups while avoiding overtrading.
🔍 Core Philosophy
Trade only in the direction of the prevailing trend
Buy dips in uptrends
Sell pullbacks in downtrends
Avoid chasing price after extended gaps
Use volatility-adjusted risk management (ATR-based SL & targets)
📊 Indicators Used
RSI (20)
Measures underlying momentum strength
Stochastic Oscillator (55, 34, 21)
Confirms pullback exhaustion within a trend
Supertrend (10, 2)
Defines primary trend direction
Bollinger Bands (20, 2)
Provides structural trend bias
ATR (5)
Used for:
Entry gap filter
Stop-loss
Profit target
Supertrend buffer
✅ Long (Buy) Setup – Evaluated at EOD
A long setup is generated when all of the following conditions are satisfied at the close of the trading day:
RSI(20) is above the bullish threshold (default: 48)
Stochastic %K is above %D (confirming pullback momentum)
Supertrend direction is bullish
Price is near or above Supertrend, allowing a volatility-adjusted buffer (ATR-based)
Price is above the Bollinger Band middle line
This combination ensures:
The market is trending up
Momentum supports continuation
The pullback is controlled, not a breakdown
❌ Short (Sell) Setup – Evaluated at EOD
A short setup is generated when:
RSI(20) is below the bearish threshold (default: 52)
Stochastic %K is below %D
Supertrend direction is bearish
Price is near or below Supertrend, with an ATR buffer
Price is below the Bollinger Band middle line
This filters for pullbacks within sustained downtrends.
⏰ Trade Execution Logic (Next Day Rule)
Once a setup is confirmed at EOD, a trade is attempted on the next trading session
To avoid chasing gaps:
Long trades are allowed only if price does not move more than a defined multiple of the previous day’s True Range
Short trades follow the same logic in reverse
This is implemented via limit orders, ensuring realistic backtesting and execution behavior
🛑 Risk Management
All exits are volatility-adjusted using ATR:
Stop-Loss:
1.1 × ATR(5) from entry price
Target:
2.2 × ATR(5) from entry price
This results in a risk–reward ratio of approximately 1:2
ATR is frozen at entry to avoid forward-looking bias.
🧠 Why This Strategy Works
Avoids low-quality trades during consolidation
Participates only when trend + momentum align
Prevents emotional gap-chasing
Adapts automatically to changing volatility
Suitable for index futures and liquid stocks
📌 Recommended Usage
Timeframe: Daily
Instruments:
Index Futures (e.g. NIFTY, BANKNIFTY)
Highly liquid stocks
Market Type: Trending markets
Not ideal for: Sideways or low-volatility environments
⚙️ Customization Tips
You can control trade frequency and aggressiveness by adjusting:
RSI thresholds
Supertrend buffer (ATR multiple)
Gap filter multiplier
Stochastic edge parameter
Looser settings → more trades
Stricter settings → higher selectivity
⚠️ Disclaimer
This strategy is for educational and research purposes only.
Backtest results do not guarantee future performance.
Always validate with paper trading before deploying real capital.
Nifty-50 Futures Trading Ideas/ Strategyb]Nifty-50 Futures Trading Ideas is a trend-following strategy designed for study and backtesting .
The strategy identifies directional bias using a structured price-based approach and applies ADX + DI and RSI filters to validate trend strength.
It includes inbuilt risk-management logic such as Stop-Loss, Take-Profit, ATR-based exits, separate maximum loss per trade (₹) for long and short positions, and optional date/session filters.
This script is provided for educational and analytical purposes only and is not a trading signal or investment recommendation.
Nifty-50 Futures trading ideas with RSI and ADX FilterNifty Futures @15M is a trend-following strategy derived from the Savitzky Flow Bands methodology by ChartPrime , adapted into a complete strategy with structured trade execution and risk controls.
The strategy identifies directional bias using a Savitzky-smoothed price structure and executes trades based on trend changes or continuation, depending on the selected entry mode.
Configurable Entry Modes are : 1. Change Only (trend reversal based) 2.Continuation Allowed (trend follow-through).
Optional ADX + DI and RSI filters help validate trend strength and avoid unfavorable market conditions.
Risk management features include configurable Stop-Loss and Take-Profit, ATR-based exits, trailing stop, and separate maximum loss per trade (₹) for long and short positions.
Date and session filters are provided for controlled backtesting.
This script is published for educational and analytical purposes only and is intended for research and backtesting, not as a trading signal or investment recommendation.
Credits:
Original indicator concept: Savitzky Flow Bands by ChartPrime
Strategy conversion & enhancements: @Alpha_Trinity
FxAST LiteWave Universal Profiles (intraday / swing)FxAST Lite Wave — Universal (Profiles)
This strategy is intended for educational and analytical use.
Derivative works must retain attribution and license terms.
_____________________________________________________________________________
Overview
FxAST Lite Wave is a rule-based trend participation strategy designed to adapt across multiple markets and timeframes using a simple profile switch.
Rather than attempting to predict reversals or tops and bottoms, the strategy focuses on identifying continuation opportunities once directional alignment and market participation are already present.
Its purpose is to provide a structured, repeatable framework for studying trend behavior and managing trades within established directional moves.
_______________________________________________________________________________
How It Works
FxAST Lite Wave evaluates market conditions using a layered confirmation process that includes:
• Directional bias
• Trend alignment
• Momentum participation
• Volatility suitability
• Market regime awareness
Trades are only considered when these conditions align, helping to reduce low-quality signals and overtrading during unfavorable environments.
Two built-in profiles are provided:
Intraday — designed for shorter-term participation
Swing — designed for higher-timeframe continuation
_______________________________________________________________________________
Core Concepts (Plain English)
Direction
Identifies which side of the market is currently in control.
This answers:
“Is pressure aligned for continuation?”
_______________________________________________________________________________
Momentum
Confirms that price is moving with intent rather than drifting or stalling.
This answers:
“Is participation present?”
_______________________________________________________________________________
Regime
Filters out unfavorable conditions such as congestion, compression, or low-energy chop.
This answers:
“Is this a tradable environment?”
_______________________________________________________________________________
Continuation Focus
Entries are designed to occur after alignmen t, not at arbitrary turning points.
The strategy favors:
• Pullbacks within trend
• Momentum resumption
• Sustained directional movement
_______________________________________________________________________________
Risk & Trade Management
FxAST Lite Wave includes structured trade management logic:
• Volatility-aware initial risk
• Optional partial profit taking
• Optional breakeven and trailing behavior
• Optional time-based exits
• Optional equity-based position sizing
A built-in on-chart Backtesting HUB displays live performance statistics for transparency and review.
_______________________________________________________________________________
Philosophy
FxAST Lite Wave is intentionally not a signal-spamming strategy .
It is designed to:
• Reduce decision fatigue
• Encourage rule-based consistency
• Support disciplined execution
If you need:
precise entries → use price action
precise exits → use structure
system context → use Lite Wave
_______________________________________________________________________________
Disclaimer
This strategy is provided for educational and analytical purposes only and does not constitute financial advice. Trading involves risk, and users are responsible for their own decisions. responsible for their own decisions.
Simple ICT Sweep + FVG (LuxAlgo Swings FIXED)something i created if anyone can improve it or change for better visual






















