Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 4 Scripts | StepByStep | Trading Tool Update

Explore the latest free tools from the MQL5 community. Here's a new indicator, expert advisor, or script for MetaTrader.

Image for StepByStep

Not all the trading systems can be automated. Manual testing is often necessary. At the same time, the problem of "dipping into the future" exists that can significantly affect the testing quality. The script allows you to mimic trading showing historical quotes of various symbols and timeframes step by step. The feeding is managed by the user.


Composition:


IdleLib.dll - library to intercept pressing of keys in MetaTrader 4 windows. You should copy it to \experts\libraries

Reduce lag and improve accuracy with the NonLagMA Expert Advisor for MT4/MT5. Discover it.


StepByStep.mq4 - the script itself


Script inputs:


startdate - date and time when testing started


instruments - symbols for testing separated by spaces, for exmaple: "EURUSD GBPUSD USDCHF"


minperiod - minimum period for testing. It can be M1, M5, M15, M30, H1, H4, D1, W1.



После запуска скрипта Файл->Открыть автономно. Там выбираем файлы с приставкой "t_" и тайм-фреймом на 1 больше. Например, чтобы открыть EURUSD 30-минутный - нужно открыть файл "t_EURUSDM31.hst". Далее клавишей "6" на расширенной клавиатуре пошагово добавляем котировки. Шаг добавления будет соответствовать тайм-фрейму активного окна. Например, если нажали "6" в окне с часовым тайм фреймом, то шаг будет 1 час и т.д.

Level up your trading with professional RobotFX expert advisors and indicators. Visit robotfx.org for proven MT4/MT5 tools.

8145

Best MetaTrader Indicators + Profitable Expert Advisors