Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Indicateurs

Intraday Volatility Profile - indicateur pour MetaTrader 5

Dario Cadeddu
Dario Cadeddu
Quantitative Trading Systems Developer focused on risk management, market regime analysis and structured trading workflows for MetaTrader 5.
Vues:
146
Publié:
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

How much does EURUSD usually move between 15:30 and 15:45? And is the current bar quiet or busy for its time of day?

IntradayVolatilityProfile_EURUSD

Intraday Volatility Profile answers both questions in a separate window:

  • Histogram: the TYPICAL range of each time slot, computed as the median (or mean) of the same slot over the previous N days. Slots that are much busier than the daily average (London open, US data releases) are highlighted in turquoise.
  • Orange line: the ACTUAL range of each bar.
  • Info text: the typical range now, the current bar compared with it (for example 1.35x), and the busiest and quietest times of the day.

When the orange line stays well above the histogram, the market is more active than usual for that hour. When it stays below, the session is quieter than normal.

Practical uses

  • Size stops and targets for the time you trade, not for a daily average.
  • See which hours are worth watching for your symbol, and which are mostly noise.
  • Spot unusual activity: a bar at twice its typical range is information.

How it is calculated

  • Range of a bar = high - low, in pips for 3/5-digit symbols, in points for other symbols.
  • Typical range of a slot = median of that slot's ranges over the previous N days (default 20). Only past days are used, so values never change after the fact.
  • Busy slot = typical range at least InpBusyRatio times (default 1.5) the average of all slots.
  • Times are server time.

Inputs

  • InpDays: days used for the typical range (20)
  • InpUseMedian: use median (true) or mean (false)
  • InpBusyRatio: highlight ratio for busy slots (1.5)
  • InpShowActual, InpShowInfo, InpInfoColor, InpInfoSize: display options

Timeframes: M1, M5, M15, M30, H1.

Notes

  • The profile describes what happened on previous days. It is not a forecast of the next bar.
  • Around daylight-saving changes the profile shifts by one hour for a few days, until the new days fill the window.

If you need a calibrated forecast of the next hour's range (with 80% and 95% bands), see VolBand Pro in my profile.

Rollover Cost Table - swap mode from the symbol, triple-swap day from the broker Rollover Cost Table - swap mode from the symbol, triple-swap day from the broker

An MQL5 indicator that draws a table on the chart with one row per open position and shows what one more night of holding it costs, in the deposit currency where the symbol's swap mode allows it. The swap mode and the two rates come from the symbol's own specification, and so does the triple-swap weekday; no rate is typed into the code. Where the symbol charges in points, a horizon column turns that night into the number of normal nights needed to repay one round turn, and a figure the terminal cannot supply is a dash with a reason, never a zero.

Trailing Stop Manager - ATR, Chandelier, swing, SAR, MA, break-even with costs Trailing Stop Manager - ATR, Chandelier, swing, SAR, MA, break-even with costs

Trails the stop loss of open positions with one of seven methods plus a break-even that includes the commission. Moves a stop only on a real improvement, never back, respects stop and freeze levels, limits requests. Restart-safe.

Spectar Lot Size From Stop and Daily Loss Room Spectar Lot Size From Stop and Daily Loss Room

A read-only script that works out a lot size from the cash you accept to lose and the stop distance, and shows how many such losses fit inside your own daily loss limit. Uses the symbol tick value, so it works for gold, FX and indices.

PassRecorder PassRecorder

A library for MetaTrader 5 that writes every pass of an optimization to a SQLite file: result, test statistics, your own metrics and the inputs of the pass. A demo Expert Advisor optimizes the Rosenbrock function in the mode "Math calculations".