Forum

Unable to use Counted Function with OnTick

Hi I am in the process of learning MQL4 and would like to seek advice on how and where to define the functions properly in my EA as I am struggling to get it to work. Below is the general sequence of events I am trying to code. 1. On every tick, count the number of open buy/sell orders 2. If the

Issues with Random MQL4 EA

Hello I just started MQL4 recently and being the complete newbie that I am, I would like to ask some help on the code below. Basically I am trying to have my EA randomly choose buy/sell on every tick and enter an order until it reaches the max number of orders . However after running the code on