HiMAC Basic v2.3.2

Core Concept:
HiMAC (High-Probability MACD) is a multi-timeframe confluence trading indicator that identifies high-probability reversal signals using MACD histogram patterns combined with RSI and Doji filtering.
Key Features:
1. Signal Detection Logic:
- Dark MACD Bar Sequencing: Tracks consecutive expanding MACD histogram bars
- Pair Validation: Requires 2 consecutive dark bars of same color
- Immediate Stop: Stops checking after first valid signal pair (C1-C2, C2-C3, or C3-C4)
2. Smart Filtering:
- RSI Validation: Blocks overbought/oversold signals (70/30 levels)
- Doji Filtering: Excludes signals with Doji candles (body <15% of range)
- Signal Lockout: 2-bar cooldown after each signal to prevent overlap
How It Works:
Signal Conditions (BULLISH):
- Two consecutive dark green MACD bars
- Both corresponding candles are green (close ≥ open)
- Neither candle is a Doji
- RSI not ≥ 70 (not overbought)
- Signals below bar for long entries
Signal Conditions (BEARISH):
- Two consecutive dark red MACD bars
- Both corresponding candles are red (close < open)
- Neither candle is a Doji
- RSI not ≤ 30 (not oversold)
- Signals above bar for short entries
Visual Components:
- Green Triangle ▼ = Bullish signal (below bar)
- Red Triangle ▲ = Bearish signal (above bar)
- Green Line = Bullish entry price (solid)
- Red Line = Bearish entry price (dashed)
- Status Table = Real-time system status
Use Case:
Best for: Swing trading on H1-H4 timeframes with Daily trend alignment
Markets: Forex, Crypto, Indices (works best with trending instruments)
Style: Counter-trend within larger trend (pullback entries)
🚀 Overview
HiMAC (High Probability MACD) Basic Indicator v2.4.2 introduces enhanced visual customization options to improve user experience across different TradingView themes and lighting conditions.
📋 Version Information
• Current Version: v2.4.2
• Previous Version: v2.3.2
• Script ID: HiMAC Basic
• Compatibility: TradingView Pine Script v6
✨ New Features & Enhancements
1. Font Color Customization for Bottom Trading Table (v2.4.2)
• Feature: Added user-configurable font color option for the bottom trading table
• Location: Settings → Display Settings → "Table Font Color"
• Default: Black (maintains backward compatibility)
• Purpose:
• Improves visibility for users with dark TradingView themes
• Allows customization based on personal preference
• Enhances accessibility across different monitor settings
2. Display Settings Optimization (v2.4.1)
• Feature: Top diagnostic table is now unchecked by default
• Rationale:
• Most users primarily use the bottom trading table
• Reduces screen clutter for new users
• Users can enable it if they need diagnostic information
🎨 Visual Improvements
1. Bottom Trading Table:
• All text now uses the user-selected font color
• Maintains colored backgrounds for different data types (signal, entry, SL, TP, RR)
• Better contrast and readability
2. Consistency:
• Top diagnostic table maintains its original color scheme
• Signal arrows maintain their transparency settings
• All existing formatting rules preserved
🎯 User Benefits
• ✅ Better Visibility: Users with dark themes can now see the trading table clearly
• ✅ Customization: Personalize the indicator appearance to match your workspace
• ✅ Backward Compatible: Default settings maintain original look and feel
• ✅ No Performance Impact: Changes are purely visual, no effect on calculation speed
• ✅ Easy to Use: Simple color picker in settings
📊 Settings Recommendations
For Dark Theme Users:
• Set "Table Font Color" to White or Light Gray
• Keep "Signal Transparency" at 70% or adjust as needed
• Enable "Show Bottom Table" (default: ON)
For Light Theme Users:
• Keep "Table Font Color" at Black (default)
• Consider reducing transparency if signals are too faint
🐛 Bug Fixes & Maintenance
• Version References: Updated all version strings to v2.4.2
• Code Organization: New font color setting added to Display Settings group
• Documentation: Clear tooltip explaining the setting's purpose
📈 Performance
• No changes to core calculation logic
• Minimal impact on rendering performance
• Memory usage unchanged
🔔 Alert System
• No changes to alert conditions or triggers
• All existing alerts continue to work as before
📱 Compatibility
• TradingView Version: Fully compatible with latest TradingView platform
• Chart Types: Works on all chart types (line, bar, candlestick, etc.)
• Timeframes: Compatible with all timeframes
• Symbols: Supports Forex, Commodities, and Indices with automatic detection
🚨 Important Notes
1. Default Behavior: The indicator will appear exactly as before for existing users
2. Customization Required: Dark theme users need to manually change the font color
3. Top Table: Diagnostic table remains unchecked by default (can be enabled in settings)
4. Signal Colors: Only table font color changes; signal arrow colors remain tied to transparency setting
🔄 Migration from v2.3.2
• Automatic: No action required for existing users
• Settings: Existing settings preserved
• Charts: All drawings and tables maintain their positions
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้งานที่ผู้เขียนอนุมัตเท่านั้นจึงจะสามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องขอและได้รับอนุญาตก่อนใช้งาน ซึ่งโดยทั่วไปจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม โปรดทำตามคำแนะนำของผู้เขียนด้านล่าง หรือติดต่อ SimpleFinancialMgtCommunity โดยตรง
TradingView ไม่แนะนำให้จ่ายเงินหรือใช้สคริปต์ เว้นแต่คุณจะเชื่อถือผู้เขียนและเข้าใจวิธีการทำงานของสคริปต์นั้นอย่างถ่องแท้ คุณยังสามารถหาทางเลือกแบบโอเพนซอร์สฟรีได้ใน สคริปต์ชุมชนของเรา
คำแนะนำของผู้เขียน
คำจำกัดสิทธิ์ความรับผิดชอบ
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้งานที่ผู้เขียนอนุมัตเท่านั้นจึงจะสามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องขอและได้รับอนุญาตก่อนใช้งาน ซึ่งโดยทั่วไปจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม โปรดทำตามคำแนะนำของผู้เขียนด้านล่าง หรือติดต่อ SimpleFinancialMgtCommunity โดยตรง
TradingView ไม่แนะนำให้จ่ายเงินหรือใช้สคริปต์ เว้นแต่คุณจะเชื่อถือผู้เขียนและเข้าใจวิธีการทำงานของสคริปต์นั้นอย่างถ่องแท้ คุณยังสามารถหาทางเลือกแบบโอเพนซอร์สฟรีได้ใน สคริปต์ชุมชนของเรา