OPEN-SOURCE SCRIPT
Updated Trade Secrets by Pratik - Dual Intraday Strategy

The "Trade Secrets by Pratik" strategy is a high-momentum, dual-direction trading system designed to capture explosive moves after brief market pullbacks. It relies on a rigorous combination of trend-following moving averages and a strength filter.
1. Core Concept
The strategy identifies "Clean Pullbacks"—brief pauses in a strong trend where the price stays strictly away from the short-term average (10 EMA). This indicates extreme momentum, as buyers (in an uptrend) or sellers (in a downtrend) are too aggressive to allow a deeper correction.
2. Technical Filters
Trend Direction: Price must be above both 10 and 35 EMAs for Buys, and below both for Sells.
Strength Filter (RSI): Requires an RSI > 60 for Longs (to ensure high demand) and RSI < 40 for Shorts (to ensure heavy selling pressure).
3. Trade Execution
The Setup: Look for a "Floating Candle"—a Red candle for Buys or a Green candle for Sells that does not touch the 10 EMA.
The Trigger: A trade is entered only if the very next candle breaks the "Setup Candle's" high (Buy) or low (Sell).
Risk-Reward: Aim for a fixed 1:3 Ratio, ensuring that one winner covers three losing trades.
4. Safety Logic
The system includes a "No-Same-Candle-Exit" rule, preventing the script from triggering a Stop Loss on the same bar as the Entry. This filters out immediate price "whipsaws" and ensures the trade has room to develop.
1. Core Concept
The strategy identifies "Clean Pullbacks"—brief pauses in a strong trend where the price stays strictly away from the short-term average (10 EMA). This indicates extreme momentum, as buyers (in an uptrend) or sellers (in a downtrend) are too aggressive to allow a deeper correction.
2. Technical Filters
Trend Direction: Price must be above both 10 and 35 EMAs for Buys, and below both for Sells.
Strength Filter (RSI): Requires an RSI > 60 for Longs (to ensure high demand) and RSI < 40 for Shorts (to ensure heavy selling pressure).
3. Trade Execution
The Setup: Look for a "Floating Candle"—a Red candle for Buys or a Green candle for Sells that does not touch the 10 EMA.
The Trigger: A trade is entered only if the very next candle breaks the "Setup Candle's" high (Buy) or low (Sell).
Risk-Reward: Aim for a fixed 1:3 Ratio, ensuring that one winner covers three losing trades.
4. Safety Logic
The system includes a "No-Same-Candle-Exit" rule, preventing the script from triggering a Stop Loss on the same bar as the Entry. This filters out immediate price "whipsaws" and ensures the trade has room to develop.
Release Notes
Few new Rules and changes madeOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Prattik Lodha
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Prattik Lodha
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.