Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
8534
Rating:
(9)
Published:
2008.06.06 06:59
Updated:
2014.04.21 14:52
IdleLib.dll (60 KB)
StepByStep.mq4 (10.53 KB) view
StepByStep.zip (35.72 KB)
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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


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 час и т.д.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/8145

Interception Interception

Script interception of pressing keys or mouse buttons in the windows of MetaTrader 4. It can be helpful in writing controls.

Report Report

Report generator

HarVesteR HarVesteR

Combo of averages and MACD. All parameters are free to be changed.

Normalized Volume Normalized Volume

Indicator of the normalized volume