Forum

I need to open a position that is larger than the broker's limit

Hi, everyone. I'm wondering if someone can help me on this. Suppose I need to open a 112 lot buy trade while the broker only allows max 50 lots in a single trade. So I need to break up into 3 trades 50 lot, 50 lot and 12 lots. the following code does not work and I don't know why. In back test it

My code won't execute any SELL trade - MQL4

Hi Folks, I've been working on this EA. the idea is to follow the trend and enter at pull backs. The problem is when the trend stalls and reverse, we don't know whether it's for real or just another pull back. So I programed the EA to enter an opposite trade with larger position with the hope that

Can I buy Additional activations?

Hi, I bought an ea that compliments my trading. I love it. I have 2 activations left. But I fear the ea might be taken off the shelf and would like to buy 5 more activations. Can I do it wth the same MQL5 id ? If yes how? Thanks and regards

execute a new entry only if there has not been closed order on the current bar

Hi guys, need some help here. I made an momentum based EA (nothing exciting, I know). When take profit has occurred, The EA is supposed to wait for a fresh bar to enter the next trade. So here is my code at the begining of the start() bool CanTrade = True; int OHTotal = OrdersHistoryTotal(); for

How do I get last tick prices in mql4?

Hi Guys, Newbie in mql4. I'm interested in getting the following information from a non-current tick, bid, ask, spread, I understand I can get spread, bid and ask prices for the current tick with the default mql4 function "marketinfo()". how can I get the same for the previous ticks though? rdgs