
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
However, I have not. I take off the indicator, the brakes continue for some time.
Maybe so, but for the conclusions you need to disable graphics in the indicator and check.
That is why normal programming languages have introduced the possibility of working with threads and GUI is always displayed in a separate execution thread )). Now it turns out that MQL5 has a possibility to display graphics for visualization and control but they hinder the execution of the main program logic on fast algorithms.
I have decided to make one more test without graphics and, if slowness occurs, I will change the target platform to something that is used by exchange traders.
It's the Market Watch, common to all symbols, that's slowing down!
i wonder how it can freeze? it's a terminal entity and it is executed in a separate thread, not in a user thread
Forum on trading, automated trading systems and testing trading strategies
Testing 'CopyTicks'
fxsaber, 2016.11.23 08:47
Captured on video
The yellows are a fresh tick story. Can clearly see the Market Review slowing down. And when it comes out of the brake, the tick history retroactively changes. I.e. when Market Watch slows down and you can't get data through the tick history.
To reproduce the brakes, run this EA
{
EventSetMillisecondTimer(50);
}
void OnTimer()
{
MqlTick Ticks[];
Comment((string)TimeCurrent() + " " + (string)CopyTicks(_Symbol, Ticks));
}
on a symbol which has no history in Bases.
Without removing the EA, switch to another trade server with the same symbol.
If the braking does not work, switch to another trade server again. Perhaps, it may have another symbol.
I do not get the brakes the first time, but after a little switching (many accounts on different servers open) for a minute I manage to create a situation where the market overview brakes. Not as obviously slow as ZoomPrice allows (same playback method, but just this indicator instead of EA), but still better than nothing.
To reproduce the brakes, run this EA
{
EventSetMillisecondTimer(50);
}
void OnTimer()
{
MqlTick Ticks[];
Comment((string)TimeCurrent() + " " + (string)CopyTicks(_Symbol, Ticks));
}
on a symbol which has no history in Bases.
Without removing the EA, switch to another trade server with the same symbol.
If the braking does not work, switch to another trade server again. Perhaps, it may have another symbol.
I do not get the brakes the first time, but after a little switching (many accounts open on different servers) for a minute I manage to create a situation where the market overview brakes. Not as obviously slow as ZoomPrice allows (same playback method, but just this indicator instead of EA), but still better than nothing.
Today's release of the 1485 build features improvements to CopyTicks:
Today's release of the 1485 build features improvements to CopyTicks:
I used to write here about Opening that the volumes in ticks weren't coming - zero. Checked yesterday - all OK, must have updated.
Maybe an offtopic, but kinda not really. Where can I find an Open Interest indicator for mt5 with history saved? (If i want to use it, i will need an mt5 mt4 open interest indicator and i dont know how to save it. .SymbolInfoDouble(_Symbol,SYMBOL_SESSION_INTEREST,interes) works fine (data as in queue), . Or at least where to find saved candlestick data by si, rts by open interest ?
I used to write here about Opening that the volumes in ticks weren't coming - zero. Checked yesterday - all OK, must have updated.
Maybe an offtopic, but kinda not really. Where can I find an Open Interest indicator for mt5 with history saved? (If i want to use it, i will need an mt5 mt4 open interest indicator and i dont know how to save it. . SymbolInfoDouble(_Symbol,SYMBOL_SESSION_INTEREST,interes) works fine (data as in QuickKey), . Or at least where to find saved candlestick data by si, rts by open interest ?