Quote:
Originally Posted by richest
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
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
__________________
"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