Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
Forex Forum Register More recent 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 04-07-2006, 10: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, 183 views)
File Type: bmp account history.bmp (2.93 MB, 107 views)
File Type: bmp expansion.bmp (2.93 MB, 74 views)

Last edited by multa; 04-08-2006 at 05:39 PM.
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 04-07-2006, 03: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!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 04-07-2006, 04: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-08-2006 at 12:35 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
  #4 (permalink)  
Old 04-08-2006, 12:47 AM
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, 130 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
  #5 (permalink)  
Old 04-12-2006, 11:43 AM
Junior Member
 
Join Date: Apr 2006
Posts: 9
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!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 04-12-2006, 12:30 PM
Shahzadfx's Avatar
Senior Member
 
Join Date: Dec 2005
Location: USofA
Posts: 381
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!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 04-12-2006, 03: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, 75 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
  #8 (permalink)  
Old 04-12-2006, 05:58 PM
Shahzadfx's Avatar
Senior Member
 
Join Date: Dec 2005
Location: USofA
Posts: 381
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!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 04-18-2006, 10: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!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


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
expert advisor ? swirly Expert Advisors - Metatrader 4 4 09-22-2009 03:34 PM
CCI Expert Advisor rodrigokaus Expert Advisors - Metatrader 4 26 07-20-2009 06:36 AM
RSI Expert Advisor TF2K Suggestions for Trading Systems 5 03-21-2009 05:24 PM
50-34 Expert advisor geisebhum Suggestions for Trading Systems 4 12-20-2006 06:45 PM


All times are GMT. The time now is 04:07 AM.



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