
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Keep hiding the code?
Do you even read the posts?
You shouted and called me a Chukchi, but the problem is not solved!
I haven't written the history download yet, but the data is in the terminal, and it's NOT coming out of it the first time!
into pocket|edit|delete
Can someone please explain:
Why the function with SERIES_TERMINAL_FIRSTDATE identifier, when there is data
in the terminal returns FALSE?
Can someone please explain:
Why the function with SERIES_TERMINAL_FIRSTDATE identifier, when there is data
in the terminal returns FALSE?
5 sec. I'll throw in some links...
From Data Access Organisation Help --> Example script for downloading history:
Everything happens exactly as it says in the documentation. :)
Sketched an indicator and an Expert Advisor for checking + the result on the video.
1) First I cast it to the chart of the Expert Advisor that has the OnTick function inside it that works for 20 seconds.
The result is that the chart continues working and displays everything as it should be. The chart also works as expected.
2) Then we apply to the chart the indicator that has theOnCalculate function for 20 seconds.
The result - the chat hangs. At the same time the next chat with the same symbol that has a different period is also suspended. Glass continues to work as it should. After the function has worked everything goes back to normal.
3) The video does not show it - but if you cast an indicator on one chat (set 60 sec), and an EA on the other - the EA does not start working until the indicator malfunctions on another chat!
Attached the video separately - it's slowing down in my browser.
No shit, where is the multithreading gone ?!
Until the indicator works, the ticks don't reach the EA!
Where the hell did the multithreading go?!
Until the indicator works, the ticks don't reach the EA!
Where the hell did the multithreading go?!
Until the indicator works, the ticks don't reach the EA!
It's always been like this.
Bids are getting to the cup, it just doesn't show up on the chart.
The EA's ticks don't work. And everything else on the chat. I have not checked timer and custom events.
Help Data access organization --> Example of script for loading history:
Also from help.
...The service files in HCC format act as a source of data to build the price data for requested timeframes in HC format. The data in the HC format are timeseries, which are maximally prepared for quick access. They are created only at requests of a chart or mql5-program in the volume not exceeding the "Max bars in charts" parameter, and are saved for further use in files with the hc extension.
To save resources, the data on the timeframe are loaded and stored in the RAM only when required. In case of long absence of requests the data are unloaded from the RAM saving them into a file. Data for each timeframe are prepared independently from the ready data for other timeframes. The rules for data preparation and availability are the same for all timeframes. I.e., despite the fact that the unit of data storage in the HCC format is a minute bar, the availability of data in the HCC format does not mean the availability and accessibility of the HC format data for the M1 timeframe in the same volume.
Can someone please explain:
Why the function with SERIES_TERMINAL_FIRSTDATE identifier, when there is data
in the terminal returns FALSE?
From Data Access Organisation Help --> Example script for downloading history:
Here we go. You are on the right track. To check how exactly the terminal works, rather than how you imagine it, a simple algorithm for checking.