Serving Traders Since 2005
|
|
|
|||||||
| MetaTrader Expert Advisors Post and discuss the MetaTrader expert advisors here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Quote:
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account. |
|
||||
|
It's still daylight saving time in EST, so it's GMT-4 there. If your server is GMT+2 then it's obvious that you should put 6 in the difference parameter.
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account. |
|
||||
|
Is your Google broken? DST is active until the first Sunday of November.
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account. |
|
||||
|
hello, thank you for this trading method, with very interesting and cool approach.
i was trying to do a little backtest here... and i did'nt understand one thing - "replace the order selection by ticket with the order selection by index" i would be sincerely thankful if you could please explain this... |
|
||||
|
Currently it uses order ticket number to operate with the open position. This line "memorizes" the order ticket: ticket = fSell();
And this one closes the position using the order ticket number: OrderClose(ticket, Lots, Ask, Deviation); The other way to do it would be to use a Magic number (please see help on OrderSend() function) and cycle through all the currently open positions, comparing the Magic number with that of this EA, and closing the position by index. The cycle would look like this: MQL4 Code:
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account. |
|
||||
|
Hello,
i downloaded and installed teh EA but it trades not only on Wednesday but every day. Do I have to customize something? I am from Germany, so GMT+1 is applicable. Many thanks and best regards Ikaros |
|
||||
|
Ikaros, the only thing you have to customize is the Server_EST_Difference input parameter. It doesn't depend on where you are, it depends on where your MetaTrader server is. If the time in your platform is also GMT+1, then you have to set this input parameter to 6 (its default value).
What version of the MetaTrader platform are you using? How does it behave on other days?
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account. |
![]() |
| Bookmarks |
| Tags |
| audjpy, expert advisor, metatrader, mt4, mt5 |
| Currently Active Users Viewing This Thread: 2 (0 members and 2 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wednesday AUD/JPY Strategy | Enivid | Trading Systems and Strategies | 0 | 10th November 2009 15:09 |