I would like to know. How can we contact the complainant? I think it's one of you. I wrote to tech support a month ago about acquiring counselor Sabit Dossayev. You deleted my letters. Here is a screenshot of Sabit Dossayev's NEO. Show me personally at least a rough one that you have on your marker. And will be able to start trading from 26 euro cents.
Can you tell me, is there an easy way to programmatically run OnCalculate() in MQL5?
I know about tick emulation using ChartSetSymbolPeriod(). But it is not exactly the same - there is a full restart of all indicators from scratch in the window with passing OnInit() and OnDeinit().
Need a way to run OnCalculate() with saving prev_calculated and all worked flags and static values in functions. Such a need arises in the multi-currency indicator - it needs to be run forcibly if a normal tick has come to the adjacent window by another symbol .
Can you tell me, is there an easy way to programmatically run OnCalculate() in MQL5?
I know about tick emulation using ChartSetSymbolPeriod(). But it is not exactly the same - there is a full restart of all indicators from scratch in the window with passing OnInit() and OnDeinit().
Need a way to run OnCalculate() with saving prev_calculated and all worked flags and static values in functions. Such a need arises in the multi-currency indicator - it needs to be run forcibly if a normal tick has come to the adjacent window by another symbol .
But there is no data in OnCalculate() for other tools. What's the use of calling it if there's nothing there...
Perhaps I don't know everything. As far as I know, there is no data on other instruments in any function.
In my case, getting prices for other symbols is arranged in this way:
double close = iClose (symbol, TF, shift); // close бара заданного графика
This is the code that runs as part of the OnCalculate() execution. If I had a way to run OnCalculate() on the arrival of a tick in an adjacent window, I would easily process data from all windows in time. But since OnCalculate() is only called by its tick, my indicator knows nothing about events in neighboring windows. The price there has already gone long ago, and it is still sleeping and waiting for its own tick to wake it up...
More. If you leave OnCalculate() out, it probably makes sense to use OnBookEvent() in my case ?
Perhaps I don't know everything. According to my understanding, there is no data for other instruments in any function.
In my case, getting prices for other symbols is organised like this:
This is the code that runs as part of the OnCalculate() execution. If I had a way to run OnCalculate() on the arrival of a tick in an adjacent window, I would easily process data from all windows in time. But since OnCalculate() is only called by its tick, my indicator knows nothing about events in neighboring windows. The price has already passed there but it is still sleeping and waiting for its own tick to wake it up...
Also. If you leave OnCalculate() out, it probably makes sense to use OnBookEvent() in my case ?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I remember complaining about you in one of the threads.
Let your complainer answer for what he said!!!
He never bought anything from us.
So this is just a dirty attempt to take out the competition.
I demand that my products be returned to the Market. This is an outrage!I sympathise with you, friends. But you are talking to users just like you here.
If you have a problem, write to servicedesk.
I sympathise with you, friends. But you are talking to users just like you here.
If you have a problem, write to servicedesk.
It says there. If it's not on the list you can post it on the forum!
Can you tell me, is there an easy way to programmatically run OnCalculate() in MQL5?
I know about tick emulation using ChartSetSymbolPeriod(). But it is not exactly the same - there is a full restart of all indicators from scratch in the window with passing OnInit() and OnDeinit().
Need a way to run OnCalculate() with saving prev_calculated and all worked flags and static values in functions.
Such a need arises in the multi-currency indicator - it needs to be run forcibly if a normal tick has come to the adjacent window by another symbol .
Can you tell me, is there an easy way to programmatically run OnCalculate() in MQL5?
I know about tick emulation using ChartSetSymbolPeriod(). But it is not exactly the same - there is a full restart of all indicators from scratch in the window with passing OnInit() and OnDeinit().
Need a way to run OnCalculate() with saving prev_calculated and all worked flags and static values in functions.
Such a need arises in the multi-currency indicator - it needs to be run forcibly if a normal tick has come to the adjacent window by another symbol .
Multicalculate has to work in a timer.
Alexei, thank you for your reply.
It may be so. And then this chagrin with prev_calculated and data access, which gives OnCalculate(), needs to be arranged independently?
Before I start these redesigns, someone tell me that it's not possible to call OnCalculate() programmatically...
Alexei, thank you for your reply.
It may be so. And then this chagrin with prev_calculated and data access, which gives OnCalculate(), needs to be arranged independently?
Before I start these redesigns, someone tell me that it's impossible to call OnCalculate() programmatically...
But there is no data in OnCalculate() for other tools. What's the point of calling it if there's nothing there...
But there is no data in OnCalculate() for other tools. What's the use of calling it if there's nothing there...
Perhaps I don't know everything. As far as I know, there is no data on other instruments in any function.
In my case, getting prices for other symbols is arranged in this way:
This is the code that runs as part of the OnCalculate() execution.
More.If I had a way to run OnCalculate() on the arrival of a tick in an adjacent window, I would easily process data from all windows in time.
But since OnCalculate() is only called by its tick, my indicator knows nothing about events in neighboring windows. The price there has already gone long ago, and it is still sleeping and waiting for its own tick to wake it up...
If you leave OnCalculate() out, it probably makes sense to use OnBookEvent() in my case ?
Perhaps I don't know everything. According to my understanding, there is no data for other instruments in any function.
In my case, getting prices for other symbols is organised like this:
This is the code that runs as part of the OnCalculate() execution.
Also.If I had a way to run OnCalculate() on the arrival of a tick in an adjacent window, I would easily process data from all windows in time.
But since OnCalculate() is only called by its tick, my indicator knows nothing about events in neighboring windows. The price has already passed there but it is still sleeping and waiting for its own tick to wake it up...
If you leave OnCalculate() out, it probably makes sense to use OnBookEvent() in my case ?
Forum on trading, automated trading systems & strategy testing
FAQ from Beginners MQL5 MT5 MetaTrader 5
Alexey Viktorov, 2021.09.24 12:24
The multicooker should work in a timer.