Question: What's the difference between loop functions and ontick functions?

Author: Neo1898, Created: 2018-07-30 09:10:14, Updated:

I've seen a lot of programs that use loops to do loops, but the standard is to use ontick, are they the same?


More

Neo1898In MT platforms before, it had to be a tick function, because every time the market data came in, that is, every time the tick data was added, you had to calculate the value of all the technical indicators, loop.

The Little DreamThis is just a different name for the function on the custom main loop, which can be called funcA if needed. This is not a special meaning.

The Little DreamYes, the policy architecture of FMZ is in the form of a query. You may have used a callback in the past, so you need a fixed main function name, which is the tick function you said. In FMZ, the execution process is entirely under the control of the programmer himself; the loop functions to be executed are also freely defined.