Discussion of article "Timeseries in DoEasy library (part 37): Timeseries collection - database of timeseries by symbols and periods"
Hi there... Can you please clarify where and how the spread multiplier is used in the library? I have looked around and it seems to be used primarily for error correction in CTrading::RequestErrorsCorrecting() and functions called from there. What is the actual purpose of the multiplier in this process?
engine.SetSpreadMultiplier(InpSpreadMultiplier);
Hi there... Can you please clarify where and how the spread multiplier is used in the library? I have looked around and it seems to be used primarily for error correction in CTrading::RequestErrorsCorrecting() and functions called from there. What is the actual purpose of the multiplier in this process?
If the StopLevel is set to zero on the server, then this does not mean that it does not exist. This indicates that this level is floating. And usually it is equal to two spread sizes. The multiplier is just needed in order to indicate for such a situation by how much the spread value needs to be multiplied in order to get the correct StopLevel level.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
New article Timeseries in DoEasy library (part 37): Timeseries collection - database of timeseries by symbols and periods has been published:
The article deals with the development of the timeseries collection of specified timeframes for all symbols used in the program. We are going to develop the timeseries collection, the methods of setting collection's timeseries parameters and the initial filling of developed timeseries with historical data.
These are all the improvements of the test EA.
Compile and launch it specifying the usage of the current symbol and the current timeframe in the parameters.
The following messages are displayed in the journal:
Configure using the current symbol and the specified timeframe list in the settings (the list features the main timeframes).
The following messages are displayed in the journal:
Configure using the current symbol and the full list of timeframes.
The following messages are displayed in the journal:
Configure using the specified symbol list and set three symbols EURUSD,AUDUSD,EURAUD in the settings. Also, configure using the specified timeframe list (main timeframes are specified in the list).
As we can see, the required timeseries are created depending on the symbols and timeframes specified in the EA settings. Timeseries creation time depends on the EA launch (cold/hot), as well as on whether the selected symbols and their timeframes were used before.The following messages are displayed in the journal:
Author: Artyom Trishkin