Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

iCrosshair - Live Candlestick Indicator on Hover - MetaTrader 5 Script - MT4/MT5 Resource

author EAcpu | 2 reads | 0 comments |

iCrosshair - Real-Time Candle Metrics on Hover - indicator for MetaTrader 5

iCrosshair - Real-Time Candle Metrics on Hover - indicator for MetaTrader 5

iCrosshair - Real-Time Candle Metrics on Hover - indicator for MetaTrader 5

iCrosshair - Real-Time Candle Metrics on Hover - indicator for MetaTrader 5

Interactive crosshair indicator that displays real-time candle analysis in a single-line information bar. Complete rewrite of the original iCrosshair.mq4 (2015-2016) for MetaTrader 5.

iCrosshair - Real-Time Candle Metrics on Hover - indicator for MetaTrader 5

 Bar: 5 | Points: 12.3 | Oh: 1.0850 Hours: 1.0875 Length: 1.0820 C : 1.0860 | Range: 55 | Body: 40 % | UW: 25 Weight: 35 % | Volume: 1234 | 2026.01.15 14:00
Metric describe
bar Current bar index (0 = current bar)
base point The distance between the cursor and the closing price of the bar
oil/oil/liquid/oil OHLC prices (compact format)
scope Total candle size (points/points)
Body% body as percentage of range
Extra width%/length and width% Upper/lower wick percentage of range
roll bar chart scale
closing time Candle closing date and time


parameter

Show options

  • Show comments (true) - Show/hide the information bar
  • SHOW_OHLC (true) - Include O/H/L/C prices
  • Show volume (true) - include quote volume
  • Display ratio (true) - includes range, body%, UW%, LW%

visual settings

  • Line Color (SlateGray) - Crosshair Color
  • Line Style (Points) - Line style
  • linewidth (1) - line thickness(1-5)

Performance

  • Information update interval (50ms) - information bar update frequency

How to use

  1. Add indicators to any chart
  2. Hover over any candle to see instant analysis
  3. Press 'T' or click on the line to freeze/unfreeze
  4. Freeze lines can be used as support/resistance reference

technical details

  • MQL5 native architecture (64-bit optimization)
  • Smart caching with sliding window (200 items)
  • Debounced rendering at 20 FPS - ~80% CPU reduction
  • Comprehensive bounds checking and error handling

author

Oran 5


Attachment download

📎 iCrosshair.mq5 (19.39 KB)

Source: MQL5 #68324

Verification code Refresh