[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 409
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
a little change
datetime Timm = TimeCurrent();
If you have statistics on the frequency of different values of a[i], try putting the more frequent ones at the beginning of the array (or switch).
It's about this code that's posted in the correspondence, not in the file.
Thanks for the tip. I'm thinking of making it all as a library in general. The Expert Advisor is supposed to work on 4 pairs, so it does not make sense to create and initialize completely the same arrays in several instances. But here is another question: if at one and the same moment of time a request is received from several Expert Advisors to one and the same library - won't it cause any unpleasant consequences or slowdowns?
- files with names of pairs used are created manually (EURUSD.txt, etc.)
- The inite detects a chart symbol and forms the name of the requested file
- The information from the matching chart file is read into arrays
- the arrays are used as intended in the main part of the code
Good afternoon, any advice on how an advisor can get a signal from an indicator?
by an advisor to get a signal from an indicator site:mql4.com
Hi, I have a burning question) How to make restriction on deals inside of one bar? In other words, how would the IF code (last trade open time < last bar open time m15 period )
1. Open time of bar https://docs.mql4.com/ru/series/iTime
2. Run through all open orders and compare their open times https://docs.mql4.com/ru/trading/OrderOpenTime
3. go through all the closed orders and compare their open time
and the advisers don't work. Can you tell me what the problem is?
Lookhere.