Candlestick analysis
Reversal WaveThis is the type of quantitative system that can get you hated on investment forums, now that the Random Walk Theory is back in fashion. The strategy has simple price action rules, zero over-optimization, and is validated by a historical record of nearly a century on both Gold and the S&P 500 index.
Recommended Markets
SPX (Weekly, Monthly)
SPY (Monthly)
Tesla (Weekly)
XAUUSD (Weekly, Monthly)
NVDA (Weekly, Monthly)
Meta (Weekly, Monthly)
GOOG (Weekly, Monthly)
MSFT (Weekly, Monthly)
AAPL (Weekly, Monthly)
System Rules and Parameters
Total capital: $10,000
We will use 10% of the total capital per trade
Commissions will be 0.1% per trade
Condition 1: Previous Bearish Candle (isPrevBearish) (the closing price was lower than the opening price).
Condition 2: Midpoint of the Body The script calculates the exact midpoint of the body of that previous bearish candle.
• Formula: (Previous Open + Previous Close) / 2.
Condition 3: 50% Recovery (longCondition) The current candle must be bullish (green) and, most importantly, its closing price must be above the midpoint calculated in the previous step.
Once these parameters are met, the system executes a long entry and calculates the exit parameters:
Stop Loss (SL): Placed at the low of the candle that generated the entry signal.
Take Profit (TP): Calculated by projecting the risk distance upward.
• Calculation: Entry Price + (Risk * 1).
Risk:Reward Ratio of 1:1.
About the Profit Factor
In my experience, TradingView calculates profits and losses based on the percentage of movement, which can cause returns to not match expectations. This doesn’t significantly affect trending systems, but it can impact systems with a high win rate and a well-defined risk-reward ratio. It only takes one large entry candle that triggers the SL to translate into a major drop in performance.
For example, you might see a system with a 60% win rate and a 1:1 risk-reward ratio generating losses, even though commissions are under control relative to the number of trades.
My recommendation is to manually calculate the performance of systems with a well-defined risk-reward ratio, assuming you will trade using a fixed amount per trade and limit losses to a fixed percentage.
Remember that, even if candles are larger or smaller in size, we can maintain a fixed loss percentage by using leverage (in cases of low volatility) or reducing the capital at risk (when volatility is high).
Implementing leverage or capital reduction based on volatility is something I haven’t been able to incorporate into the code, but it would undoubtedly improve the system’s performance dramatically, as it would fix a consistent loss percentage per trade, preventing losses from fluctuating with volatility swings.
For example, we can maintain a fixed loss percentage when volatility is low by using the following formula:
Leverage = % of SL you’re willing to risk / % volatility from entry point to exit or SL
And if volatility is high and exceeds the fixed percentage we want to expose per trade (if SL is hit), we could reduce the position size.
For example, imagine we only want to risk 15% per SL on Tesla, where volatility is high and would cause a 23.57% loss. In this case, we subtract 23.57% from 15% (the loss percentage we’re willing to accept per trade), then subtract the result from our usual position size.
23.57% - 15% = 8.57%
Suppose I use $200 per trade.
To calculate 8.57% of $200, simply multiply 200 by 8.57/100. This simple calculation shows that 8.57% equals about $17.14 of the $200. Then subtract that value from $200:
$200 - $17.14 = $182.86
In summary, if we reduced the position size to $182.86 (from the usual $200, where we’re willing to lose 15%), no matter whether Tesla moves up or down 23.57%, we would still only gain or lose 15% of the $200, thus respecting our risk management.
Final Notes
The code is extremely simple, and every step of its development is detailed within it.
If you liked this strategy, which complements very well with others I’ve already published, stay tuned. Best regards.
specific breakout FiFTOStrategy Description: 10:14 Breakout Only
Overview This is a time-based intraday trading strategy designed to capture momentum bursts that occur specifically after the 10:14 AM candle closes. It operates on the logic that if price breaks the high of this specific candle within a short window, a trend continuation is likely.
Core Logic & Rules
The Setup Candle (10:14 AM)
The strategy waits specifically for the minute candle at 10:14 to complete.
Once this candle closes, the strategy records its High price.
Defining the Entry Level
It calculates a trigger price by taking the 10:14 High and adding a user-defined Buffer (e.g., +1 point).
Formula: Entry Level = 10:14 High + Buffer
The "Active Window" (Expiry)
The trade setup does not remain open all day. It has a strict time limit.
By default, the setup is valid from 10:15 to 10:20.
If the price does not break the Entry Level by the expiry time (default 10:20), the setup is cancelled and no trade is taken for the day.
Entry Trigger
If a candle closes above the Entry Level while the window is open, a Long (Buy) position is opened immediately.
Exits (Risk Management)
Stop Loss: A fixed number of points below the entry price.
Target: A fixed number of points above the entry price.
Visual & Automation Features
Visual Boxes: Upon entry, the strategy draws a "Long Position" style visual on the chart. A green box highlights the profit zone, and a red box highlights the loss zone. These boxes extend automatically until the trade closes.
JSON Alerts: The strategy is pre-configured to send data-rich alerts for automation (e.g., Telegram bots).
Entry Alert: Includes Symbol, Entry Price, SL, and TP.
Exit Alerts: Specific messages for "Target Hit" or "SL Hit".
Summary of User Inputs
Entry Buffer: Extra points added to the high to filter false breaks.
Fixed Stop Loss: Risk per trade in points.
Fixed Target: Reward per trade in points.
Expiry Minute: The minute (10:xx) at which the setup becomes invalid if not triggered.
AlasmarPrivet strategy in the beginning .
hope it will help to give you a good advice when to in and out from SPX500.
i test it in options only and you can use it and try if it works with stocks or no.
pls feel free to contact me if needed.
best regards,
Alasmar
Momentum FlowThis is a rule-based, fully automated trading strategy** developed **exclusively for BANKNIFTY** and optimized strictly for the **2-Hour (2H) timeframe**. The system is designed to identify **high-quality directional opportunities** while filtering out low-probability market noise.
The strategy is built for traders who prefer:
* Clean positional trading
* Limited, high-quality signals
* Fully mechanical execution
* No discretionary decision-making
This system is **locked by design** and will **only operate on BANKNIFTY – 2H timeframe** to preserve performance integrity. Usage on any other symbol or timeframe is intentionally restricted.
---
### ✅ SUITABLE FOR:
* Positional traders
* Swing traders
* Working professionals
* Traders seeking structured, disciplined systems
---
### ❌ NOT SUITABLE FOR:
* Scalping
* Low-timeframe trading
* High-frequency setups
* Traders seeking daily signals
---
### ⚠️ IMPORTANT DISCLAIMER:
This strategy is provided strictly for **educational and research purposes only**. Trading in financial markets involves significant risk, and losses are possible. Past performance does not guarantee future results. The creator is not responsible for any financial losses incurred by the use of this strategy. Always trade with proper risk management.
---
EdgeX by YCGH Capital╔════════════════════════════════════════════════════════════╗
⚡ SYSTEMATIC BTCUSDT SWING TRADER ⚡
╚════════════════════════════════════════════════════════════╝
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 STRATEGY OVERVIEW
╔════════════════════════════════════════════════════════════╗
║ 🔐 PREMIUM STRATEGY - EXCLUSIVE ACCESS 🔐 ║
╚════════════════════════════════════════════════════════════╝
This is a premium strategy with exclusive access.
To request access, reach out at:
📬 brijamohanjha@gmail.com
• Vetted performance data available upon request
• Setup assistance and strategy tuning included
• Ongoing support for live trading optimization
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A dynamic, rule-based trading framework designed for BTCUSDT on
the 4-hour chart, focused on capturing clear directional edges
with disciplined risk management and fully automated execution.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 KEY CHARACTERISTICS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✓ Long & Short | Bidirectional participation in both trending
directions without discretionary overrides
✓ Structured Rules | Entries triggered only on high-conviction
setups; naturally quiet during choppy consolidations
✓ Adaptive Sizing | Position size scales dynamically with account
equity using percentage-based capital allocation
✓ Cost-Aware | Transaction fees and slippage explicitly modeled
for realistic live trading performance
✓ Automated Execution | Bar-level real-time processing ensures
consistent, emotion-free trade management
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💰 RISK & CAPITAL MANAGEMENT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Fixed-fraction position sizing for compounding growth
• Predefined stop-loss and take-profit constraints
• Account equity-based position scaling
• Realistic fee structure incorporated into P&L
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 IDEAL FOR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
→ Medium-term swing participation
→ Backtesting and strategy robustness analysis
→ Quantitative trading systems development
→ Systematic, rules-based execution
╔════════════════════════════════════════════════════════════╗
Built for disciplined, consistent execution
╚════════════════════════════════════════════════════════════╝
Indian Scalper 2025 – PSAR + SMA50 + RSI≤50 + High Volume (75%)Best 1-min / 2-min scalping strategy for NIFTY, BANKNIFTY, FINNIFTY & liquid stocks in 2025
✓ PSAR flip + SMA-50 trend filter
✓ RSI ≤50 (avoids chasing)
✓ Only high-volume candles (bright colour)
✓ Loud mobile alerts with price & SL
✓ 1:2+ RR with PSAR trailing
Works like magic 9:15–11:30 AM and 2–3:20 PM
Made with love for the Indian trading community ♥
Sunny Quantum Momentum Framework (SQMF)Sunny Quantum Momentum Framework (SQMF) – Strategy Description
The Sunny Quantum Momentum Framework is a dynamic trend-adaptive trading model designed to identify early momentum shifts and capitalize on directional price movements. The strategy blends multiple market-sensitive components to filter noise, detect emerging trends, and optimize entries with precision.
SQMF works by continuously evaluating price behavior, volatility fluctuations, and short-term trend acceleration to generate actionable signals. Instead of relying on a single indicator, the framework integrates layered momentum structures and adaptive smoothing techniques to maintain signal quality across different market conditions.
The system focuses on:
Detecting momentum transitions with minimal lag
Reducing false signals through multi-stage validation
Aligning entries with broader trend conditions
Managing trades dynamically using built-in risk controls
SQMF is designed for traders seeking a balanced approach—fast enough to catch early movements, but stable enough to avoid common market noise. The strategy is suitable for intraday, swing, and algorithmic trading environments.
RevertX by YCGH CapitalRevertX by YCGH Capital - Professional Bitcoin Trading Strategy
RevertX is a sophisticated mean-reversion trading system designed specifically for Bitcoin and cryptocurrency markets. Built on advanced statistical analysis, this strategy identifies extreme price deviations and capitalizes on market equilibrium forces.
Key Features:
🎯 Intelligent Entry System
Precision-based signal generation using statistical price analysis
Automated entry/exit execution with no manual intervention required
Works on multiple timeframes for flexibility
📊 Comprehensive Performance Tracking
Monthly Returns Table: Visual heat-map style table displaying performance month-by-month and year-by-year
Color-coded results (green for profitable months, red for losses)
Annual performance summaries for quick assessment
Full historical performance visualization
🛡️ Advanced Risk Management
Customizable Stop Loss (default 2%)
Take Profit targets (default 4%)
Trailing Stop Loss with activation threshold - locks in profits as the market moves in your favor
Adjustable trailing offset to protect gains while allowing room for continuation
⚙️ Professional-Grade Execution
Non-repainting signals - what you see in backtest is what you get in live trading
Orders processed on candle close for reliable execution
100% equity deployment for maximum capital efficiency
Built-in slippage and commission modeling (can be adjusted)
📈 Performance Visualization
Monthly returns displayed in an easy-to-read table format
Track your performance across years at a glance
Quickly identify strong and weak periods
Professional presentation suitable for sharing with investors
Perfect For:
Bitcoin traders seeking systematic, emotion-free trading
Those who prefer mean-reversion over trend-following
Traders wanting comprehensive performance analytics
Anyone seeking a proven statistical edge in crypto markets
RevertX removes emotion from trading decisions and provides complete transparency through detailed performance metrics. The strategy is fully backtested and ready for live deployment.
Ready to Trade Like a Pro?
RevertX is a premium strategy with limited availability.
Email brijamohanjha@gmail.com to request access and pricing.
Options Scalper v2 - SPY/QQQHere's a comprehensive description of the Options Scalper v2 strategy:
---
## Options Scalper v2 - SPY/QQQ
### Overview
A multi-indicator confluence-based scalping strategy designed for trading SPY and QQQ options on short timeframes (1-5 minute charts). The strategy uses a scoring system to generate high-probability CALL and PUT signals by requiring alignment across multiple technical indicators before triggering entries.
---
### Core Logic
The strategy operates on a **scoring system (0-9 points)** where both bullish (CALL) and bearish (PUT) conditions are evaluated independently. A signal only fires when:
1. A recent EMA crossover occurred (within the last 3 bars)
2. The direction's score meets the minimum threshold (default: 4 points)
3. The signal's score is higher than the opposite direction
4. Enough bars have passed since the last signal (cooldown period)
5. Price action occurs during valid trading sessions
---
### Indicators Used
| Indicator | Purpose | CALL Condition | PUT Condition |
|-----------|---------|----------------|---------------|
| **9/21 EMA Cross** | Primary trigger | Fast EMA crosses above slow | Fast EMA crosses below slow |
| **200 EMA** | Trend filter | Price above 200 EMA | Price below 200 EMA |
| **RSI (14)** | Momentum filter | RSI between 45-65 | RSI between 35-55 |
| **VWAP** | Institutional level | Price above VWAP | Price below VWAP |
| **MACD (12,26,9)** | Momentum confirmation | MACD line > Signal line | MACD line < Signal line |
| **Stochastic (14,3)** | Overbought/Oversold | Oversold or K > D | Overbought or K < D |
| **Volume** | Participation confirmation | Spike on green candle | Spike on red candle |
| **Price Structure** | Breakout detection | Higher high formed | Lower low formed |
---
### Scoring Breakdown
**CALL Score (Max 9 points):**
- Recent EMA cross up: +2 pts
- EMA alignment (fast > slow): +1 pt
- RSI in bullish range: +1 pt
- Above VWAP: +1 pt
- MACD bullish: +1 pt
- Volume spike on green candle: +1 pt
- Stochastic setup: +1 pt
- Above 200 EMA: +1 pt
- Breaking higher high: +1 pt
**PUT Score (Max 9 points):**
- Recent EMA cross down: +2 pts
- EMA alignment (fast < slow): +1 pt
- RSI in bearish range: +1 pt
- Below VWAP: +1 pt
- MACD bearish: +1 pt
- Volume spike on red candle: +1 pt
- Stochastic setup: +1 pt
- Below 200 EMA: +1 pt
- Breaking lower low: +1 pt
---
### Risk Management
The strategy uses **ATR-based dynamic stops and targets**:
| Parameter | Default | Description |
|-----------|---------|-------------|
| Stop Loss | 1.5x ATR | Distance below entry for longs, above for shorts |
| Take Profit | 2.0x ATR | Creates a 1:1.33 risk-reward ratio |
Positions are also closed on:
- Opposite direction signal (flip trade)
- Take profit or stop loss hit
---
### Session Filtering
Trades are restricted to high-liquidity periods by default:
- **Morning Session:** 9:30 AM - 11:00 AM EST
- **Afternoon Session:** 2:30 PM - 3:55 PM EST
This avoids choppy midday price action and captures the highest volume periods.
---
### Input Parameters
| Parameter | Default | Description |
|-----------|---------|-------------|
| Fast EMA | 9 | Fast moving average period |
| Slow EMA | 21 | Slow moving average period |
| Trend EMA | 200 | Long-term trend filter |
| RSI Length | 14 | RSI calculation period |
| RSI Overbought | 65 | Upper RSI threshold |
| RSI Oversold | 35 | Lower RSI threshold |
| Volume Multiplier | 1.2x | Volume spike detection threshold |
| Min Signal Strength | 4 | Minimum score required to trigger |
| Crossover Lookback | 3 | Bars to consider crossover "recent" |
| Min Bars Between Signals | 5 | Cooldown period between signals |
---
### Visual Elements
**Chart Plots:**
- Green line: 9 EMA (fast)
- Red line: 21 EMA (slow)
- Gray line: 200 EMA (trend)
- Purple dots: VWAP
**Signal Markers:**
- Green triangle up + "CALL" label: Buy call signal
- Red triangle down + "PUT" label: Buy put signal
- Small circles: EMA crossover reference points
**Info Table (Top Right):**
- Real-time CALL and PUT scores
- RSI, MACD, Stochastic values
- VWAP and 200 EMA position
- Recent crossover status
- Current signal state
---
### Alerts
| Alert Name | Trigger |
|------------|---------|
| CALL Entry | Standard call signal fires |
| PUT Entry | Standard put signal fires |
| Strong CALL | Call signal with score ≥ 6 |
| Strong PUT | Put signal with score ≥ 6 |
---
### Recommended Usage
| Setting | 0DTE Scalping | Intraday Swings |
|---------|---------------|-----------------|
| Timeframe | 1-2 min | 5 min |
| Min Signal Strength | 5-6 | 4 |
| ATR Stop Mult | 1.0 | 1.5 |
| ATR TP Mult | 1.5 | 2.0 |
| Option Delta | 0.40-0.50 | 0.30-0.40 |
---
### Key Improvements Over v1
1. **Requires actual crossover** - Eliminates false signals from simple trend continuation
2. **Balanced scoring** - Both directions evaluated equally, highest score wins
3. **Signal cooldown** - Prevents overtrading with minimum bar spacing
4. **Multi-indicator confluence** - 8 factors must align for signal generation
5. **Volume-candle alignment** - Volume spikes only count when matching candle direction
---
### Disclaimer
This strategy is for educational purposes. Backtest thoroughly before live trading. Options trading involves significant risk of loss. Past performance does not guarantee future results.
W/M Pattern Strategy + MACD/RSI Confirmation V3.0 by ThaungkmitlW/M Pattern Strategy + MACD/RSI Confirmation V3.0
Description Text:
This script is a comprehensive Strategy (backtestable) that combines classical Chart Patterns with momentum indicators to identify high-probability reversal setups. It focuses on detecting "W" Patterns (Double Bottoms/Higher Lows) and "M" Patterns (Double Tops/Lower Highs), filtered by MACD and RSI to reduce false signals.
How It Works
The strategy relies on a "Confluence" of three factors before triggering an entry:
1. Price Action Patterns (W & M)
W Pattern (Bullish): The script detects Pivot Lows. If a new Pivot Low is higher than the previous one (forming a Higher Low structure), it marks a potential "W" pattern.
M Pattern (Bearish): The script detects Pivot Highs. If a new Pivot High is lower than the previous one (forming a Lower High structure), it marks a potential "M" pattern.
2. MACD Confirmation (Zero Line)
Price action alone is not enough. The script waits for the MACD Line to cross the Zero Line:
Buy: MACD crosses UP over 0 (indicating bullish momentum shift).
Sell: MACD crosses DOWN under 0 (indicating bearish momentum shift).
3. RSI Threshold
To ensure the trend has strength, the RSI (Relative Strength Index) acts as a final filter:
Buy Condition: RSI must be above 50.
Sell Condition: RSI must be below 50.
Visual Features
Pivot Labels: Automatically marks Pivot High (Red Triangle) and Pivot Low (Green Triangle).
Pattern Lines: Draws lines connecting the swing points when a potential W or M pattern is detected.
Signals: Displays "BUY" or "SELL" labels with text explaining the setup (e.g., "W+MACD+RSI").
Background: Highlights the chart background (Green/Red) when a valid trade signal occurs.
EMAs: Plots EMA 10 (Blue) and EMA 15 (Red) to help you visualize the immediate trend direction.
Settings
Pivot Left/Right Bars: Adjust the sensitivity of the Swing detection.
MACD Settings: Fast, Slow, and Signal lengths (Standard 12, 26, 9).
RSI Settings: Adjust Length and the Threshold level (Default is 50).
Backtesting
This is a strategy script, meaning you can use the Strategy Tester panel below the chart to see how this logic performs on historical data for your chosen timeframe and asset.
Disclaimer: This tool is for educational purposes. Past performance in backtesting does not guarantee future results.
YCGH Ultimate Stocks Breakout Sniper📈 YCGH Ultimate Stocks Breakout Sniper
Overview
A sophisticated momentum-based breakout strategy designed to capture high-probability directional moves during volatility expansion phases. This system identifies breakout opportunities when price decisively breaks through established ranges, combining multiple technical filters to enhance signal quality and minimize false breakouts.
🎯 Strategy Features
Core Methodology:
Proprietary breakout detection algorithm
Multi-layered confirmation filters for signal validation
Adaptive trailing stops for profit protection
Systematic risk management with daily drawdown controls
Key Components:
✅ Volatility Expansion Filter - Only trades during periods of elevated market volatility to avoid choppy, range-bound conditions
✅ Optional Trend Alignment - Configurable trend filter (EMA/SMA/RMA/WMA) to align entries with broader market direction
✅ ROC Momentum Filter - Daily rate-of-change filter to capture strong momentum days (optional)
✅ Comprehensive Exit Strategy:
Fixed stop-loss (default 2%)
Take-profit targets (default 9%)
Dynamic trailing stops (2% activation, 0.5% offset)
✅ Flexible Direction Trading:
Auto-detect mode: Long+Short for perpetuals, Long-only for spot/equities
Manual override options available
Suitable for both crypto and stock markets
📊 Market Applicability
Optimized for: Cryptocurrency perpetual contracts and equity markets (1H-4H timeframes)
Also effective on: Futures and high-liquidity spot markets
The strategy adapts to different market regimes through configurable volatility and trend filters, making it versatile across various trading instruments and timeframes.
⚙️ Risk Management
Position Sizing: Percentage-based allocation with leverage support
Intraday Loss Limit: Maximum 10% drawdown protection (configurable)
Realistic Cost Modeling: 0.025% commission + 1 tick slippage
No Pyramiding: Single position management for controlled risk exposure
📈 Performance Visualization
Includes a comprehensive monthly returns table displaying:
Year-by-year performance breakdown
Monthly profit/loss percentages
Visual color-coding (green for profits, red for losses)
Clean, modern design with transparent styling
🔐 Access & Pricing
This is a PROTECTED, invite-only strategy.
The source code is not open-source and requires paid access for usage.
How to Get Access:
📧 Email: brijamohanjha@gmail.com
Include in your email:
Your TradingView username
Markets/assets you plan to trade
Preferred timeframe
What You'll Receive:
Full strategy access with invite-only permissions
Complete parameter documentation
Setup and optimization guidance
Implementation support
⚠️ Important Disclosures
Backtesting Parameters:
Commission: 0.025% per trade
Slippage: 1 tick
Results reflect realistic trading conditions
Risk Warning:
Past performance does not guarantee future results. This strategy involves substantial risk and may not be suitable for all investors. Users should thoroughly understand the risks and customize parameters based on their risk tolerance and market conditions.
📞 Contact for Access
Email: brijamohanjha@gmail.com
For questions about functionality, pricing, optimization, or market-specific settings, please reach out via email.
Note: This is a premium, paid strategy. Access is granted manually after consultation and payment confirmation.
YCGH Crypto ultimate Breakout StrategyAdvanced Momentum Breakout Strategy - Optimized for crypto markets, proven effective on equities
Core Features:
Multi-layered signal generation combining volatility expansion and momentum confirmation
Adaptive risk management with dynamic stops, profit targets, and trailing mechanisms
Systematic position sizing with configurable leverage (designed for perpetual/margin trading)
Volatility regime filters to avoid false breakouts during low-momentum periods
Optional trend alignment for directional bias confirmation
Comprehensive backtesting with realistic slippage and commission modeling
Daily drawdown limits for capital preservation
Performance:
Applicable across multiple timeframes (1H, 4H, Daily)
Works on both spot and derivatives markets
Long and short position capability
Interested in using this strategy? This is a paid service. For access to the complete script and implementation support, email: brijamohanjha@gmail.com
Nifty 10m Simple ORB TEST harish//@version=5
strategy("Nifty 10m Simple ORB TEST", overlay=true)
// 10m timeframe check
if timeframe.period != "10"
runtime.error("Use this on 10 minute timeframe")
// First 10m candle high/low (no PCR, no opposite logic – just test syntax)
newDay = ta.change(time("D")) != 0
var float dayHigh = na
var float dayLow = na
if newDay
dayHigh := na
dayLow := na
sessStart = 0915
sessEnd = 0925
hhmm = hour * 100 + minute
isFirst = na(dayHigh) and hhmm >= sessStart and hhmm < sessEnd
if isFirst
dayHigh := high
dayLow := low
// Plot first candle range
plot(dayHigh, "First High", color=color.green, style=plot.style_linebr)
plot(dayLow, "First Low", color=color.red, style=plot.style_linebr)
// Simple breakout entries just to test
longCond = not na(dayHigh) and close > dayHigh
shortCond = not na(dayLow) and close < dayLow
if longCond
strategy.entry("LONG", strategy.long)
if shortCond
strategy.entry("SHORT", strategy.short)
HARRISH DADE//@version=5
strategy("Nifty 15m ORB + 20 EMA + Volume - Signals Fixed", overlay=true,
initial_capital=100000, default_qty_type=strategy.percent_of_equity, default_qty_value=25,
process_orders_on_close=true)
// 15-minute timeframe check
if timeframe.period != "15"
runtime.error("Use this strategy on 15 minute timeframe only")
// ORB 9:15–9:30 High/Low
var float orbHigh = na
var float orbLow = na
newDay = ta.change(time("D")) != 0
if newDay
orbHigh := na
orbLow := na
sessStart = 0915
sessEnd = 0930
hhmm = hour * 100 + minute
inORB = hhmm >= sessStart and hhmm < sessEnd
if inORB
orbHigh := na(orbHigh) ? high : math.max(orbHigh, high)
orbLow := na(orbLow) ? low : math.min(orbLow, low)
// Plot ORB levels
plot(orbHigh, "ORB High", color=color.new(color.green, 0), linewidth=2)
plot(orbLow, "ORB Low", color=color.new(color.red, 0), linewidth=2)
// Trend filter - 20 EMA
emaLen = input.int(20, "EMA Length", minval=1)
ema20 = ta.ema(close, emaLen)
upTrend = close > ema20
dnTrend = close < ema20
plot(ema20, "EMA 20", color=color.orange, linewidth=2)
// Volume filter - Adaptive
volLen = input.int(20, "Volume MA Length", minval=1)
avgVol = ta.sma(volume, volLen)
volMult = input.float(1.5, "Volume Multiplier", step=0.1)
enoughVol = volume >= (avgVol * volMult)
// ORB complete check
orbLocked = not na(orbHigh) and not na(orbLow) and not inORB
// Entry conditions (for strategy)
longCond = orbLocked and ta.crossover(close, orbHigh) and upTrend and enoughVol
shortCond = orbLocked and ta.crossunder(close, orbLow) and dnTrend and enoughVol
// Risk Management
targetPts = input.float(40.0, "Target Points", step=1.0)
slPts = input.float(25.0, "Stoploss Points", step=1.0)
// STRATEGY ENTRIES
if longCond and strategy.position_size == 0
strategy.entry("LONG", strategy.long)
if shortCond and strategy.position_size == 0
strategy.entry("SHORT", strategy.short)
// STRATEGY EXITS
if strategy.position_size > 0
strategy.exit("LONG EXIT", from_entry="LONG",
limit=strategy.position_avg_price + targetPts,
stop=strategy.position_avg_price - slPts)
if strategy.position_size < 0
strategy.exit("SHORT EXIT", from_entry="SHORT",
limit=strategy.position_avg_price - targetPts,
stop=strategy.position_avg_price + slPts)
// **FIXED BUY/SELL SIGNALS** - No barstate.isconfirmed, direct conditions
plotshape(longCond, title="BUY", style=shape.triangleup, location=location.belowbar,
color=color.new(color.lime, 0), size=size.large, text="BUY", textcolor=color.white)
plotshape(shortCond, title="SELL", style=shape.triangledown, location=location.abovebar,
color=color.new(color.red, 0), size=size.large, text="SELL", textcolor=color.white)
// Debug table - shows if conditions met
if barstate.islast
var table debugTable = table.new(position.top_right, 2, 6, bgcolor=color.white, border_width=1)
table.cell(debugTable, 0, 0, "Condition", text_color=color.black, bgcolor=color.gray)
table.cell(debugTable, 1, 0, "Status", text_color=color.black, bgcolor=color.gray)
table.cell(debugTable, 0, 1, "ORB Locked", text_color=color.black)
table.cell(debugTable, 1, 1, str.tostring(orbLocked), text_color=orbLocked ? color.green : color.red)
table.cell(debugTable, 0, 2, "UpTrend", text_color=color.black)
table.cell(debugTable, 1, 2, str.tostring(upTrend), text_color=upTrend ? color.green : color.red)
table.cell(debugTable, 0, 3, "Enough Vol", text_color=color.black)
table.cell(debugTable, 1, 3, str.tostring(enoughVol), text_color=enoughVol ? color.green : color.red)
VWAP + EMA9 + RSI + Edo Control (Edu)VWAP + EMA9 + RSI + Edo Control (Edu)
A complete intraday scalping system that combines institutional levels, fast trend signaling and enhanced candle-color analysis for maximum clarity and confirmation.
This indicator includes:
1. VWAP (Volume Weighted Average Price)
The institutional reference line used to determine value zones, liquidity bias and directional pressure.
2. EMA9 (Fast Exponential Moving Average)
A micro-trend guide that reacts quickly to short-term movements and improves timing on pullback entries.
3. RSI (Relative Strength Index)
A clean momentum filter using the classic >50 (bullish) and <50 (bearish) bias.
Edo Control – Advanced Colored Candle System
This version integrates Edo Control, a custom candle-color engine that visualizes market strength shifts based on Williams %R, directional movement and ADX behavior.
Each candle color represents a different market condition, such as:
Trend acceleration
Trend weakening
Possible reversals
Momentum spikes
Bullish or bearish pressure
Transition zones
A built-in movable legend explains the meaning of each color directly on the chart, so traders can identify conditions instantly without guessing.
Why this indicator works
The combination of VWAP + EMA9 + RSI + colored candle strength creates a multi-layer confirmation system that cuts noise and highlights only meaningful setups.
Designed for 1m, 3m, 5m charts, but also effective on higher timeframes.
Suitable for: stocks, indices, futures, forex, crypto.
PSAR with EMA FilterThis indicator combines the Parabolic SAR (PSAR) with an EMA trend filter to generate more accurate trend-following signals.
PSAR helps identify potential trend reversals and trailing stop levels, while the EMA ensures that trades are aligned with the overall market direction.
MACD with EMA FilterThis indicator combines the MACD (Moving Average Convergence Divergence) with an EMA-based trend filter to improve the quality of entry signals.
MACD identifies changes in momentum and potential trend reversals, while the EMA ensures that signals are taken only in the direction of the broader trend.
RSI with EMA FilterThis indicator combines the Relative Strength Index (RSI) with a trend-filtering Exponential Moving Average (EMA) to generate higher-quality momentum signals.
RSI identifies overbought and oversold market conditions, while the EMA confirms the overall trend direction, helping traders avoid false signals in choppy markets.
Supertrend + MAXTRA inputsThe Supertrend strategy is a trend-following trading method that uses the Supertrend indicator, which is calculated based on the ATR (Average True Range). When the price closes above the Supertrend line, it generates a buy signal, and when the price closes below the Supertrend line, it generates a sell signal. The indicator continuously trails the price, helping traders identify trend direction, ride trends, and manage stop-loss levels.
EMA + Sessions + RSI Strategy v1.0A professional trading strategy that combines multiple technical indicators for high-probability entries. This system uses EMA crossovers, RSI zone filtering, and trend confirmation to identify optimal trading opportunities while managing risk with advanced position management tools.
Key Features:
✅ Dual Entry Signals (EMA21 + EMA100 crossover conditions)
✅ Trend Filter EMA750 (trade only with the major trend)
✅ Complete Risk Management (SL 1%, TP 3% default)
✅ Trailing Stop & Breakeven (maximize profits, protect capital)
✅ Compact Statistics Table (real-time performance metrics)
✅ RSI & Session Filters (avoid low-probability setups)
✅ Optional Pyramiding (scale into winning positions)
Perfect for swing trading and trend-following on any timeframe. Fully customizable to match your trading style.
Empire OS Automated Trading • Institutional-grade executionEmpire OS – 9/40 EMA Dynamic Momentum Strategy
This strategy isn’t just EMAs — it’s a dynamic entry and exit system built around real-time price behavior. The 9/40 EMA setup gives the base trend direction, and the internal engine calculates every entry, stop, and target using recent price action and a 14-ATR volatility model.
Everything adjusts automatically:
• Entries react to momentum shifts based on the 9/40 EMA separation
• Stops tighten or widen based on the current 14-ATR reading
• Targets scale with real market volatility (not fixed numbers)
• Risk-to-Reward is calculated on the fly for cleaner, stronger trades
• Exits are based on structure + volatility, not random lines
Most strategies use fixed stops, fixed R:R, or standard EMA pairs that anyone can copy.
This one adapts to the market in real time — making every trade unique to current conditions.
It’s rare because almost nobody builds a retail strategy that:
Uses a non-standard 9/40 EMA combo
Calculates stops + targets off real volatility
Adjusts risk reward based on live price activity
Filters entries through momentum AND price structure
Keeps drawdown tight while catching high-quality moves
This is the official Empire OS version — built for consistency, momentum accuracy, and prop-firm scalability.






















