Forex



Go Back   Forex Trading > Downloads > Expert Advisors - 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-2007, 04:55 AM
Junior Member
 
Join Date: Jan 2007
Posts: 15
jack2 is on a distinguished road
Help: How to write simple EA to buy and sell at a specific time?

Anyone has default simple EA to buy and sell specific currency pair at specific time?

Quantity - Fixed and programmed
Price - Market price
Exit target - Fixed pips from entry price
Buy/Sell - Buy and Sell
No. Positions to open - fixed and programmed
Time to buy/sell - fixed and programmed

Last edited by jack2; 06-13-2007 at 05:36 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
  #2 (permalink)  
Old 06-13-2007, 07:40 AM
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
I remember it was some EA in elite section.
May be, there are the other EAs in public sections.
Try to search http://www.forex-tsd.com/search.php
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-2007, 07:56 AM
Junior Member
 
Join Date: Jan 2007
Posts: 15
jack2 is on a distinguished road
Quote:
Originally Posted by newdigital
I remember it was some EA in elite section.
May be, there are the other EAs in public sections.
Try to search http://www.forex-tsd.com/search.php
what is that EA name? Elite?
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-2007, 08:37 AM
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 jack2
what is that EA name? Elite?
One person paid money to be elite member and post a request:
Quote:
rules :
on 13.25 GMT open buy stop & sell stop gbpusd at current price plus/minus 15 points. set the TP = 20 point, or we control the target point manually.
if the buy stop order opened, the sell stop order will be deleted.
all trades must be closed at 23:55 server time.
The other elite member made EA: TimeBreakExpert.

The other EA is WNV EA: buys and/or sells at a certain time of day.
The story is the same one: member became an elite member, posted request to improve his EA and the other members did it.

That is why I can not post it here.

If you are elite member so go to files thread and download.

may be it is not what you want.
I think we have some public EAs
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-2007, 09:18 AM
ryanklefas's Avatar
Senior Member
 
Join Date: Apr 2006
Location: USA
Posts: 438
ryanklefas is on a distinguished road
Quote:
Originally Posted by jack2
Anyone has default simple EA to buy and sell specific currency pair at specific time?
I got one that can do orders across multiple currencies. But, I gotta ask: whatcha gonna give me for it?
__________________
"Don't work harder, work smarter." -- my Java professor

Advertise on The All New FireCell Network
"Where online investing makes sense"

Coder for Hire:
http://firecell.info
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
  #6 (permalink)  
Old 06-13-2007, 09:31 AM
Senior Member
 
Join Date: Mar 2006
Location: La Verne,CA
Posts: 560
MrPip is on a distinguished road
writing EAs

Quote:
Originally Posted by newdigital
One person paid money to be elite member and post a request:

The other elite member made EA: TimeBreakExpert.

The other EA is WNV EA: buys and/or sells at a certain time of day.
The story is the same one: member became an elite member, posted request to improve his EA and the other members did it.

That is why I can not post it here.

If you are elite member so go to files thread and download.

may be it is not what you want.
I think we have some public EAs
As you probably already know I write EAs for paying clients as well as for free when my time allows.

I have been requested to write an EA or give ideas how to do so for this idea and only now found out it is already in the elite section.

It is not that difficult to write such an EA. Time to open buy or sell as an input and a check in the EA for that time on the current candle is the only trade decision. There might also be an input to open a buy or sell or both.


Is there any type of conflict here?

Robert
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
  #7 (permalink)  
Old 06-13-2007, 09:59 AM
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 MrPip
As you probably already know I write EAs for paying clients as well as for free when my time allows.

I have been requested to write an EA or give ideas how to do so for this idea and only now found out it is already in the elite section.

It is not that difficult to write such an EA. Time to open buy or sell as an input and a check in the EA for that time on the current candle is the only trade decision. There might also be an input to open a buy or sell or both.


Is there any type of conflict here?

Robert
No any conflict.
I just wanted to say that I can not post those 2 EAs from elite section and explained why. It is nothing with me.
jack2 may ask me: please post here.
I may reply: i can not.
he may say: so do i need to pay for elite membership to download it?

So, I just explained why i can not post those 2 EAs. That's all.
If the authors/coders will post so it is fine. I am not deciding. Coders are deciding. Personally I don't care which EA is in elite section and which one is in public.

By the way, I agree with you that it should be simple EAs so any coder may program it and post on this thread. No problem.
Or the coders (who coded those EAs and posted it to elite section) may post (re-post) it on this thread.
Any coder may program and post here.

if you are coding some EA (free or private) and need to know: may be, similar idea was implemented already in elite section just to use it in your coding so send PM to me and I may disclose something as much as I can.

Most of EAs for elite sections were coded by Igorad (he is posting sometimes his commercial indicators to elite section only). Many indicators were coded by Kalenzo (he is posting many his commercial indicators to elite section as well). I did not asked them.
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
  #8 (permalink)  
Old 06-13-2007, 10:14 AM
Junior Member
 
Join Date: Jan 2007
Posts: 15
jack2 is on a distinguished road
Thanks for the response.

This EA is very simple without any indicators.

Just need to open several long and short positions at the time specific, quantity, price would be current market price plus specific exit target or stop loss.
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
  #9 (permalink)  
Old 06-13-2007, 10:46 AM
Senior Member
 
Join Date: Mar 2006
Location: La Verne,CA
Posts: 560
MrPip is on a distinguished road
Ea

Quote:
Originally Posted by jack2
Anyone has default simple EA to buy and sell specific currency pair at specific time?

Quantity - Fixed and programmed
Price - Market price
Exit target - Fixed pips from entry price
Buy/Sell - Buy and Sell
No. Positions to open - fixed and programmed
Time to buy/sell - fixed and programmed
I modified MACD_Sample to follow what I understand of your rules.
Nothing fancy and not tested but it should work.

Robert
Attached Files
File Type: mq4 TimeBasedEA.mq4 (2.9 KB, 749 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
  #10 (permalink)  
Old 06-13-2007, 11:32 AM
Junior Member
 
Join Date: Jan 2007
Posts: 15
jack2 is on a distinguished road
MrPip, thank you very much.

I tested to set time to open but I got this

2007.06.13 18:31:11 TimeBasedEA EURUSDm,M30: TakeProfit less than 10

and no trades were opened.

The time should base on my PC time zone or my broker time zone as shown in the chart?

Last edited by jack2; 06-13-2007 at 11:42 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
Reply

Bookmarks

Tags
buy sell ea, correlation, currenttime(), grid ea, how to write an ea, how to write an EA for metatrader, how to write EA, how to write forex ea, orderclosetime(), straddle ea, time ea, timebasedea, wait time, WNV EA


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
Buy/sell EA excite2 Expert Advisors - Metatrader 4 84 08-17-2009 09:47 PM
Detecting price trend independent of a specific time frame gee Metatrader 4 4 02-24-2007 05:53 PM
Anyone want to write a simple EA? Kaper Suggestions for Trading Systems 6 10-29-2006 11:36 PM
Simple question of determining the time of day Fishtank Metatrader 4 2 04-04-2006 05:12 AM


All times are GMT. The time now is 04:17 PM.



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