Watch how to download trading robots for free
Find us on Telegram!
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
Scripts

LeadLagRelationshipTester - script for MetaTrader 5

Views:
4000
Rating:
(26)
Published:
2017.12.06 15:03
Updated:
2018.05.11 09:34
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Script for checking the LeadLagRelationship indicator, it is intended for sending quotes with a delay.

How to check: run the script and indicator with a common communication channel on the same instrument. Set the delay parameter in the script. After accumulating sufficient data, the indicator should show the delay specified in the script.


Script Parameters

  • inpTimerPeriod - period of the main timer in milliseconds.
  • inpUseMode - channel mode; 0 - file, 2 - global variables of the terminal. The channel mode is the method for delivering the quotes. The "file" method serves for delivery of quotes from external sources, while global variables are convenient for checking synthetic instruments.
  • inpFilename - name of the file to receive the quotes. It must have the .csv extension and should be located in (\Terminal\Common\Files). If the quotes delivery method using a file is selected, enter the file name in this parameter.
  • inpGlobalVariableAsk - name of the global variable for Ask, if the quotes delivery method using global variables is selected.
  • inpGlobalVariableBid - name of the global variable for Bid, if the quotes delivery method using global variables is selected.
  • inpSetLag - delay in milliseconds. This is the delay for sending the quotes.

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

PS Magicas - Three moving averages PS Magicas - Three moving averages

PS Magicas - Three moving averages that give target and possible entries.

CDictionary CDictionary

An implementation of the dictionary (associative array) data structure in MQL5, based on CArrayObj and CList.

Larry Conners RSI 2 Larry Conners RSI 2

Simple Expert Advisor based on the Larry Conners RSI 2 strategy.

Renko 2.0 Renko 2.0

A complete Renko chart indicator with wicks. Configure using Tick Size, Pip Size, Points or R. Now with Asymetric Reversals!