Help coding a simple EA
  #1 (permalink)  
Old 11-14-2007, 01:43 PM
Freshman
 
Join Date: Mar 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
sundwnr is on a distinguished road
Default Help coding a simple EA

I do not know anything about coding and was hoping someone could help me with a simple system I am testing. If there is an EA already doing this it would be great if you could let me know. I need an expert that can reverse an open position when a trailing S/L is hit. let me include an example.

Manually enter first trade.
Buy EUR/USD 1.4642 with (X) S/L and (X) trailing stop
EUR/USD goes up to 1.4742 if S/L=200 and trailing stop=100 and price now goes down to 1.4572 hitting the S/L the EA would kick in and open a position of sell EUR/USD with S/L=200 and trailing stop=100 and so forth.

The EA would need to be able to see when trailing stop is triggered and open a reverse position with the same (X) S/L and (X) trailing stop in the opposite direction.
Reply With Quote
  #2 (permalink)  
Old 11-22-2007, 09:43 PM
Freshman
 
Join Date: Nov 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Seyhan is on a distinguished road
Default

Good Morning, Good Afternoon, Good Night, to those in your time zone.
I am new on the forex scene learning all the jargon that comes with it. I have just learnt that Metatrader 4 has its own trading programming where you can set-up your own stratigies. A big problem that I found is that you need to understand C++ code, which is way above me so really I am not able to benefit from this.
So I was hoping for those who are experts on programming to help me.
What I want to do is on a MACD 12,26,9 on close. on GBPUSD, 1M, 5M and 15M. I would like to BUY when the SILVER bar is touching or broken through the RED line and SELL when the SILVER bar not touching the RED line anymore.
If the RED line is just touching then stay in the BUY position until the SILVER bar is not touching anymore then close the BUY position and open a SELL position.
I want to trade 10% of my account in one trade and Coz I'll be trading in three different time frames I would want to only trade maximum of 3 trade in one time and one trade in each time frame,eg 1 trade in 1M, 1 trade in 5M and 1 trade in 15M (It could be at the same time, which would mean I have reached my limit on open trades and in order to open another position i'd need to close one)
I hope this is very clear. & I am very sorry for having to ask for this kind of help. I would really, really apprietiate it alot.
Thank you for spending the time to read my cry for help.....SEYHAN
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Before Asking For Coding Help!! READ FIRST gazuz System Coding 2 11-14-2007 05:24 AM
Coding Help needed yemupz Trading Systems 0 09-14-2007 02:30 PM
Need some help coding indicator martini5470 Indicator Coding 1 09-01-2007 03:01 AM
Some coding suggestions 4xdude Tutorials, Tips & Tricks 0 08-27-2007 07:17 AM
Coding an EA ossaossa System Coding 0 04-15-2007 12:25 AM


All times are GMT. The time now is 02:27 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now