Questions from Beginners MQL5 MT5 MetaTrader 5 - page 176
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Recording the formation time of the maximum is not a problem. It is not clear how to tell the program to search in the next 8 bars for the minimum. That is, the bars before the maximum are not counted, the search is made in the bars after the maximum. The counting by time from and to is not suitable because it is impossible to specify the number of bars. The last bar to search in the chart is zero, let's assume there are no bars after the last arrow yet.
Found the max -> remember the bar number. We subtract 8 from the bar number -> now we have the limiting bar number. If you have bar numbers, it is not a problem to know all characteristics of these bars (Open, Close, ..., Time).
Checked, everything seems to be correct.
In addition. If I learned correctly the maximum bar index increases with each bar, we subtract 8 and this number is linear (constant).
If we started with the maximum with number 1, we will only get the search, when the maximum becomes number 8? So the function does not calculate minus values?
Or something I don't understand.
If the maxima bar is number 1, then we get -7. And after zero, the search will still be done.
Checked it out, everything seems to be correct.
In addition. If I learned correctly the maximum bar index increases with each bar, we subtract 8 and this number is linear (constant).
If we started with the maximum with number 1, we will only get the search, when the maximum becomes number 8? So the function does not calculate minus values?
Or maybe I misunderstood something.
Good afternoon, I can't find where to write a question about subscribing to signals. Can you please tell me the right place to write?
I have subscribed to A 20 Pip Per Day Strategy signal:
I subscribed to A 20 Pip Per Day Strategy signal. Provider of this signal trades with 600 (initial) $900 lot 0.10-0.15.
I have a deposit of $320 (real). (Real) and 95% of depo use, traded lot all the time comes out only 0.01. Very small. I would like to have at least 0.05 - 0.1.
I understand that it is determined automatically, but maybe you can still do something?
Thanks in advance for the tip.
Good afternoon, I can't find where to write a question about subscribing to signals. Can you please tell me the right place to write?
...
See Help:Example: Indicator showing bar numberhttps://www.mql5.com/ru/docs/array/arraysetasseries
I solved the problem by adding a new bar checkbox. At each new bar I add one bar to the bar index and subtract this amount from the maximum bar index.
This construction does not work in the script, but it works in the Expert Advisor.
Can you tell me why I can't buy a product in the market when there are more credits in my account than the cost of the product? It says: You have insufficient funds in your wallet, please refill your account. ?? Where do I write with this problem? To whom?
Servicedesk is in your profile.
When I try to copy from MT4 terminal files (like experts-presets) sets with my settings to my desktop or another file, my comp says that it cannot find paths to these files.
Help, please, I'm already going crazy :( Is it a compatibility problem between MT4 and Windows 8 or something else?
Many thanks in advance for the help.