Forex



Go Back   Forex Trading > Discussion Areas > Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 06-13-2006, 02:12 PM
dr_waleed's Avatar
Junior Member
 
Join Date: May 2006
Location: EgypT
Posts: 9
dr_waleed is on a distinguished road
expire period ?

hello ,

please , how can i add an expire period to my EA that found in attachmet ?

what is the function ? how can i add it ? and how can i sure from its working?

thanks alot
Attached Files
File Type: mq4 Education EA.mq4 (3.3 KB, 61 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 06-13-2006, 03:20 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,058
Blog Entries: 241
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by dr_waleed
hello ,

please , how can i add an expire period to my EA that found in attachmet ?

what is the function ? how can i add it ? and how can i sure from its working?

thanks alot
There is thread about it here.
And you may see Codersguru site as well concerning this subject http://www.metatrader.info/node/132
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 06-13-2006, 03:27 PM
raff1410's Avatar
Senior Member
 
Join Date: May 2006
Location: 24°10' E 54°24' N
Posts: 201
raff1410 is on a distinguished road
Wink Hmm............................................... ..

Let's say you want to protect profitable EX4 file ...
You must change int start() section...

//-------->
int start()
{
if(Year()>2006 || Month()>7)
{
Alert("This EA was expired! Please re-new your licence.");
return(0);
}


// put code here

}
//-------->


It will work from 2006.01 to 2006.07...
THNX
Raff
__________________

Last edited by raff1410; 06-14-2006 at 08:17 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 06-13-2006, 04:34 PM
dr_waleed's Avatar
Junior Member
 
Join Date: May 2006
Location: EgypT
Posts: 9
dr_waleed is on a distinguished road
Thanks guys

i learn the mql4 and expert programing

just i want to know every thing

thanks alot
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 06-13-2006, 07:00 PM
Senior Member
 
Join Date: Feb 2006
Posts: 587
Michel is on a distinguished road
Quote:
Originally Posted by dr_waleed
Thanks guys

i learn the mql4 and expert programing

just i want to know every thing

thanks alot
Yes, to protect an EA is the first thing to learn...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
PROFITABLE.ex4


Currently Active Users Viewing This Thread: 1 (0 members and 1 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 Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Whose Demo Account Doesn't Expire? FXHolic Metatrader brokers 6 05-08-2007 08:58 AM
MT4 demo account that does not expire eden159 Metatrader 4 2 12-29-2006 06:21 PM
Set Expire Date For Expert jjfx Questions 2 06-06-2006 11:11 AM
2 Period ROC on Chart saslam Indicators - Metatrader 3 2 03-15-2006 10:38 PM
Demo Account Expire ? billm General Discussion 1 12-13-2005 08:24 AM


All times are GMT. The time now is 09:37 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.