Forum

Strategy-Tester: Get Use-Date from EA Code

Hello, Is there a way to retrieve the date-period over which EA is back-tested, from EA's code, at runtime? I'm referring to Strategy-Tester's Use-Date fields ( From , To ). Thanks

Is Access to Global Variables Thread-Safe?

Hello, Terminal global variables are available for concurrent access from all running EAs. Each EA runs on its own thread (as stated on official documentation). Is access (Read/Write) to global variables assured to be race-condition-free? More Generally: Can the MT4 terminal start processing a

Scrolling 2 Symbol-Graphs Together

Hello there, I have 2 (symbol) graphs open on MT4, representing offline-data. Is it possible to scroll them together, synchronously? In other words, when the timeline of one graph is manually scrolled, the timeline of the other is auto-moved along, with it. Thanks much, Simha

Downloading History-data for CFDs

B"H Hello all, I've managed downloading history -data using MT4's internal History-Center for several coin-pairs, but NOT even once for a CFD symbol (e.g. SPX500). It keeps opening a dialog stating: "There are no new data for symbol ...". How can back-testing on a CFD be performed? Is there another

Purchasing SP500 History-Data

Hello, I want to buy Indices M1 (bars) history-data of several years (primarily of SPX). Does anyone know where could reliable data be bought ? { Ofcourse it should be in MT4 supported format } Thanks much. P.S. I'm familiar with the disktrading.is99.com website and Olsen-Data company. Looking for

iCustom Return-Values Mismatch On-Graph Values

B"H Hello there, I have self-implemented the Bollinger bands indicator. Attaching it to symbol's graph produces exact results (I've compared them with those of the standard indicator-implementation supplied within the MT4 package). In other words, it works perfectly fine attaching it to a graph, as

Open[] Time-Series: Bid or Ask Rate?

B"H Hello, Couldn't find such an answer on the forum... Does the Open[] time-series hold bars opening Bid rate or Ask rate, or something else altogether? Thanks much

Constructing M5 History-Data Out of M1 History-Data

B"H Hello there, Assume I have reliable M1 history bar-data. Is it possible to generate reliable M5 bar-data out of it? For example, by applying the following conversion scheme: Observe 5 consecutive M1 bars on each iteration. On every iteration determine the attributes of a single M5 bar (Open

*** Allocating Arrays within the init Function ***

B"H Hello, Is there any restriction on accessing / allocating ( using ArrayResize ) local EA arrays from within EA's "init" method? It produces errors. Solution? Thanks, Simha

EA using a DLL: Memory Consumption

Simha : B"H Hello, Upon running my EA (which makes use of a single self-developed DLL) on a single symbol, the memory consumption of the MT4 terminal ( terminal.exe ) is raised by ~100[MB]. Running the same EA on another symbol (additionally) increases terminal's memory consumption by ~100[MB] more