[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 193

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
Thanks a lot Roman, it all worked out! :) My name is "RAVI".
Good afternoon, gentlemen.
I need your advice on the following question:
I am writing an EA and I ran into a problem. My Expert Advisor should perform calculations every minute for a given number of minutes. After that, all data should be reset and calculations should be performed from the beginning.
And so the cycle by cycle. The time cycle is from 5 to 60 minutes. Please advise me how to describe this correctly in the code?
For now the loop of 5 minutes looks like this:
I would be grateful for any help.
'MODE_HIGH' - variable expected C:\Program Files (x86)\FXstart - MetaTrader\experts\indicators\policyclics.mq4 (46, 52)
MODE_HIGH is the identifier taken from the corresponding table è....
Good afternoon, gentlemen.
I need your advice on this question:
I am writing an EA and I ran into a problem. My Expert Advisor should perform calculations every minute for a given number of minutes. After that, all data should be reset and calculations should be performed from the beginning.
And so the cycle by cycle. The time cycle is from 5 to 60 minutes. Please advise me how to describe this correctly in the code?
For now the loop of 5 minutes looks like this:
I would be grateful for any help.
I propose this solution:
I suggest this solution:
It's not working. Here's a screenshot:
The timing seems to be confused + after the end of the first cycle, a new one has not started.
I can't figure out how to calculate the lifetime from pattern formation to 0 bar.
If the pattern exists and there is no hard reference to price and time.
Good afternoon, gentlemen.
I need your advice on this question: How to write in the code of the Expert Advisor so that from the balance it was taking a predetermined amount, say our balance = $80 every time the balance = $80 + $10 Expert Advisor from the biggest minus took $5, reducing the lot and closing these 10 $ and a new report started at $85