Forex Forum - EarnForex
Serving Traders Since 2005
 

Go Back   Forex Forum - EarnForex > MetaTrader > MetaTrader Expert Advisors

MetaTrader Expert Advisors Post and discuss the MetaTrader expert advisors here.

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 19th June 2010, 15:51
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,542
Thanks: 18
Thanked 20 Times in 16 Posts
Default

Quote:
Originally Posted by user666 View Post
Wich robot from www.earnforex.com works with 5 digit brokers ?
All should work fine 5-digit brokers. Please, report if some of them don't.
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account.
Reply With Quote
  #12 (permalink)  
Old 4th October 2010, 22:43
Default Avatar
Junior Member
 
Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry folks for a silly question , but this gmt offset really puts me off , my server which is alpariuk , its showing gmt offset 2 , now for the est setting , is it 5 or 6 , and when does the daylight settings change in the us ?
Reply With Quote
  #13 (permalink)  
Old 5th October 2010, 16:17
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,542
Thanks: 18
Thanked 20 Times in 16 Posts
Default

Quote:
Originally Posted by ratblat View Post
Sorry folks for a silly question , but this gmt offset really puts me off , my server which is alpariuk , its showing gmt offset 2 , now for the est setting , is it 5 or 6 , and when does the daylight settings change in the us ?
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.
Reply With Quote
  #14 (permalink)  
Old 5th October 2010, 17:44
Default Avatar
Junior Member
 
Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks admin, so it would be 5 if it was normal daylight , so when does it change back , month date ?

Last edited by ratblat; 5th October 2010 at 17:48.
Reply With Quote
  #15 (permalink)  
Old 6th October 2010, 06:00
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,542
Thanks: 18
Thanked 20 Times in 16 Posts
Default

Quote:
Originally Posted by ratblat View Post
Thanks admin, so it would be 5 if it was normal daylight , so when does it change back , month date ?
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.
Reply With Quote
  #16 (permalink)  
Old 6th October 2010, 16:22
Default Avatar
Junior Member
 
Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks admin...
Reply With Quote
  #17 (permalink)  
Old 20th May 2011, 21:43
Default Avatar
zbx zbx is offline
Junior Member
 
Join Date: May 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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...
Reply With Quote
  #18 (permalink)  
Old 21st May 2011, 13:28
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,542
Thanks: 18
Thanked 20 Times in 16 Posts
Default

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:
for (int i = 0; i < OrdersTotal(); i++)
{
   if (OrderSelect(i, SELECT_BY_POS, MODE_TRADES) == false) break;
   if ((OrderMagicNumber() != ThisMagicNumber) || (OrderSymbol() != Symbol())) continue;
   OrderClose(OrderTicket(), Lots, Ask, Deviation);
}
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account.
Reply With Quote
  #19 (permalink)  
Old 10th September 2011, 18:57
Default Avatar
Junior Member
 
Join Date: Sep 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Question: EA trades every day not only wednesday

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
Reply With Quote
  #20 (permalink)  
Old 11th September 2011, 11:45
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,542
Thanks: 18
Thanked 20 Times in 16 Posts
Default

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.
Reply With Quote
Reply

Bookmarks

Tags
audjpy, expert advisor, metatrader, mt4, mt5


Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wednesday AUD/JPY Strategy Enivid Trading Systems and Strategies 0 10th November 2009 15:09


All times are GMT. The time now is 02:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Inactive Reminders By Icora Web Design

SEO by vBSEO 3.3.2