Forex
Google

Go Back   Forex Trading > Discussion Areas > Suggestions for Trading Systems
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 Thread Tools Display Modes
  #1 (permalink)  
Old 02-07-2006, 09:44 AM
mico mico is offline
Junior Member
 
Join Date: Feb 2006
Posts: 2
mico is on a distinguished road
Help needed to write an EA program.

Hello I am new to this programming thing and I do not know anything. I know how to trade but not how to program.
I would like help in writing an EA for this system:

- Use the 15 minute chart for the currency of your choice.
- Find the High and Low for the 8:30 - 9:00 (EST) time frame
- Then buy if price goes 4 pips above the high OR sell if price goes 4 pips below the low
- Do only one trade.
- Do not buy and sell ( either Buy or sell but not both).
- Buy or Sell whichever comes first.
- Do not trade if one of the bars in the specified time frame ( 8:30- 9:00) is over 50 pips.
- Manually adjusting the Stop Loss, Trailing stop and Profit limit.

Thanks,
Mico
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-08-2006, 09:57 AM
BrunoFX's Avatar
BrunoFX BrunoFX is offline
Senior Member
 
Join Date: Sep 2005
Posts: 810
BrunoFX will become famous soon enough
Hello mico,

For how long do you have to test this method? which results? Could you attach explanatory images?
I think that 2 posts are not sufficient to require a ea directly.
Constitute a better file so that it is to validate by the other members and there I think that they will make your EA.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-08-2006, 10:11 AM
sunwest's Avatar
sunwest sunwest is offline
Member
 
Join Date: Jan 2006
Location: London
Posts: 93
sunwest is on a distinguished road
Hello mico,

An EA should not be difficult for this system, BrunoFx is right we would need more information.
So far I understand all this:

- Use the 15 minute chart for the currency of your choice.
- Find the High and Low for the 8:30 - 9:00 (EST) time frame
- Then buy if price goes 4 pips above the high OR sell if price goes 4 pips below the low
- Do only one trade.
- Do not buy and sell ( either Buy or sell but not both).
- Buy or Sell whichever comes first.
- Do not trade if one of the bars in the specified time frame ( 8:30- 9:00) is over 50 pips.

So I pressume that you only buy or sell once a day, or you dont if it does not trigger the signal.
My question is:

- Manually adjusting the Stop Loss, Trailing stop and Profit limit.

This is the most important part, when opening an order (buying or selling), we need to set a Take profit at least or this cannot be backtested ?
I would suggest to indicate a rule for stop loss and take profit, then it can be done

Thanks
S.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-11-2006, 10:50 AM
Pakua42 Pakua42 is offline
Junior Member
 
Join Date: Feb 2006
Posts: 4
Pakua42 is on a distinguished road
where can a newbie get a guidebook?

Guys,

I dont know what an expert advisor does and know no programming. How do I get a manual somewhere to learn all this stuff? Id also like the above poster make a few simple trading systems but if someone did it for me and gave me the code, where di I insert it? (ok, no wise cracks! lol) I am lost here. At least tradstation gives one plenty of tutorials and free seminars. Where do I get educated on metatrader anywhere????? HELP!!!!

thanx,
marc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-11-2006, 11:18 AM
newdigital newdigital is online now
Administrator
 
Join Date: Sep 2005
Posts: 15,160
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 Pakua42
Guys,

I dont know what an expert advisor does and know no programming. How do I get a manual somewhere to learn all this stuff? Id also like the above poster make a few simple trading systems but if someone did it for me and gave me the code, where di I insert it? (ok, no wise cracks! lol) I am lost here. At least tradstation gives one plenty of tutorials and free seminars. Where do I get educated on metatrader anywhere????? HELP!!!!

thanx,
marc
You may read Codersguru lessons http://www.forex-tsd.com/lessons/
Change "Display Options" in the end of the page to "From The Beginning" and you will see all the lessons. Start from the first one. You do not need to learn and remember anything. Just read. And after that you will understand something.

Then you may start to read some book in the "Documentation" section. This one or anyone.

After that you will try to trade on demo account. We have many threads (old ones and new ones) where the people are trading with the explanation.

Besides, you may visit the other threads where the people explaining how to use some classical indicators or classical systems (support and resistance, Ichimoku, divergence etc).

After that you will have one good question: why all the theory does not work in practics? As nobody will answer you to this question (nobody knows) you will try to construct your first trading system.

Then you will repeat everything once again: lessons, reading, trading, an other main question ("why some people are trading this system but I can not", or "How I distinguish real trading system from unreal", or "How I distinguish good tradable EAs from EAs adjusted especially to have good backtesting results only", and so on).

You will do it all the time from the beginning.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-20-2006, 12:42 PM
RJames5541 RJames5541 is offline
Junior Member
 
Join Date: Jul 2006
Posts: 15
RJames5541 is on a distinguished road
You talked about EAs that are not 'good'... rather, they are only adjusted to backtest well... is this a common problem? I am writing a lengthy EA now and was planning on using the backtesting as a way to refine the numeric parameters of my system... will this be a problem? what are some of the potential drawbacks of this approach?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-20-2006, 03:30 PM
newdigital newdigital is online now
Administrator
 
Join Date: Sep 2005
Posts: 15,160
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 RJames5541
You talked about EAs that are not 'good'... rather, they are only adjusted to backtest well... is this a common problem? I am writing a lengthy EA now and was planning on using the backtesting as a way to refine the numeric parameters of my system... will this be a problem? what are some of the potential drawbacks of this approach?
Backtesting is ok. But some people who are selling EAs are adjusting EAs especially for good backtesting and it is nothing with trading systems or any. If trading system (manual trading system) may be profitable or profitable already so backtesting will help to find the good settings. If nobody tested trading system without EA and we created EA without it (without testing the system manually) so we may find good settings by backtesting but sometimes the market may broke any settings and we will speak about the following: "the market lost correlation between the price the system/indicators/EA" or "this EA is working in particular market condition ...". But in reality it is that system was not tested/improved enough to create EA and sometimes the programmers are not the reason of bad EA performing because it is subject to manual trading system testing/improving.

Any system should be proved manually.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-21-2006, 06:57 AM
superbait superbait is offline
Member
 
Join Date: Feb 2006
Posts: 61
superbait is on a distinguished road
EA if coded with the understanding of technical analysis may give some good return but not everytime work. This is due to the market changes with many environmental factors than ideal condition. Hence if somone can merge the fundatmental and technical factors in EA ( sound like AI process ), then the chances of great profit earning is huge.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-21-2006, 08:18 AM
Pecunia non olet Pecunia non olet is offline
Senior Member
 
Join Date: Dec 2005
Posts: 130
Pecunia non olet is on a distinguished road
Quote:
Originally Posted by newdigital
After that you will have one good question: why all the theory does not work in practics? As nobody will answer you to this question (nobody knows) you will try to construct your first trading system.
That sentence gave me a really good laugh. So true!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 07-22-2006, 10:34 PM
Alex.Piech.FinGeR's Avatar
Alex.Piech.FinGeR Alex.Piech.FinGeR is offline
Senior Member
 
Join Date: Oct 2005
Location: Germany
Posts: 305
Alex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud of
Quote:
Originally Posted by mico
Hello I am new to this programming thing and I do not know anything. I know how to trade but not how to program.
I would like help in writing an EA for this system:

- Use the 15 minute chart for the currency of your choice.
- Find the High and Low for the 8:30 - 9:00 (EST) time frame
- Then buy if price goes 4 pips above the high OR sell if price goes 4 pips below the low
- Do only one trade.
- Do not buy and sell ( either Buy or sell but not both).
- Buy or Sell whichever comes first.
- Do not trade if one of the bars in the specified time frame ( 8:30- 9:00) is over 50 pips.
- Manually adjusting the Stop Loss, Trailing stop and Profit limit.

Thanks,
Mico
try EA

use BUYSTOP and SELLSTOP but if ASK and BID - HIGH and LOW < 5 PIPS = direct BUY and SELL ORDER

Parameters:

OffSetHour = 6
//Displacement of hours : default ALPARI BROKER TIME 6 Hours

HourOpenPos = 9;
//09:00 EST from 9 o'clock
HourDeletePos = 23
//Close pending Orders 23:00 EST
HourClosePos = 23
//Close BUY and SELL Orders 23:00 EST


regards
Alex
Attached Files
File Type: mq4 e 02-07-2006.mq4 (10.5 KB, 39 views)

Last edited by Alex.Piech.FinGeR : 07-22-2006 at 10:52 PM.
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
willing to pay someone to write ea and indicator for me shapeshifter Metatrader 4 2 11-02-2006 08:59 PM
Anyone want to write a simple EA? Kaper Suggestions for Trading Systems 6 10-29-2006 10:36 PM
how to write Ea iliaazshareef Metatrader 4 1 03-13-2006 05:35 AM
Help needed to write an EA program. mico Metatrader 4 1 02-08-2006 09:03 AM


All times are GMT. The time now is 05:46 AM.