Forum

System requirement for 99 charts with 99 EAs?

Hi. I'm running multiple EAs on each charts (on Live account). Now it is 70, and it will get more. As far as i know, the maximum number of chart in one terminal is 99. So far, I think my EAs haven't had big trouble, but recently I wonder that my labtop is sufficient for current system. My EA is

(Possible?) Script to extract the result which was generated in EA

I wonder this is possible. I run several same EAs on several charts for same currency. Each EA have their own independent position and trade. To avoid conflict between EAs, I use the MagicNumber as identifier through 'INPUT' when launch the EA. That is, Magic Number is assigned when the EA is

Why do I suffer slippage in my OrderClose() function?

Hi, all. I just wonder why I suffer slippage when I close the order. My OrderClose() function is like below. OrderClose(OrderTicket(),OrderLots(), TargetPrice,0 ,Red) As you can see, I defined the target price (like a limit order) and I allowed '0' for the slippage as I didn't want to close my order

"Cannot set timer" ???? in ontime function

Hello, I faced a strange error. I'm using ontime function based EAs and recently some EAs stopped with message "cannot set timer (xxx)". As you know, ontimer function requires 'EventSetTimer(xxx) to run the function repeatively. Have you guys ever met this kinds of error? Thank you for your feedback

Making variable EventSetTimer function?

Hi! I'm trying to build my first EA. Is there anyone who knows how to build the variable EventSetTimer function ? As you know, EvenSetTimer() is usually called in init() with fixed int variable, like EventSetTimer(60);.. But I'd like to make the 60sec to variable one by using another variable. So I