OPEN-SOURCE SCRIPT
Fib Target & SL From Entry Time

Fib Target & SL From Entry Time
Time-Based Entry, Automatic Stop Loss & Fibonacci Target Projection
OVERVIEW
Fib Target & SL From Entry Time is a professional trade planning and risk management indicator designed to automatically generate Stop Loss and Fibonacci-based Take Profit levels from a user-selected Entry Time.
Instead of manually calculating risk, reward, and target levels, simply select the direction of your trade and choose the Entry Date & Time. The indicator automatically captures the trade setup and projects multiple Fibonacci extension targets together with a dynamic Stop Loss based on recent market structure.
This tool is ideal for traders who want to plan trades objectively, manage risk consistently, and visualize reward-to-risk opportunities directly on the chart.
━━━━━━━━━━━━━━━━━━━━━━
KEY FEATURES
━━━━━━━━━━━━━━━━━━━━━━
✓ Manual Trade Direction Selection
Choose between Long and Short trade setups.
✓ Time-Based Entry Detection
Select any historical or future Entry Date & Time.
The indicator automatically captures the first candle that reaches or crosses the selected time.
✓ Automatic Entry Price Lock
Entry price is locked using the closing price of the selected entry candle.
✓ Automatic Swing-Based Stop Loss
For Long trades:
Stop Loss is placed below the lowest swing low.
For Short trades:
Stop Loss is placed above the highest swing high.
✓ Fibonacci Extension Targets
Automatically calculates:
• TP1
• TP2
• TP3
using customizable Fibonacci multipliers.
✓ Risk-Reward Calculation
Instantly displays expected Reward-to-Risk ratios for all targets.
✓ Dashboard Panel
View all important trade information in one place:
• Trade Direction
• Entry Price
• Stop Loss
• TP1
• TP2
• TP3
• Risk-Reward Ratios
• Trade Status
✓ Visual Trade Levels
Draws clean horizontal levels for:
• Entry
• Stop Loss
• TP1
• TP2
• TP3
✓ Alert Support
Built-in alerts for:
• New Trade Captured
• TP1 Hit
• TP2 Hit
• TP3 Hit
• Stop Loss Hit
━━━━━━━━━━━━━━━━━━━━━━
HOW IT WORKS
━━━━━━━━━━━━━━━━━━━━━━
LONG TRADE
1. Select Long Direction.
2. Choose Entry Date & Time.
3. Indicator captures the closing price of the entry candle.
4. Lowest low from the selected Swing Length becomes Stop Loss.
5. Fibonacci targets are projected above Entry Price.
SHORT TRADE
1. Select Short Direction.
2. Choose Entry Date & Time.
3. Indicator captures the closing price of the entry candle.
4. Highest high from the selected Swing Length becomes Stop Loss.
5. Fibonacci targets are projected below Entry Price.
━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━
Step 1
Add the indicator to your chart.
Step 2
Choose:
• Long
or
• Short
under Trade Direction.
Step 3
Select your desired Entry Date & Time.
Step 4
Adjust Swing Length if required.
Higher values:
Wider Stop Loss
Lower values:
Tighter Stop Loss
Step 5
Customize Fibonacci multipliers if desired.
Default values:
TP1 = 1.272
TP2 = 1.618
TP3 = 2.618
Step 6
Monitor projected levels and trade status using the dashboard.
━━━━━━━━━━━━━━━━━━━━━━
ALERT SETUP
━━━━━━━━━━━━━━━━━━━━━━
To create alerts:
1. Click Add Alert.
2. Select Fib Trade Planner Pro.
3. Choose one of the following conditions:
• New Trade Captured
• TP1 Hit
• TP2 Hit
• TP3 Hit
• Stop Loss Hit
4. Create the alert.
The indicator will notify you whenever the selected event occurs.
━━━━━━━━━━━━━━━━━━━━━━
WHO CAN USE THIS INDICATOR?
━━━━━━━━━━━━━━━━━━━━━━
• Swing Traders
• Position Traders
• Intraday Traders
• Crypto Traders
• Forex Traders
• Stock Market Traders
• Risk Management Focused Traders
━━━━━━━━━━━━━━━━━━━━━━
IMPORTANT NOTES
━━━━━━━━━━━━━━━━━━━━━━
• This indicator is designed for trade planning and visualization.
• Entry price is based on the closing price of the selected entry candle.
• Fibonacci targets are calculated from the Entry-to-Stop Loss risk distance.
• Risk management remains the responsibility of the trader.
• Past performance does not guarantee future results.
━━━━━━━━━━━━━━━━━━━━━━
Fib Target & SL From Entry Time helps traders quickly build structured trade setups with predefined risk, reward, and Fibonacci target levels while maintaining a disciplined trading approach.
Time-Based Entry, Automatic Stop Loss & Fibonacci Target Projection
OVERVIEW
Fib Target & SL From Entry Time is a professional trade planning and risk management indicator designed to automatically generate Stop Loss and Fibonacci-based Take Profit levels from a user-selected Entry Time.
Instead of manually calculating risk, reward, and target levels, simply select the direction of your trade and choose the Entry Date & Time. The indicator automatically captures the trade setup and projects multiple Fibonacci extension targets together with a dynamic Stop Loss based on recent market structure.
This tool is ideal for traders who want to plan trades objectively, manage risk consistently, and visualize reward-to-risk opportunities directly on the chart.
━━━━━━━━━━━━━━━━━━━━━━
KEY FEATURES
━━━━━━━━━━━━━━━━━━━━━━
✓ Manual Trade Direction Selection
Choose between Long and Short trade setups.
✓ Time-Based Entry Detection
Select any historical or future Entry Date & Time.
The indicator automatically captures the first candle that reaches or crosses the selected time.
✓ Automatic Entry Price Lock
Entry price is locked using the closing price of the selected entry candle.
✓ Automatic Swing-Based Stop Loss
For Long trades:
Stop Loss is placed below the lowest swing low.
For Short trades:
Stop Loss is placed above the highest swing high.
✓ Fibonacci Extension Targets
Automatically calculates:
• TP1
• TP2
• TP3
using customizable Fibonacci multipliers.
✓ Risk-Reward Calculation
Instantly displays expected Reward-to-Risk ratios for all targets.
✓ Dashboard Panel
View all important trade information in one place:
• Trade Direction
• Entry Price
• Stop Loss
• TP1
• TP2
• TP3
• Risk-Reward Ratios
• Trade Status
✓ Visual Trade Levels
Draws clean horizontal levels for:
• Entry
• Stop Loss
• TP1
• TP2
• TP3
✓ Alert Support
Built-in alerts for:
• New Trade Captured
• TP1 Hit
• TP2 Hit
• TP3 Hit
• Stop Loss Hit
━━━━━━━━━━━━━━━━━━━━━━
HOW IT WORKS
━━━━━━━━━━━━━━━━━━━━━━
LONG TRADE
1. Select Long Direction.
2. Choose Entry Date & Time.
3. Indicator captures the closing price of the entry candle.
4. Lowest low from the selected Swing Length becomes Stop Loss.
5. Fibonacci targets are projected above Entry Price.
SHORT TRADE
1. Select Short Direction.
2. Choose Entry Date & Time.
3. Indicator captures the closing price of the entry candle.
4. Highest high from the selected Swing Length becomes Stop Loss.
5. Fibonacci targets are projected below Entry Price.
━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━
Step 1
Add the indicator to your chart.
Step 2
Choose:
• Long
or
• Short
under Trade Direction.
Step 3
Select your desired Entry Date & Time.
Step 4
Adjust Swing Length if required.
Higher values:
Wider Stop Loss
Lower values:
Tighter Stop Loss
Step 5
Customize Fibonacci multipliers if desired.
Default values:
TP1 = 1.272
TP2 = 1.618
TP3 = 2.618
Step 6
Monitor projected levels and trade status using the dashboard.
━━━━━━━━━━━━━━━━━━━━━━
ALERT SETUP
━━━━━━━━━━━━━━━━━━━━━━
To create alerts:
1. Click Add Alert.
2. Select Fib Trade Planner Pro.
3. Choose one of the following conditions:
• New Trade Captured
• TP1 Hit
• TP2 Hit
• TP3 Hit
• Stop Loss Hit
4. Create the alert.
The indicator will notify you whenever the selected event occurs.
━━━━━━━━━━━━━━━━━━━━━━
WHO CAN USE THIS INDICATOR?
━━━━━━━━━━━━━━━━━━━━━━
• Swing Traders
• Position Traders
• Intraday Traders
• Crypto Traders
• Forex Traders
• Stock Market Traders
• Risk Management Focused Traders
━━━━━━━━━━━━━━━━━━━━━━
IMPORTANT NOTES
━━━━━━━━━━━━━━━━━━━━━━
• This indicator is designed for trade planning and visualization.
• Entry price is based on the closing price of the selected entry candle.
• Fibonacci targets are calculated from the Entry-to-Stop Loss risk distance.
• Risk management remains the responsibility of the trader.
• Past performance does not guarantee future results.
━━━━━━━━━━━━━━━━━━━━━━
Fib Target & SL From Entry Time helps traders quickly build structured trade setups with predefined risk, reward, and Fibonacci target levels while maintaining a disciplined trading approach.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
For access & queries: algochiefsupport@gmail.com
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
For access & queries: algochiefsupport@gmail.com
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.