Loading…

Trade Frequency Speedometer

Overtrading rarely announces itself as a single bad decision - it shows up as a gradually rising count of trades against whatever is normal for that trader. A plain number on the chart is easy to ignore; a needle visibly climbing toward the red zone is not. This indicator counts today's market-order fills (server-day boundary), compares that count against a "normal" daily rate - either a fixed input or an automatically maintained trailing average over recent closed-trade history - and renders the ratio as a half-circle dial with green/amber/red tick zones and a needle. The dial's tick marks and needle are drawn as chart trend-line objects positioned by converting fixed screen-pixel coordinates to time/price on every redraw (since line objects are price/time anchored, not pixel anchored), and the whole dial is rebuilt both on a timer and on every chart scroll/zoom event, so it stays visually fixed on screen rather than drifting away from its intended position. Notes and limitations Server-day boundaries are used throughout (both for "today" and for the automatic norm's calendar-day buckets), which may not match the trader's own local calendar day. The automatic norm only sees history the terminal actually retains locally; a freshly connected demo/live account with little history will show an artificially low or zero norm until enough trading has happened. The dial always draws on the main chart window at a fixed pixel position; it does not currently support attaching to a subwindow.

Indicator · MT5 · v1.0 · Free

About Trade Frequency Speedometer

Trade Frequency Speedometer is an indicator for MetaTrader 5. It draws buy and sell arrows on the chart. It has 9 settings, such as Norm mode, Fixed norm per day and Lookback days. MQL source code included.

Files in the download: TradeFrequencySpeedometer.ex5, TradeFrequencySpeedometer.mq5, TradeFrequencySpeedometer.txt.

Settings

SettingDefaultWhat it does
Norm modeNORM_AUTOHow the "normal" daily trade count is obtained
Fixed norm per day5.0Used when InpNormMode = NORM_FIXED
Lookback days20Trailing window for the automatic norm, in calendar days
Gauge multiple2.0Dial's right-hand end = this many times the norm
Magic filter-1Only count trades with this magic number, -1 = all
Center x150Dial centre, pixels from the chart's left edge
Center y130Dial centre, pixels from the chart's top edge
Radius70Dial radius in pixels
Sample seconds5How often the trade count/dial are refreshed

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 5 open File → Open Data Folder, then go to MQL5 → Indicators.
  3. Copy the .mq5 file(s) there. Put any .mqh files in MQL5 → Include.
  4. Open the .mq5 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the indicator from the Navigator onto a chart and adjust the settings.

Download the PDF guide

Tags: Buy/Sell Arrows · MT5 Indicator · MQL5 Source Code

MetaTrader 4 & 5 indicators · PolyMaria