Forum

Bar (Time) lag in CopyRates on symbol other then current chart in open prices only mode.

Take the following EA: #property copyright "Copyright 2022, MetaQuotes Ltd." #property link " https://www.mql5.com " #property version "1.00" input string inSymbolA = "EURUSD" ; input string inSymbolB = "GBPUSD" ; datetime MinLag = INT_MAX ; int OnInit () { return ( INIT_SUCCEEDED ); }

Issue with Least Square Regression code. Mismatch with Google doc LINEST

I have code a LSR function based off of https://techimperialist.com/ai-ml/a-simple-introduction-to-linear-regression-the-least-square-method/ //+------------------------------------------------------------------+ //| LStest.mq5 | //|

How to dynamically create a lookup table?

I am looking for a way to create a lookup table. Currently my logic is as folows: uint MagicScan( const ulong Magic = 0 ) { int s = 0 ; for (s= 0 ;s<EATotal;s++) if (System[s].GetMagic() == Magic) { return s; } return 0; } This function returns the index of the

Move/Copy file using DLL kernel32

I am trying to rename a file using kernel32 with following code: //+------------------------------------------------------------------+ //| JavascriptTest.mq5 | //| Copyright 2019, MetaQuotes Software Corp. | //|

Unable to write (or move) file with .js extension

//+------------------------------------------------------------------+ //| JavascriptTest.mq5 | //| Copyright 2019, MetaQuotes Software Corp. | //| https://www.mql5.com |

Is it possible to use expert .ex4 as resource?

Probably a long shot because mt4 docs says no. But still is there any way this could be done

MT5 Latest release version

Is there somewhere published the version history of MT5? The terminal is yapping for some time know for an update, but when i check latest release version the terminal writes in the journal my terminal is up to date (build 2085)

Issue with file save from tester to /MQL5/Files/

//+------------------------------------------------------------------+ //| file_test.mq5 | //| Copyright 2019, MetaQuotes Software Corp. | //| https://www.mql5.com |

Where do TP / SL orders rest when trading at CME

Like title. Do the orders rest at the exchange or broker