| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
e-Monday goes in different directions in 2 ac's
I just had a strange thing happen. I had e-Monday open a long position in eur at 1.2710 in a live ac, and at the same time in a demo ac it opened a short position at 1.2708. Allowing for spread, that's exactly the same price - I'm using MIG, which has a 2 pip spread on eur.
Does anyone understand e-Monday well enough to see how it could be going long in one account and short in another at the same time at the same price? I don't understand how that could happen. I checked settings, and they are identical in both accounts. TIA. |
|
|||
|
Quote:
Seems you had disconnection of MetaTrader on demo or live some sometime. |
|
|||
|
Quote:
I will come tomorrow at hme and will look at MetaTrader and will see the code in MetaEditor. |
|
|||
|
Quote:
Code:
int GetSignal() {
double op1=iOpen (NULL, PERIOD_D1, 1);
double cl1=iClose(NULL, PERIOD_D1, 1);
int bs=0;
if (MathAbs(op1-cl1)>RangeFriday*Point) {
if (op1>Ask) bs=1;
if (op1<Bid) bs=-1;
}
return(bs);
}
Code:
if (bs>0) .......... SetOrder(OP_BUY, Ask, ldStop, ldTake); if (bs<0) .......... SetOrder(OP_SELL, Bid, ldStop, ldTake); If open price on D1 timeframe (first close D1 bar) is more than ask price on M15 (at 11 o'clock Metarader's time according to my pre-set) - EA may open buy. If open price on D1 timeframe (first close D1 bar) is less than bid price on M15 (at 11 o'clock Metarader's time according to my pre-set) - EA may open sell. There are the other condition for buy and sell and it is main ones. So all you need to do it to check the price in your broker with this condition for demo and real account. Seems the data was different. |
|
|||
|
Quote:
|
|
|||
|
Quote:
EURUSD: it was sell at 11:00 am in 27th of November (Monday) and was closed at 17:26 in the same day with -40 pips loss. But this EA is still profitable. See the statements. Last edited by newdigital; 11-28-2006 at 08:20 AM. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| To trade or not to trade Indicators? | yaniv_av | Indicators - Metatrader 4 | 1 | 03-27-2007 01:01 PM |