![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
The MovingInWL() function just goes through all open positions regardless of input filters sy,op,mn. This is also true for the attached example EA (page 55).
Help for the unintelligent.
Also "Very useful functions from KimIV", though not from this thread - reading INI files.
Fragment (enough to compile but not all for readability) of KimIV inluder
The script that calls the function to read an INI file
INI file itself
[TestSection] Action=Open Pair=EURUSD TradeType=Buy Volume=-0.06
What we do not like is a fragment of the log
12:49:14 Test IniFiles AUDUSD,H1: Пара = EURUSD 12:49:14 Test IniFiles AUDUSD,H1: Акция Пара = BuyТип = Buy
The question is why? Functions seem to be described correctly. When I read (after all calls) and then print double (Volume), all variables become equal to-0.06.
Bild 225.
The ArrayAvg() function.
This function returns the average arithmetic of the array elements.
CorrectTF() function.
Isn't 14 closer to 15 than 5?
For example, I entered 50 for clock instead of 60. Well... I kind of missed.
and the function will return 30. cool:)
isn't 14 closer to 15 than 5? and the function will return 30. cool:)
If you don't like it, post your rule and your code.
GetExtremumZZZPrice() function.
This function searches for an extremum of the standard custom ZigZag indicator and returns its price level. The function accepts the following optional parameters:
I wanted to use this function but ran across the following situation: when a new extremum appears, the price level does not change immediately but stays the same for some time. It disturbs me during testing. How to fix it?
I understand the rule in the code, but the code description has a different rule