OPEN-SOURCE SCRIPT
Rajiv Fibonacci OTE

Rajiv Fibonacci OTE RR System
The Rajiv Fibonacci OTE RR System is a smart multi-timeframe trading indicator designed for intraday and swing trading.
It combines Higher Timeframe Fibonacci retracement, OTE (Optimal Trade Entry) zone, and ATR-based Risk Management to generate high-probability BUY and SELL setups with automatic Entry, Stoploss, and Target levels.
Main Features
1. Multi-Timeframe Fibonacci
The script automatically calculates Fibonacci retracement levels from a higher timeframe candle.
Default HTF:
Daily timeframe (D)
Key levels:
0.50
0.618
0.786
These levels help identify:
institutional retracement zones
pullback entries
continuation setups
2. OTE Zone (Optimal Trade Entry)
The indicator highlights the:
0.618 to 0.786 Fibonacci zone
This zone is considered a:
smart money retracement area
institutional entry zone
trend continuation zone
Yellow shaded area visually marks the OTE region.
3. Automatic BUY & SELL Signals
BUY Signal
Generated when:
price crosses above 0.618 Fib level
price remains above 0.50 level
SELL Signal
Generated when:
price crosses below 0.618 Fib level
price remains below 0.50 level
Signals appear directly on chart.
4. ATR-Based Stoploss
The script uses:
SL=Entry±(ATR×Multiplier)
This creates dynamic stoploss levels based on market volatility.
Benefits:
adaptive risk control
works in all market conditions
avoids fixed stoploss problems
5. Risk Reward Targets
The indicator automatically calculates:
Target 1 → Risk Reward 1:2
Target 2 → Risk Reward 1:3
Target 3 → Risk Reward 1:4
Formula:
Target=Entry±(Risk×RR)
This ensures:
proper trade management
disciplined exits
professional risk handling
6. Automatic Lines
The script draws live chart levels for:
Entry
Stoploss
TP 1:2
TP 1:3
TP 1:4
This helps traders visualize:
trade structure
risk zones
reward zones
7. Alerts Included
Built-in TradingView alerts:
BUY Signal
SELL Signal
Useful for:
mobile notifications
automation
scanner setups
Best Timeframes
Recommended:
5 Min
15 Min
30 Min
1 Hour
Best suited for:
NSE Stocks
BankNifty
Nifty
Futures
Intraday Momentum Trading
Trading Style
Works best in:
trending markets
pullback continuation setups
momentum breakout conditions
Avoid during:
extremely sideways markets
low volatility sessions
Strategy Logic
The indicator follows:
Higher timeframe trend
Fibonacci retracement
OTE institutional zone
ATR volatility stoploss
Fixed professional risk reward
The Rajiv Fibonacci OTE RR System is a smart multi-timeframe trading indicator designed for intraday and swing trading.
It combines Higher Timeframe Fibonacci retracement, OTE (Optimal Trade Entry) zone, and ATR-based Risk Management to generate high-probability BUY and SELL setups with automatic Entry, Stoploss, and Target levels.
Main Features
1. Multi-Timeframe Fibonacci
The script automatically calculates Fibonacci retracement levels from a higher timeframe candle.
Default HTF:
Daily timeframe (D)
Key levels:
0.50
0.618
0.786
These levels help identify:
institutional retracement zones
pullback entries
continuation setups
2. OTE Zone (Optimal Trade Entry)
The indicator highlights the:
0.618 to 0.786 Fibonacci zone
This zone is considered a:
smart money retracement area
institutional entry zone
trend continuation zone
Yellow shaded area visually marks the OTE region.
3. Automatic BUY & SELL Signals
BUY Signal
Generated when:
price crosses above 0.618 Fib level
price remains above 0.50 level
SELL Signal
Generated when:
price crosses below 0.618 Fib level
price remains below 0.50 level
Signals appear directly on chart.
4. ATR-Based Stoploss
The script uses:
SL=Entry±(ATR×Multiplier)
This creates dynamic stoploss levels based on market volatility.
Benefits:
adaptive risk control
works in all market conditions
avoids fixed stoploss problems
5. Risk Reward Targets
The indicator automatically calculates:
Target 1 → Risk Reward 1:2
Target 2 → Risk Reward 1:3
Target 3 → Risk Reward 1:4
Formula:
Target=Entry±(Risk×RR)
This ensures:
proper trade management
disciplined exits
professional risk handling
6. Automatic Lines
The script draws live chart levels for:
Entry
Stoploss
TP 1:2
TP 1:3
TP 1:4
This helps traders visualize:
trade structure
risk zones
reward zones
7. Alerts Included
Built-in TradingView alerts:
BUY Signal
SELL Signal
Useful for:
mobile notifications
automation
scanner setups
Best Timeframes
Recommended:
5 Min
15 Min
30 Min
1 Hour
Best suited for:
NSE Stocks
BankNifty
Nifty
Futures
Intraday Momentum Trading
Trading Style
Works best in:
trending markets
pullback continuation setups
momentum breakout conditions
Avoid during:
extremely sideways markets
low volatility sessions
Strategy Logic
The indicator follows:
Higher timeframe trend
Fibonacci retracement
OTE institutional zone
ATR volatility stoploss
Fixed professional risk reward
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.