Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
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

Trading Session Boxes: Tokyo, London, New York MT4 - indicateur pour MetaTrader 4

Dragos Mihai Ofrim
Dragos Mihai Ofrim
DuoFX Labs: trading tools for MetaTrader 5 and MetaTrader 4
We build the tools we use ourselves: fast, clean and honest about what they do. Every product ships for both MT5 and MT4 from the same code, is tested on live charts before release, and gets updates when traders ask for something.
Vues:
75
Publié:
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Trading Session Boxes: Tokyo, London, New York MT4

Each session becomes a rectangle from its start to its end time, spanning the highest high and lowest low traded inside it. Optional labels show the session name with its high above the box and the low below it (the New York labels sit inside its box, since New York overlaps London and often shares its high or low). The box of a session in progress grows as new highs or lows print.

Session hours are whole hours in broker server time, not your local time and not GMT. The defaults suit a GMT+2 / GMT+3 server that follows US daylight saving, which many brokers use:

SessionServer hoursGMT in northern winter
Tokyo02 to 1100 to 09
London10 to 1908 to 17
New York15 to 2413 to 22

For another broker, look at the server time in Market Watch and shift the hours. A session can run past midnight: set an end hour lower than the start hour (for example 22 to 7).

Notes:

  • Boxes are drawn on M1 to H1. On H4 and above the sessions do not line up with the bars, so nothing is drawn.
  • Days with no bars (weekends, holidays) are skipped and do not count towards "Days to show".
  • Boxes use only bars that have already traded, so past boxes never change. All objects are removed when the indicator is taken off the chart.
  • On MT4 a filled box is drawn behind the candles; with "Fill boxes" off it is an outline.

Inputs

InputDefaultWhat it does
Days to show5How many trading days of sessions to draw
Tokyo start hour / end hour2 / 11Server time hours (0-24)
London start hour / end hour10 / 19Server time hours (0-24)
New York start hour / end hour15 / 24Server time hours (0-24)
Tokyo, London, New York colourdark blue, dark purple, dark greenBox colours
Fill boxestrueFilled boxes or outlines
Show labelstrueSession name, high and low on the chart
Label colourDark grayLabel text colour
Label font size8Label text size

The MT4 version has a "Note" text input at the top as a reminder that the hours are server time.

Candle Timer with Spread and Swap Countdown MT4 Candle Timer with Spread and Swap Countdown MT4

Countdown to the close of the current bar, the live spread in points and the time left until the next server midnight, when brokers roll positions over and charge swap.

TesterVsLive - match a Strategy Tester report against your real account, trade by trade TesterVsLive - match a Strategy Tester report against your real account, trade by trade

A free, read-only utility. It reads an MT4 Strategy Tester report (.htm) and matches every backtest trade with your account history. It then shows the match rate, missed and extra trades, entry and exit slippage, delay, real commission and swap, and how much of the backtest edge survives live.

Previous Day and Week High Low Levels MT4 Previous Day and Week High Low Levels MT4

Previous day high and low, previous week high and low and today's open as horizontal lines with small price labels, on any timeframe.

MACD Sample MACD Sample

Classical MACD Sample.