Thread: 10points 3.mq4
View Single Post
  #3191 (permalink)  
Old 01-06-2008, 02:47 PM
davidke20's Avatar
davidke20 davidke20 is offline
Senior Member
 
Join Date: Sep 2006
Location: 38° 53′ 51.61″ N, 77° 2′ 11.58″ W
Posts: 1,480
davidke20 is on a distinguished road
Quote:
Originally Posted by richest View Post
Yep David, probably it's even better when we can select how many currency pairs maximum allowed to enter the trade. It will definitely save us the trouble from the martingale effect since we can estimate the maximum drawdown resulted from the trade entered.
OK. But I'm lazy to think of the logic to let you select how many currency pair to allowed to open trade at a time. Because we also involved with multi positions, and multi positions + multi pair control, it will be multi headahce to try to find a way to work with the orders handling routine.

Quote:
Originally Posted by Cross View Post
Yes David that's it.
With this version we have to wait some time before MACD indicator allows the first trade. So you are tempted to have several charts running because you never know which one starts first. Nevertheless after that happen it is better to avoid the other charts to open new trades before the first chart closes all open lots.
Right. So here we are. version 0.04 with currency pair control. If you would like to spread this EA to across the 19pairs in IBFX, you'll need to specify them with the same MagicNumber, in order to let the EA know all these are running with the same trading logic. 1 currency pair at a time, so it will not over trade your account.

Like wise, if you wanted to let the EA trade EURUSD and GBPUSD togather, you can change the magic number, then they will not interfere with each other. They will both open their own trade based on the MACD criteria, and also will manage their own trade.

Regards

David
Attached Files
File Type: mq4 10p3v0.04.mq4 (11.1 KB, 578 views)
__________________
"All through time, people have basically acted and reacted the same way in the market as a result of: greed, fear, ignorance, and hope. That is why the numerical formations and patterns recur on a constant basis." - Jesse Lauriston Livermore

THE FOREX KNIGHT
Reply With Quote