PinMetrics MT4

PinMetrics – MT4

Pin Bar Size Statistics Dashboard | Wick Ratio Analysis | Performance Metrics

Stop guessing which pin bars work. Let the data reveal the edge. 🎯

📖 Overview

PinMetrics is a professional MetaTrader 5 indicator that automatically detects and analyzes pin bar patterns, categorizing them by wick-to-body ratio. It provides comprehensive performance statistics for each size category, helping traders identify which pin bar patterns offer the most reliable trading opportunities.

Not all pin bars are created equal. PinMetrics tells you exactly which size category has the highest win rate and best R-multiple on your current pair and timeframe.

✨ Key Features

Feature Benefit
Size-Based Classification Automatically sorts pin bars into Small (2-3x), Medium (3-5x), and Large (5x+) based on wick-to-body ratio
Real-Time Statistics Dashboard Displays Trades, Win %, Avg R, Bull/Bear ratio, Wick Ratio, Avg Pips, and Body % for each category
Direction Detection Automatically identifies bullish (hammer) vs bearish (shooting star) pin bars
Volume Confirmation Option Optionally require higher volume on pin bars – stronger rejection signals
Risk Management Integration Configure risk percentage per trade for position sizing context
Adjustable Thresholds Customize wick ratio boundaries, min bar size, and detection sensitivity
Clean Dashboard Layout Professional table format with color-coded R-multiples (green for positive, red for negative)
"All Sizes" Summary Row Overall performance across all detected patterns
Auto-Detection Scans up to 1000 bars and updates automatically on each new bar

📊 Dashboard Breakdown

Column Description
Size Category Small (2-3x) / Medium (3-5x) / Large (5x+)
Trades Number of pin bars detected in this category
Win % Percentage of patterns that resulted in profitable moves
Avg R Average risk multiple (green for positive, red for negative)
Bull/Bear Bullish pin bars vs bearish pin bars
Wick Ratio Average wick length relative to body (e.g., 4.2x)
Avg Pips Average total bar size in pips
Body % Average body as % of total range (lower = cleaner rejection)

🔍 Pin Bar Detection Criteria

Condition Requirement
Small body Body occupies ≤33% of total bar range
Long wick Dominant wick comprises ≥60% of total range
Direction Long lower wick = Bullish (Hammer) / Long upper wick = Bearish (Shooting Star)
Minimum size Configurable minimum bar size in pips (default: 10 pips)
Volume confirmation Optional – requires higher volume than previous bar

📈 Size Classification System

Category Wick Ratio Description Typical Performance
Small 2–3x Moderate wick extension Baseline win rate
Medium 3–5x Significant wick extension Higher win rate & R
Large 5x+ Extreme wick extension Highest win rate & R-multiple

Why Larger Wick Ratios Perform Better

Factor Small (2-3x) Medium (3-5x) Large (5x+)
Rejection force Moderate Strong Extreme
Stop loss distance Tighter Moderate Wider
Risk-reward potential 1.5-2.5R 2-4R 3-6R
Typical win rate 50-60% 55-65% 60-70%
Best timeframe Lower (M15-H1) Higher (H1-H4) Highest (H4-Daily)

⚙️ Input Parameters (MT5)

Dashboard Settings

Parameter Default Description
DashboardX 20 Horizontal position (pixels from left edge)
DashboardY 30 Vertical position (pixels from top edge)
DashboardColor White Dashboard background color
TextColor Black Text color for dashboard content
FontSize 9 Base font size

Pin Bar Pattern Settings

Parameter Default Description
SmallWickRatio 2.0 Small pin bar threshold (wick ≥2× body)
MediumWickRatio 3.0 Medium pin bar threshold (wick ≥3× body)
LargeWickRatio 5.0 Large pin bar threshold (wick ≥5× body)
MaxBodyRatio 0.33 Maximum body as % of total range (33%)
MinWickPercentage 0.60 Minimum dominant wick as % of total range (60%)
RequireVolumeConfirmation false Require higher volume on pin bar
MinPinBarSizePips 10.0 Minimum pin bar total size in pips

Risk Management

Parameter Default Description
RiskPercentage 1.0 Risk per trade as % of account balance
MaxHistoryBars 1000 Maximum bars to analyze

🎯 How to Use PinMetrics

Step 1: Attach to Chart

Drag PinMetrics onto any MT5 chart (recommended: H1, H4, or Daily).

Step 2: Let It Scan

The indicator automatically scans up to 1000 bars and categorizes every pin bar it finds.

Step 3: Read the Dashboard

Look for the category with the highest win rate and best Avg R:

  •  Large (5x+) category showing 66% win rate and +2.10R? → Prioritize those setups.

  • ⚠️ Small (2-3x) category showing 45% win rate? → Be selective or avoid.

Step 4: Trade with Context

Strongest pin bars occur when:

  • Forming at key support/resistance levels

  • Following a strong trend (counter-trend pin bars)

  • Aligned with higher timeframe bias

  • Accompanied by volume spikes

📈 Practical Trading Applications

Entry

  • Bullish pin bar at support → Buy on break of the pin bar's high

  • Bearish pin bar at resistance → Sell on break of the pin bar's low

Stop Loss

Place stop loss beyond the pin bar's extreme (the wick tip).

Take Profit Targets

  • 1st target – Recent swing high/low

  • 2nd target – Next support/resistance level

  • 3rd target – 2× risk amount (minimum for valid setup)

Position Sizing

text

Risk Amount = Account Balance × (RiskPercentage / 100) Position Size = Risk Amount ÷ Stop Loss Distance (in pips × pip value)

⚠️ False Signal Warning Signs

Sign Why It's Weak
Pin bar in middle of a range No clear rejection level
Very small total range (<10 pips) Not enough momentum
Equal wicks on both sides Indecision, not rejection
Low volume (if confirmation enabled) May be random noise
Against higher timeframe trend Lower probability of follow-through

🐛 Troubleshooting

Problem Solution
No pin bars detected Lower  MinPinBarSizePips  or check chart timeframe (H1+ recommended)
Dashboard not showing Adjust  DashboardX  /  DashboardY  values
Volume confirmation too strict Set  RequireVolumeConfirmation = false
Too many/few patterns Adjust  MaxBodyRatio  or  MinWickPercentage
Small timeframe noise Switch to H1, H4, or Daily for cleaner patterns

📦 Installation (MT5)

  1. Download  PinMetrics.mq5  or  .ex5

  2. In MT5: File → Open Data Folder → MQL5 → Indicators

  3. Copy the file into the Indicators folder

  4. Restart MT5 or right-click in Navigator → Refresh

  5. Drag PinMetrics onto your chart

📄 License

This indicator is provided for educational and personal trading use only. Redistribution or commercial use without permission is prohibited.

PinMetrics – Measure. Analyze. Trade with data. 🎯


More from author
Auto SR Zones
Liam Alex Thomas Webb
The Auto Support/Resistance Zone  is an intuitive indicator for MetaTrader 5 (MT5) that enhances technical analysis by automatically creating customizable zones around horizontal lines on your chart. These zones, defined by a user-specified pip distance, visually highlight key support and resistance areas, helping traders quickly identify key price ranges and potential reversal areas. Key Features Dynamic Zone Creation : Automatically generates zones around horizontal lines, with adjustable p
FREE
Smart Bar Timer
Liam Alex Thomas Webb
The Enhanced Bar Timer is a versatile and customizable indicator for MetaTrader 5 (MT5) that provides real-time information about the current candle, including a countdown timer for the next bar, candle details, volume, and spread. Displayed in the user-specified corner of the chart window, this indicator offers a multi-line or single-line format, allowing traders to monitor critical market data at a glance, enhancing decision-making and trading efficiency. Key Features Real-Time Bar Timer : Dis
FREE
Clean Chart Toggle
Liam Alex Thomas Webb
5 (1)
The Clean Chart Toggle  is a user-friendly indicator designed to enhance your MetaTrader 5 (MT5) charting experience by providing a simple way to manage the visibility of indicators and objects on your chart. With a single button located in the top-left corner of the chart window, users can instantly hide or show all indicators and drawing objects, reducing clutter and improving focus on price action or specific analysis needs.  Key Features - One-Click Toggle Button: A button in the top-left
FREE
The Smart Fib Retracement Zones For MT5  Indicator is your ultimate MT5 companion for instantly visualizing key Fibonacci retracement data—right where you need it: on your zones, in real time. This tool automatically overlays actionable data on top of your Fibonacci retracement zones, such as level classification, pip distance, retracement percentage, and zone strength—cleanly positioned inside each zone. Whether you're scalping intraday or analyzing key Fibonacci levels on the daily chart, thi
CleanChartToggle
Liam Alex Thomas Webb
Clean Chart Toggle – MQL5 One-Click Chart Clutter Remover | Instant Clean Mode One click. Zero clutter. Instant clarity.   Overview Clean Chart Toggle   is a simple yet powerful MetaTrader 5 utility indicator that instantly hides all chart clutter with a single click. Perfect for traders who need a clean workspace for analysis, screenshots, or presentations, this indicator toggles between normal and clean chart modes with visual feedback and customizable controls. Stop wasting time manuall
FREE
Smart SR Levels Pro
Liam Alex Thomas Webb
Enhanced Support/Resistance Level Information Indicator for MetaTrader 5 Meet the Enhanced Support/Resistance Level Information Indicator , your ultimate chart companion for visualizing important S/R information in real-time. This MT5 tool automatically labels your horizontal lines with critical S/R metrics— support/resistance classification, touch count, real-time pip distance, level strength, and historical age —all at a glance tucked neatly beneath each level.  Built by traders, for traders
The Smart Supply and Demand Rectangle Tool Indicator is your ultimate MT5 companion for instantly visualizing key supply and demand data—right where you need it: on your zones, in real time. This tool automatically overlays rich, actionable data ontop of your zones, such as zone classification, pip distance, strength, and zone size—cleanly positioned inside each zone. No more clutter, no more guessing—just clear, dynamic insights to support your decisions. Built for Traders. Powered by Precis
Candle Pattern Odds
Liam Alex Thomas Webb
The Candlestick Pattern Odds Dashboard  is a intuitive indicator for analyzing and displaying real-time statistics for key candlestick patterns. This tool detects patterns such as Engulfing, Change of Character (CHOCH), Imbalance, Pin Bar, and Inside Bar, presenting their performance metrics in a customizable dashboard on the chart. Traders can gain insights into pattern reliability, win rates, and risk-reward ratios, making it an essential tool for data-driven trading strategies. Key Features
Filter:
No reviews
Reply to review