Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4


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 04-07-2006, 09:44 AM
multa's Avatar
Junior Member
 
Join Date: Feb 2006
Posts: 18
multa is on a distinguished road
Suggestion for an expert advisor, please help :)

Hello,

I have a suggestion for an expert advisor. My problem is that I do not know how to code it myself. That is what I need you guys to help me with .
The setup:

Indicators:
Bollinger Bands(20,2,0,close), 21ema shift 0 red, 21ema shift 1 blue and rsi 8

The criteria is :
currency is GBPUSD (maybe EURUSD and other also, haven't tested them)
SELL:
If after 9 am GMT and before 18 pm GMT GBPUSD on m30 has a 50 pip range (maybe more), and it has hit a high and then starts to retrace. If it then pushes through the 50 % retracement, and down through the median line of the Bollinger Band, 21ema red crosses lower through 21ema blue and Rsi moves down through 40.

set stoploss at entry+50pips

In the case of a buy situation the opposite applies. Up through median line, red ema up through blue ema and Rsi up through 60!!!

I have attached 3 pictures of this situation, when it happened yesterday. If you look at the account history, you can see that I closed half of my position at 50 pips profit and I moved my stoploss to break-even for the rest of the postion. I closed the rest of the position, when I noticed that price bounced off the 127,2% expansion. ( this is a very important expansion-level squareroot of 1.618).

Anyway, I hope someone will be able to code this strategy and maybe improve it with trailingstops, compounding.........
Attached Images
File Type: bmp pic1.bmp (2.93 MB, 170 views)
File Type: bmp account history.bmp (2.93 MB, 94 views)
File Type: bmp expansion.bmp (2.93 MB, 62 views)

Last edited by multa; 04-08-2006 at 04:39 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-07-2006, 02:15 PM
multa's Avatar
Junior Member
 
Join Date: Feb 2006
Posts: 18
multa is on a distinguished road
Is there anyone, who could tell me how to code the following.
I need to find the high and low of today, and then I need to find out wich of them came first. Something like:
if

time(high)>time(low)

then
sell=ok


Please help me with this problem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-07-2006, 03:05 PM
multa's Avatar
Junior Member
 
Join Date: Feb 2006
Posts: 18
multa is on a distinguished road
Well, here is my first attempt, I just can't get it to trade. Hope that someone can help me pleeeeeeaaaaaaaassssssseeeeeeeee


edit:I deleted the expert since it only was a beginning and not very good

Last edited by multa; 04-07-2006 at 11:35 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-07-2006, 11:47 PM
multa's Avatar
Junior Member
 
Join Date: Feb 2006
Posts: 18
multa is on a distinguished road
Now I have made a new expert, it is not complete yet, but I am happy with the developement.


Here is a statement.
Attached Images
File Type: bmp expert report.bmp (2.93 MB, 119 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-12-2006, 10:43 AM
Junior Member
 
Join Date: Apr 2006
Posts: 8
Inbox is on a distinguished road
Interesting report. Any news on your EA development?

Salut!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-12-2006, 11:30 AM
Shahzadfx's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Forexland
Posts: 345
Shahzadfx is on a distinguished road
Quote:
Originally Posted by multa
Hello,

I have a suggestion for an expert advisor. My problem is that I do not know how to code it myself. That is what I need you guys to help me with .
The setup:

Indicators:
Bollinger Bands(20,2,0,close), 21ema shift 0 red, 21ema shift 1 blue and rsi 8

The criteria is :
currency is GBPUSD (maybe EURUSD and other also, haven't tested them)
SELL:
If after 9 am GMT and before 18 pm GMT GBPUSD on m30 has a 50 pip range (maybe more), and it has hit a high and then starts to retrace. If it then pushes through the 50 % retracement, and down through the median line of the Bollinger Band, 21ema red crosses lower through 21ema blue and Rsi moves down through 40.

set stoploss at entry+50pips

In the case of a buy situation the opposite applies. Up through median line, red ema up through blue ema and Rsi up through 60!!!

I have attached 3 pictures of this situation, when it happened yesterday. If you look at the account history, you can see that I closed half of my position at 50 pips profit and I moved my stoploss to break-even for the rest of the postion. I closed the rest of the position, when I noticed that price bounced off the 127,2% expansion. ( this is a very important expansion-level squareroot of 1.618).

Anyway, I hope someone will be able to code this strategy and maybe improve it with trailingstops, compounding.........
Good concept.
Can you post your ea for forward testing and to find out any bugs in it. I m working on almost same concept with good results.
Rgds,
SFX
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 04-12-2006, 02:55 PM
multa's Avatar
Junior Member
 
Join Date: Feb 2006
Posts: 18
multa is on a distinguished road
Here it is!

It is far from perfect and I have only backtested it on GBPUSD, so the settings should probably be changed for other pairs.
I want the expert to use StepRSI(8,8,18) buy when fast is crossing slow upwards and reverse for sell, but the expert won't backtest with that code in it. So this version uses RSI 8, buy when above 60 and sell below 40.
Attached Files
File Type: mq4 Fibo4.1.mq4 (4.1 KB, 68 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 04-12-2006, 04:58 PM
Shahzadfx's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Forexland
Posts: 345
Shahzadfx is on a distinguished road
Quote:
Originally Posted by multa
Hello,

I have a suggestion for an expert advisor. My problem is that I do not know how to code it myself. That is what I need you guys to help me with .
The setup:

Indicators:
Bollinger Bands(20,2,0,close), 21ema shift 0 red, 21ema shift 1 blue and rsi 8

The criteria is :
currency is GBPUSD (maybe EURUSD and other also, haven't tested them)
SELL:
If after 9 am GMT and before 18 pm GMT GBPUSD on m30 has a 50 pip range (maybe more), and it has hit a high and then starts to retrace. If it then pushes through the 50 % retracement, and down through the median line of the Bollinger Band, 21ema red crosses lower through 21ema blue and Rsi moves down through 40.

set stoploss at entry+50pips

In the case of a buy situation the opposite applies. Up through median line, red ema up through blue ema and Rsi up through 60!!!

I have attached 3 pictures of this situation, when it happened yesterday. If you look at the account history, you can see that I closed half of my position at 50 pips profit and I moved my stoploss to break-even for the rest of the postion. I closed the rest of the position, when I noticed that price bounced off the 127,2% expansion. ( this is a very important expansion-level squareroot of 1.618).

Anyway, I hope someone will be able to code this strategy and maybe improve it with trailingstops, compounding.........

What i do, instead of range, i use the difference inbetween previous day open and close which should be less then 5 sometimes 10 pips and then the currenct day price breaks high or low of previous day and retrace to BB middle line within 2 bars or sometime more then there are 2/3 (two/third) of time it will not retrace back towards previous high and low after retracing back to bb middle or 50 fib therefore i put a stop loss on high or low of the day. Some time I use juice to determine how much bars should i wait to make the condition true that price will not go back again towards high and low. I think, it is little bit confusion but if we have good trailing stop management then we will for sure make confirmed pips.
Do you think these two ideas mix togather to make a good ea.
Regards,
SFX
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 04-18-2006, 09:45 AM
multa's Avatar
Junior Member
 
Join Date: Feb 2006
Posts: 18
multa is on a distinguished road
Quote:
Originally Posted by Shahzadfx
What i do, instead of range, i use the difference inbetween previous day open and close which should be less then 5 sometimes 10 pips and then the currenct day price breaks high or low of previous day and retrace to BB middle line within 2 bars or sometime more then there are 2/3 (two/third) of time it will not retrace back towards previous high and low after retracing back to bb middle or 50 fib therefore i put a stop loss on high or low of the day. Some time I use juice to determine how much bars should i wait to make the condition true that price will not go back again towards high and low. I think, it is little bit confusion but if we have good trailing stop management then we will for sure make confirmed pips.
Do you think these two ideas mix togather to make a good ea.
Regards,
SFX

Sorry for the late reply, haven't been online during Easter. Yes I think that these concepts could be combined.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RSI Expert Advisor TF2K Suggestions for Trading Systems 4 03-21-2007 12:52 PM
50-34 Expert advisor geisebhum Suggestions for Trading Systems 4 12-20-2006 05:45 PM
CCI Expert Advisor rodrigokaus Expert Advisors - Metatrader 4 10 09-29-2006 06:31 PM
expert advisor ? swirly Expert Advisors - Metatrader 4 3 08-30-2006 07:04 AM


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



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