amrali
Friends
165
Requests
Outgoing
amrali
Added topic Bug in MetaEditor Build 3566: Wrong display of double floating point numbers in the debugger window
I am attaching a screenshot of the error. Open test.mq5 in MetaEditor. Put a breakpoint on line #6, then run the debugger. The string() function bug was fixed before in build 3210. Wrong display of double floating point numbers in Dialog boxes and
amrali
Added topic Serious bug in the OrderCalcProfit() function
According to the documentation of OrderCalcProfit , "The function calculates the profit for the current account, in the current market conditions, based on the parameters passed. The function is used for pre-evaluation of the result of a
amrali
Published code xoshiro256 Random Number Generator
The 64-bit xoshiro256** Random Number Generator.
Share on social networks · 1
1440
58
amrali
Added topic Bug: EnumToString(SYMBOL_SWAP_MODE_CURRENCY_MARGIN)
I found this bug when using EnumToString() to display the swap calculation mode of a symbol. #define PRINT(A) Print ( #A + " = \"" + (A) + "\"" ) void OnStart () { Print ( "Build: " , TerminalInfoInteger ( TERMINAL_BUILD ));
amrali
Published code Introsort (Introspective sort)
Sort the input array in-place using comparison function less.
Share on social networks · 1
1159
69
amrali
Published code Radix sort (The fastest numeric sort)
Sorts the values in the first dimension of a multidimensional numeric array in the ascending order.
Share on social networks · 2
1487
73
amrali
Added topic Bug in string() function. Wrong conversion of float -> string
Forum on trading, automated trading systems and testing trading strategies MT5/mql5 reported and confirmed bugs. amrali , 2022.02.17 15:33 Bug in string() function. Wrong conversion of float -> string. Build 3211 but this is not specific to this
amrali
Added topic How to get commission per lot in MQL5
Is there a programagic way (like SymbolInfoDouble, or AccountInfoDouble) to get the broker's commission per lot. From the market watch window, I can get it by right click on a symbol -> symbol specs. Anybody has an idea how the market
amrali
Published code String Manipulation Functions
A collection of useful string manipulation functions.
Share on social networks · 1
3113
257
amrali
Published code MultiSort - sorting algorithm
A sorter class to sort an array based on other arrays.
Share on social networks · 2
2608
193
amrali
Published code Print Closed Position
Print info about a closed position by its position ticket or identifier.
Share on social networks · 1
4941
432
amrali
Added topic Bug: function MathSample() does not generate correct results
The function MathSample() (defined in <Math\Stat\Math.mqh>) does not generate correct random samples. This a fix for the include file <Math\Stat\Math.mqh>: bool MathSample( const int &array[], const int count, int &result[])
Share on social networks · 1
12
amrali
Published code Forex Calculators
Margin Calculator, Point Value Calculator, Position Size Calculator, Profit Calculator and Swap Calculator.
Share on social networks · 3
18725
2868

amrali
Published code Currency Strength Index (CSI)
Trading the STRONG against the weak!
Share on social networks · 4
34489
6247
amrali
Published code Forex_Spread_Meter
MetaTrader 5 indicator that displays the spread meter on the chart.
Share on social networks · 1
13567
1916
amrali
Published code Daylight changes (summer time)
Compute the daylight saving time changes (start/end of the summer time).
Share on social networks · 1
3858
260
amrali
Published code Forex_Market_Hours_GMT_v4.0
The good old MT4 indicator! Now for MetaTrader 5.
Share on social networks · 1
20957
3748
amrali
Published code CSetFileReader
Class to provide simple reading mechanism from MetaTrader set files.
Share on social networks · 1
2605
119
amrali
Published code CHistoryPositionInfo Class
A class for easy access to the closed position properties.
Share on social networks · 1
5224
454
amrali
Published code Export Summary Grouped by Trading Days (MT4)
The script exports summary of closed trades grouped by each trading day to .csv file
Share on social networks · 1
7924
779
: