[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 36

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
Good day! I can't figure out the 'BarsSince' function - function is not defined C:\FXstart\Documents\experts\other.mq4 (72, 96)
I do not fully understand how to write it, it is in the editor of Metatradera remains in black letters and so barssince, I found it on google on the question (how to remember the bar), it turns out that the function memorizes the bar under certain conditions, gives a value for how many bars passed from sabitiyi, let's say the intersection of one midway another, mentioned a dozen forums, and in Help find it ne magu!
I am stupid, it is a mystery. I am still thinking on my own.
There's no need to think about it - it's not a function.
P.S. See similar ones in the help...via F1.
What is this function?
I think the first thing to do was to ask what the function is ;)
https://book.mql4.com/ru/basics/functions
https://ru.wikipedia.org/wiki/Функция_(programming)
You'd find out why.
it stays in black letters in the Metatrader editor
But it's not mql4, and I didn't get it right away! I have a low fever, like 37.3, a little bit of a condition.
I am a newbie! Can you help me understand why the Combo_Right EA is not optimised? I did everything as prescribed on http://bigfx.ru/node/590
I have added all of the values pass, start, step, stop and all the checkboxes are correct, but when I put a tick in the "optimization" checkbox and press start, no matter how many times I run the script, no results.
What needs to be fixed?
{double New_Time;
//----
for ( int i = 0; i ==30; i ++ ){New_Time = Time[i];Alert("New_Time",New_Time);Print ("New_Time",New_Time);}
//----
return(0);
}