Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 851
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
Put ontick instead of time[0] ?
from which bar does the indicator process the values at the start (and how do I change it)? can all but the 0th be counted in the init?
I have not seen the code of the EA and I don't know how it is implemented to control a new bar.
link to the advisor. The EA is great, by the way.
http://www.admiralmarkets.com.ua/media/Image/MQLabs/39_ag/Complex_Expert_V2.mq4
And a link to attached indicators.
http://www.admiralmarkets.com.ua/media/Image/MQLabs/39_ag/indicators.zip
The CrossMA indicator.
The code is very simple and everything is described.
But I can't make it trade on every tick.
Maybe it is in the indicator?
It has such a line:
// - 3 - ======================= Signals output ========================================
if (LastBar != Time[0])// Once per bar
{
Guys, a question about the tester. Is it possible to more smoothly adjust the speed of EA testing in visualisation mode via the EA itself? Thank you in advance.
Maybe there is a function that can be prescribed.
// - 3 - ======================= Signal output ========================================
if (LastBar != Time[0])// Once per bar
{
...
}
Yes, these lines should be commented out and the behaviour of the EA on ticks should be checked.
And in the indicator too
Yes, these lines should be commented out and the behaviour of the EA on ticks should be checked.
And in the indicator too
Tried it. No way.
Tried it. No way.
So in all indicators you need to correct, not only in cross.
I only use cross. To understand. Then in the others, if I get it right.
I tried everything. It still opens on the next candle (