Codes

SpreadProbe for MetaTrader 4

Just like internet speed test can tell you your internet speed, SpreadProbe can measure ask/bid spreads on the go

Simple tick data collector for MetaTrader 4

A simple tick data collector written in MQL4 for you to collect tick data on any symbol you choose

Forum

How to tell a submitted order is pending or in position

After submitting a limit or stop order , how do you know when it is executed? Would OrderOpenTime() gives an invalid datetime if it was pending? Thanks in advance

Why default values for function parameters do not work when function is defined in a library

abc.mq4: #import "abc.ex4" int CheckupTradability( bool silientCheck= false ); void DisplayAccountInfo(); #import abc.mq4: void DisplayAccountInfo() { } //+------------------------------------------------------------------+ int CheckupTradability( bool silientCheck) { return ( 0 ); }

Another soft spot of MT4/MQL4 ???

My previous posting titled "Multiple instances of EA" hasn't got an effective solution, Here comes another one... After attaching an EA to a chart, the EA will initialize itself every time you switch intervals (for example, M15->M1). By "Initialize", I mean it resets global and static variables and

Multiple instances of EA

Hello, I have a few questions about running EA in MT4: If I want to run an EA on many currency pairs, do I have to drag-n-drop it on every chart? Is there a simple way to run it on many pairs even if some of them do not have chart displayed on the terminal? When an EA running on multiple currency

Need clarification on pip and lot

Hello, If you search on the internet for the definitions of pip and lot, you will get SLIGHT different answers. When it comes to fx, accuracy is critical, so let take a closer look. Most websites say 1 pip = 0.0001 for most currency pair except those */JPY (0.01) while Point in mql4/5 has value

MarketInfo(Symbol(), MODE_POINT) failed to return valid value in MT4

Hello, Does anyone know why MarketInfo(Symbol(), MODE_POINT) returns zero for EURUSD, GBPUSD, and USDCHF? How it returns non-zero (0.001) for USDJPY. I use OANDA - MetaTrader Version: 4.00 Build 406. If you have used this function in MT4/MQL4 or MT5/MQL5, can you please let me know if it was a

Pay rate In Jobs

Hello, I know price for a programming job is in USD, but I'm not so sure about the rate unit, is it hourly or daily rate? Please make it clear if you know the answer. Thanks. Linx