Forum

buy order not place with USA30, but working with OilUsd

Hi, I have a very strange situation, the following code mt4 didn't place buy order with USA30, but did with oilusd or gold. pls help... thanks void OnTick () { if ( OrdersTotal ()< 1 ) { int buyticket= OrderSend ( Symbol (),OP_BUY, 1 ,Ask, 3 ,Ask- 100 * _Point ,Ask+ 100 * _Point

HELP: Place buy order when current ask is 100 days high

Hi, Im new with EA, could someone help me: Place buy order when current ask is 100 days high thx in advance. Zee

MQL4, I cannot load #import "user32.dll", error msg -- Cannot call 'user32.dll::RegisterWindowMessageW', 'user32.dll' is not loaded

#import "user32.dll" int RegisterWindowMessageW(string MessageName); int PostMessageW(int hwnd,int msg,int wparam,uchar &Name[]); got error message: 2019.05.18 12:30:16.944 2019.01.01 00:00:00 Cannot call 'user32.dll::RegisterWindowMessageW', 'user32.dll' is not loaded Menu

MQL4 how to identify in the past 10 days, MA 20days never below MA 10days?

MQL4 how to identify in the past 10 days, MA 20days never below MA 10days? which means the 20-day average line is always above 10-day average line. thanks

how to get lowest close in the last 30 days with MQL4. THX

how to get lowest close in the last 30 days with MQL4. THX