Forex
Google

Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


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

Reply
 
LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 06-13-2007, 03:55 AM
jack2 jack2 is offline
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 04:36 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-13-2007, 06:40 AM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 15,658
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!
Reply With Quote
  #3 (permalink)  
Old 06-13-2007, 06:56 AM
jack2 jack2 is offline
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!
Reply With Quote
  #4 (permalink)  
Old 06-13-2007, 07:37 AM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 15,658
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!
Reply With Quote
  #5 (permalink)  
Old 06-13-2007, 08:18 AM
ryanklefas's Avatar
ryanklefas ryanklefas is offline
Senior Member
 
Join Date: Apr 2006
Location: USA
Posts: 440
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

Coder for Hire:
http://www.firecell-fx.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-13-2007, 08:31 AM
MrPip MrPip is offline
Senior Member
 
Join Date: Mar 2006
Location: La Verne,CA
Posts: 552
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!
Reply With Quote
  #7 (permalink)  
Old 06-13-2007, 08:59 AM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 15,658
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!
Reply With Quote
  #8 (permalink)  
Old 06-13-2007, 09:14 AM
jack2 jack2 is offline
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!
Reply With Quote
  #9 (permalink)  
Old 06-13-2007, 09:46 AM
MrPip MrPip is offline
Senior Member
 
Join Date: Mar 2006
Location: La Verne,CA
Posts: 552
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, 280 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 06-13-2007, 10:32 AM
jack2 jack2 is offline
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 10:42 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/expert-advisors-metatrader-4/8067-help-how-write-simple-ea-buy-sell-specific-time.html
Posted By For Type Date
درخواست Indicator و expert - صفحه 84 - Sarmaye Forums This thread Refback 03-23-2008 11:36 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Detecting price trend independent of a specific time frame gee Metatrader 4 4 02-24-2007 04:53 PM
Anyone want to write a simple EA? Kaper Suggestions for Trading Systems 6 10-29-2006 10:36 PM
A Simple Buy/Sell Script excite2 Expert Advisors - Metatrader 4 8 07-18-2006 03:16 AM
Simple question of determining the time of day Fishtank Metatrader 4 2 04-04-2006 04:12 AM


All times are GMT. The time now is 08:51 PM.