OPEN-SOURCE SCRIPT
OIL (WTI) Pro: 1H Trend + Prob + Sessions + Candle Timer

Indicator Features
📈 Multi-Timeframe Trend Detection (1H)
Identifies the main market trend from the 1-Hour timeframe
Displays the trend clearly as Bullish / Bearish / Sideways
Avoids trading against the higher-timeframe direction
🎯 Smart BUY & SELL Signals (On Candles)
Clear BUY and SELL signals directly on the candles
Signals are placed below lows (BUY) and above highs (SELL)
Uses ATR offset so signals are always visible and never hidden inside candles
📊 Separate Buy & Sell Probability
Calculates BUY Probability and SELL Probability independently
Probabilities are shown as percentages
Helps traders decide when to enter and when to wait
🧠 Pullback-Based Logic (No Chasing Price)
Signals are generated only after healthy pullbacks
Prevents entering trades when price is overextended
Displays a “Wait for Pullback” warning during strong trend extensions
📈 Multi-Timeframe Trend Detection (1H)
Identifies the main market trend from the 1-Hour timeframe
Displays the trend clearly as Bullish / Bearish / Sideways
Avoids trading against the higher-timeframe direction
🎯 Smart BUY & SELL Signals (On Candles)
Clear BUY and SELL signals directly on the candles
Signals are placed below lows (BUY) and above highs (SELL)
Uses ATR offset so signals are always visible and never hidden inside candles
📊 Separate Buy & Sell Probability
Calculates BUY Probability and SELL Probability independently
Probabilities are shown as percentages
Helps traders decide when to enter and when to wait
🧠 Pullback-Based Logic (No Chasing Price)
Signals are generated only after healthy pullbacks
Prevents entering trades when price is overextended
Displays a “Wait for Pullback” warning during strong trend extensions
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.