amrali / Profile
Friends
243
Requests
Outgoing
amrali
Published code ConvertServerTime
Function to convert server time from one broker's time zone to another.
Share on social networks
1516
173
amrali
Published code CBitBuffer Class - Data Serialization in MQL5
A class for reading and writing individual bits or bit sequences to and from a buffer.
Share on social networks · 3
6236
163
amrali
Published code Introsort (Introspective sort) using Function Pointers
A hybrid sorting algorithm that provide fast performance for sorting arrays of simple types, structures or object pointers.
Share on social networks · 3
1788
184
amrali
Published code Daily Vertical Lines
Draw daily vertical lines plus the day of week labels on the chart.
Share on social networks · 3
4876
854
amrali
Published code Print massive information (PrintXYZ) from the terminal
PrintXYZ() library to print massive information from the terminal.
Share on social networks · 2
2670
211
amrali
Published code High-Performance Time Functions (TimeUtils)
High-performmance functions for dealing with time.
Share on social networks · 3
5599
353
amrali
Added topic Bug report: Wrong TimeTradeServer() in indicators.
Forum on trading, automated trading systems and testing trading strategies Possible bug in TimeTradeServer amrali , 2024.04.05 02:10 I am sorry for my previous responses. I re-checked and it seems to be a bug that affects TimeTraderServer() only
amrali
Published code iForexSessions
Highlights the Forex Market Sessions (Sydney, Tokyo, London, New York).
Share on social networks · 3
18394
2580
amrali
Published code Determine Broker's Daylight (DST) schedule
Script to determine whether your Broker follows the US, UK or AU daylight (DST) schedule.
Share on social networks · 3
5749
522
amrali
Published code Local Timezones and Local Session Hours
Class to access to the local time for the specified location, as well as time zone information and the local trading session hours.
Share on social networks · 5
23665
1438
amrali
Published code TimeGMT library for the strategy tester
Static class to fix the TimeGMT() function during testing in the strategy tester.
Share on social networks · 3
8838
568
amrali
Added topic Bug: 'typename' keyword gives compile errors if used for identifiers inside namespaces
We faced a problem with 'typename' keyword gives compile errors if used for identifiers defined inside namespaces. See this example, it does not even compile namespace myspace { int x = 1 ; } void OnStart ( void )
amrali
Published code Benchmark
A set of macros to benchmark small code snippets for their execution speeds.
Share on social networks · 1
4145
207
amrali
Added topic array out of range in 'Introsort.mqh' (225,23)
When including the header <Generic\ArrayList.mqh> I have encountered an array out of range in 'Introsort.mqh' I had to replicate that error using this script: #include <Generic\ArrayList.mqh> int test_array[]; void OnStart ()
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 · 2
11437
208
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 · 2
4213
214
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 · 3
3866
207
: