- Search Forex Factory
- 28 Results
- jimbofx7 replied Dec 9, 2014
Hi rockit, I think I fixed it... { if(OrderSelect(0, SELECT_BY_POS)) return; OrderSelect(ticket, SELECT_BY_TICKET); if(OrderProfit() < 0.0) { lot += 0.01; if (OrderType()==OP_BUY){ ticket = OrderSend(Symbol(), OP_SELL, lot, Bid, 2, Bid+SL*Point, ...
- jimbofx7 replied Dec 9, 2014
Hi rockit, the code works fine except the fact that every new trade has to be opened with the trend, that means: - if a long trade closes with profit, next trade is a long trade - if a long trade closes with loss, next trade is a short trade - if a ...
- jimbofx7 replied Dec 9, 2014
Hi rockit, thanks! Is this mql5-Code? Regards.
- jimbofx7 replied Jul 31, 2011
So what the right section, please?
- jimbofx7 replied Jun 8, 2011
Hi CodeMeister, thanks for the code. How can I place it into my EA? Please help again. Kind regards, jimbofx7
- jimbofx7 replied May 26, 2011
Hi guys, +173.05% so far. Kind regards
- jimbofx7 replied May 13, 2011
Hi Caillou, part of the success of the EA is the fixed ratio of lot size to balance. But I can program it that you can set lot size for your own. Kind regards,
- jimbofx7 replied May 11, 2011
Hi hanover, I donīt use stoplosses because the pairs hedge each other by buying a currency of one economic system and selling a currency of an economic system the is akin with the other at the same time. Please check the drawdown. The position ...
- jimbofx7 replied Apr 26, 2011
use this code: double dXPoint=1; //+------------------------------------------------------------------+ //| expert initialization function | //+------------------------------------------------------------------+ int init() { if ...
- jimbofx7 replied Apr 26, 2011
use this code: double dXPoint=1; //+------------------------------------------------------------------+ //| expert initialization function | //+------------------------------------------------------------------+ int init() { if ...
- jimbofx7 replied Apr 26, 2011
use this code: double dXPoint=1; //+------------------------------------------------------------------+ //| expert initialization function | //+------------------------------------------------------------------+ int init() { if ...
- jimbofx7 replied Apr 26, 2011
use this code: double dXPoint=1; //+------------------------------------------------------------------+ //| expert initialization function | //+------------------------------------------------------------------+ int init() { if ...
- jimbofx7 replied Apr 26, 2011
Thanks neomn, but there is no check, if there are open positions of one of the two magic numbers? We need different versions of: (int i=0; i<OrdersTotal(); i++) and after closing a position a code like i-- Do you know what I mean? Regards,
- jimbofx7 replied Dec 29, 2010
That sounds more logic. ;-) Thanks for the code. Iīll try it. Regards,
- jimbofx7 replied Dec 29, 2010
Hi bandung, many thanks but if I use the same magic number on both EAs I have always the problem, that the second EA doesnīt open any position if there are open positions of the first EA because of the magic number? Regards,
- jimbofx7 replied Dec 27, 2010
I need help another time. I want to run this EA on two different times a day but it opens only one buy and one sell position. I need Magic Number code that the EA open e.g. one buy and one sell position at 8 am and if I put the EA with another ...
- jimbofx7 replied Dec 23, 2010
Thatīs it! — Hi ecTrade, thatīs exactly what I wanted. Many thanks for your help and Merry X-Mas! Regards, Markus
- jimbofx7 replied Jun 3, 2010
I want to open 2 market orders at a given time. No stops. Buy and sell order at market at given time. The ENewsLucky set 2 stop orders. :-(
- jimbofx7 replied Jun 3, 2010
I want to open 2 market orders at a given time. No stops. Buy and sell order at market at given time. The ENewsLucky set 2 stop orders. :-(
- jimbofx7 replied May 30, 2010
Many thanks to your replys. Iīll check and see if I can work with that.