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
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.