PROTECTED SOURCE SCRIPT
BoaBias: Multi-Timeframe EMA Analysis

BoaBias: Multi-Timeframe EMA Analysis is a comprehensive trading tool that provides deep insights into price behavior relative to Exponential Moving Averages across multiple timeframes. Track trend lengths, deviations, and cross patterns to make informed trading decisions.
✨ Key Features
📈 Multi-Timeframe EMAs
- 6 Timeframes: 15m, 1H, 4H, 1D, 3D, 1W EMAs displayed simultaneously
- Customizable Lengths: Adjust EMA periods for each timeframe independently
- Color-Coded Lines: Easy visual identification of each timeframe
📊 Trend Analysis
- Current Trend Length: Real-time count of bars price has been above/below each EMA
- Average Trend Duration: Historical average of completed trends (configurable window)
- Trend Events Counter: Track number of completed trends over the analysis window
📉 Price Deviation
- Percentage Deviation: Precise calculation of how far price is from each EMA
- Real-Time Updates: Deviation shown for all timeframes simultaneously
🎯 Cross Detection & Labels
- Cross Labels (S/L): Visual markers when price crosses EMAs
- S Labels: Price moves from below EMA upward
- L Labels: Price moves from above EMA downward
- Trend Length Display: Shows how many bars the previous trend lasted
- Customizable Display: Enable/disable labels per timeframe (1D enabled by default)
📋 Final Labels
- Comprehensive Information: Right-side labels showing:
- Current deviation percentage
- Average trend lengths (S/L)
- Current trend lengths
- Event counts (completed trends)
- Projection Lines: Visual lines extending from last cross to projected next cross
🎨 Candle Coloring
- EMA Zone Coloring: Automatically color candles based on position relative to EMAs
- Above Slow EMA: Custom color (default: lime)
- Below Slow EMA: Custom color (default: red)
- Between EMAs: Neutral zone color
- Entry Highlighting: Special colors for bars that cross slow EMA (entry signals)
- Re-entry Highlighting: Colors for fast EMA dip/return patterns
- Configurable EMAs: Choose which timeframes to use for slow/fast EMA logic
⏱️ ETA Verticals
- Projection Lines: Vertical lines showing estimated time of arrival for next EMA cross
- Based on Historical Data: Uses average session durations to predict future crosses
- All Timeframes: ETA lines available for all 6 timeframes
🎯 Who is this indicator for?
- Trend Followers: Identify trend strength and continuation patterns
- Multi-Timeframe Traders: Analyze market structure across different timeframes
- Mean Reversion Traders: Spot when price deviates significantly from EMAs
⚙️ Settings
EMA Settings
- Customizable EMA lengths for each timeframe (15m, 1H, 4H, 1D, 3D, 1W)
- Default lengths optimized for each timeframe
Average Settings
- Configurable window for calculating average session durations (default: 200)
- Adjustable per timeframe
Label Options
- Show All Labels: Master toggle for all label displays
- Cross Labels: Enable/disable per timeframe (1D enabled by default)
- Final Labels: Enable/disable comprehensive right-side labels per timeframe
- Show S/L: Toggle between showing S (upward) or L (downward) crosses
💡 Advantages
✅ Comprehensive Analysis — All key metrics in one indicator
✅ Multi-Timeframe View — See 6 timeframes simultaneously without switching charts
✅ Trend Intelligence — Understand how long price typically stays above/below EMAs
✅ Visual Clarity — Color-coded candles and clear labels for quick decision making
✅ Projection Capability — ETA verticals help anticipate future cross points
✅ Professional Tool — Built for serious traders who need detailed market analysis
📊 How to Use
1. Identify Trends: Use EMA alignment and trends lengths to gauge trend strength
2. Spot Deviations: Look for high deviation percentages as potential reversal zones
3. Track Trends: Monitor current session length vs. historical averages
4. Watch Crosses: Use S/L labels to identify entry opportunities
5. Use ETA Lines: Plan entries/exits based on projected cross times
6. Color Signals: Let candle coloring highlight entry and re-entry opportunities
✨ Key Features
📈 Multi-Timeframe EMAs
- 6 Timeframes: 15m, 1H, 4H, 1D, 3D, 1W EMAs displayed simultaneously
- Customizable Lengths: Adjust EMA periods for each timeframe independently
- Color-Coded Lines: Easy visual identification of each timeframe
📊 Trend Analysis
- Current Trend Length: Real-time count of bars price has been above/below each EMA
- Average Trend Duration: Historical average of completed trends (configurable window)
- Trend Events Counter: Track number of completed trends over the analysis window
📉 Price Deviation
- Percentage Deviation: Precise calculation of how far price is from each EMA
- Real-Time Updates: Deviation shown for all timeframes simultaneously
🎯 Cross Detection & Labels
- Cross Labels (S/L): Visual markers when price crosses EMAs
- S Labels: Price moves from below EMA upward
- L Labels: Price moves from above EMA downward
- Trend Length Display: Shows how many bars the previous trend lasted
- Customizable Display: Enable/disable labels per timeframe (1D enabled by default)
📋 Final Labels
- Comprehensive Information: Right-side labels showing:
- Current deviation percentage
- Average trend lengths (S/L)
- Current trend lengths
- Event counts (completed trends)
- Projection Lines: Visual lines extending from last cross to projected next cross
🎨 Candle Coloring
- EMA Zone Coloring: Automatically color candles based on position relative to EMAs
- Above Slow EMA: Custom color (default: lime)
- Below Slow EMA: Custom color (default: red)
- Between EMAs: Neutral zone color
- Entry Highlighting: Special colors for bars that cross slow EMA (entry signals)
- Re-entry Highlighting: Colors for fast EMA dip/return patterns
- Configurable EMAs: Choose which timeframes to use for slow/fast EMA logic
⏱️ ETA Verticals
- Projection Lines: Vertical lines showing estimated time of arrival for next EMA cross
- Based on Historical Data: Uses average session durations to predict future crosses
- All Timeframes: ETA lines available for all 6 timeframes
🎯 Who is this indicator for?
- Trend Followers: Identify trend strength and continuation patterns
- Multi-Timeframe Traders: Analyze market structure across different timeframes
- Mean Reversion Traders: Spot when price deviates significantly from EMAs
⚙️ Settings
EMA Settings
- Customizable EMA lengths for each timeframe (15m, 1H, 4H, 1D, 3D, 1W)
- Default lengths optimized for each timeframe
Average Settings
- Configurable window for calculating average session durations (default: 200)
- Adjustable per timeframe
Label Options
- Show All Labels: Master toggle for all label displays
- Cross Labels: Enable/disable per timeframe (1D enabled by default)
- Final Labels: Enable/disable comprehensive right-side labels per timeframe
- Show S/L: Toggle between showing S (upward) or L (downward) crosses
💡 Advantages
✅ Comprehensive Analysis — All key metrics in one indicator
✅ Multi-Timeframe View — See 6 timeframes simultaneously without switching charts
✅ Trend Intelligence — Understand how long price typically stays above/below EMAs
✅ Visual Clarity — Color-coded candles and clear labels for quick decision making
✅ Projection Capability — ETA verticals help anticipate future cross points
✅ Professional Tool — Built for serious traders who need detailed market analysis
📊 How to Use
1. Identify Trends: Use EMA alignment and trends lengths to gauge trend strength
2. Spot Deviations: Look for high deviation percentages as potential reversal zones
3. Track Trends: Monitor current session length vs. historical averages
4. Watch Crosses: Use S/L labels to identify entry opportunities
5. Use ETA Lines: Plan entries/exits based on projected cross times
6. Color Signals: Let candle coloring highlight entry and re-entry opportunities
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน