Errors, bugs, questions - page 1546
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
In my indicator I don't use OnCalculate() at all lately - and nothing, the face only gets wider. :)
But seriously: useOnChartEvent (). Suitable for all cases in life (imho).
In my indicator I don't use OnCalculate() at all lately - and nothing, the face only gets wider. :)
But seriously: use OnChartEvent (). Suitable for all cases in life (imho).
Bug. Inaccurate, but highly disturbing and annoying.
Behind the zero (current) bar to the right, the terminal calculates time based on a seven-day week. In reality the trading weeks are five-day weeks. Because of this, almost all objects change their position on the screen when a new date arrives. They "move" and get distorted. As a programmer, I understand that this is difficult to fix for all traded instruments, but this parameter can be included in the settings so that users can select the optimal one.
For example,
торговых_дней_в_неделе = 5.
If we use a script, we can (the implementation is completely different - without changing TF)call OnCalculate of a particular indicator on a chart or all of them at once.
But this (script) variant is not suitable either, if the indicator should make the terminal call its own OnCalculate (MT5).
OnCalculate(параметры);
Have you tried it this way?Have you tried it this way?
Tried(CLASS::FullOnCalculate()), no use.
I can't find it, I've seen it on a forum somewhere
it is from a third-party function that OnCalculate(with parameters) is called;
int your function()
{
OnCalculate(with parameters);
}
Something like this
I can't find it, I've seen it on a forum somewhere
That's what I cited.
No, it is not
The indicator is recalculated in OnCalculate , only when a new quote arrives
Owl sees only the indicator buffers that are filled in at OnCalculate
i.e. if you call OnCalculate between incoming quotes
and pass the values from another function to the indicator buffers
etc.
Now the question is, how do you make the terminal immediately redraw the data that was calculated in this way?