[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 403
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
I took a piece of code with for from the ready-made function http://fxnow.ru/blog.php?user=Yuriy&blogentry_id=66...
And what about return()? To make it work?
You have to start with the logic. What you want to get and how.
Please tell me why it is impossible to equate the value of one MA to another and open a trade in case they are equal. It only works with <= or >=, but nothing else.
Подскажите почему нельзя приравнять значение одной МА к другой и в случае их равенства открывать сделку. У меня работает только со знаками <= или >=, а никак иначе.
it is not recommended to compare double variables
Variables of type double are not recommended to be compared
So what is the right way to write it if I need a crossover and not more or less?
And one more thing, is it possible to count the number of trades for the time equal to: from the first MA crossing to their recrossing?
If yes how...
Так как правильно написать если мне нужно именно пересечение, а не больше или меньше?
И ещё один момент можно ли считать количество сделок за время равное: от первого пересечения МА до их повторного пересечения?
Если да то как...
one of code variants
Thank you sanyooooook, if I may, what does the last digit in
ma=iMA(....... ...PRICE_CLOSE,.... this 5);
And about the number of deals, is it possible to set the number of deals to be only 1 or 2 or 3 during the MA
Спасибо sanyooooook, если можно, что означает последняя цифра в
ma=iMA(....... ..PRICE_CLOSE,.... вот эта пятёрочка 5);
И ещё на счёт количества сделок, можно прописать, чтоб их было например только 1 или 2..3 за время перечения МА
In the MetaEditor, highlight the text you are interested in in this case iMA and press F1, the information about the highlighted line will appear at the bottom of the window
In the meta-editor, highlight the text you are interested in in this case iMA and press F1, the information about the highlighted line will appear at the bottom of the window.
How it in Russian to understand my friend, I've read it, but I can't understand it...
Как это по русски понять дружище, я это уже читал всё равно допереть не могу...
In simple terms, this is the number of the bar from which the indicator signal is taken. The current bar is zero, then the count is deep into history.
It is easier and quicker to check the intersection in a different way
The speed is faster. Logical complex expressions take longer than simple ones. Multiplication is faster than logical