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 02-06-2007, 09:15 PM
Kurka Fund's Avatar
Senior Member
 
Join Date: Sep 2006
Location: San Diego
Posts: 139
Kurka Fund is on a distinguished road
Scalper with 100% winning trades

I made a new scalper system that has been working great , no losing trades so far with real money. lost a total of 4 trades backtested from 1-06 through 1-07, with a 10 pip stoploss.

the problem is that it is similar to the old version of cyberia that only takes one pip in profit on the majority the trades. I am looking for a way to hold the position longer and capture more of the profit while locking in the 1st pip.

anyone here have any code that does this? I cannot figure out how to write it.

What I would like is to set the takeprofit at 10 and capture as much of it as possible if it only goes to say 6 or 7.

I was thinking like this
PHP Code:
tp 10 
if ( Bid OrderOpenPrice() + Point ){
   
FakeSL 1;
   }
if ( 
Bid OrderOpenPrice() + Point){
  
FakeSL 2;
  }

use FakeSL with OrderClose to close the orders because you cannot set your sl and tp too tight...like this 

if ( Bid OrderOpenPrice() + FakeSL) { 
   
OrderClose(OrderTicket(), OrderLots(), OrderClosePrice(), 3Blue);
   } 
Anyone know how I can .... go for 10, but if it doesent quite make it there lock in the following ..

Accual bid - Lockin # of pips

10 - take profit
9 - 8
8 - 7
7 - 6
6 - 5
5 - 3
4 - 2
3 - 1

I just cant get it to work....thanks for your help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-06-2007, 09:43 PM
Senior Member
 
Join Date: Oct 2005
Posts: 219
smeden is on a distinguished road
Could you post the EA, we would be able to help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-07-2007, 03:21 AM
Kurka Fund's Avatar
Senior Member
 
Join Date: Sep 2006
Location: San Diego
Posts: 139
Kurka Fund is on a distinguished road
I would be happy to share it with people who help code it...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-07-2007, 03:49 AM
mikhaildgreat's Avatar
Senior Member
 
Join Date: Nov 2006
Posts: 101
mikhaildgreat is on a distinguished road
Quote:
Originally Posted by Kurka Fund
I would be happy to share it with people who help code it...
So from what i understand you are trying to make a fake trailing stop? but from what point must it be triggered? 2 pips? 3 pips?

the reason I ask this is if you add a trailing stop you must expect more losses because instead of having a target of 1pip you must set a higher target now just to secure that one pip.

Anyhow I would love to see how your EA works and I would love to help you fix it.

Regards,
Mikhail
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-07-2007, 04:13 AM
mikhaildgreat's Avatar
Senior Member
 
Join Date: Nov 2006
Posts: 101
mikhaildgreat is on a distinguished road
Also I would like to point out that backtest is not very reliable with EAs with such a small target profit. 90% modeling quality is no good. there is a guy in the forum that can test EAs with 99% modeling quality. You should have him test this EA before further development.

Regards,
Mikhail

Quote:
Originally Posted by Kurka Fund
I made a new scalper system that has been working great , no losing trades so far with real money. lost a total of 4 trades backtested from 1-06 through 1-07, with a 10 pip stoploss.

the problem is that it is similar to the old version of cyberia that only takes one pip in profit on the majority the trades. I am looking for a way to hold the position longer and capture more of the profit while locking in the 1st pip.

anyone here have any code that does this? I cannot figure out how to write it.

What I would like is to set the takeprofit at 10 and capture as much of it as possible if it only goes to say 6 or 7.

I was thinking like this
PHP Code:
tp 10 
if ( Bid OrderOpenPrice() + Point ){
   
FakeSL 1;
   }
if ( 
Bid OrderOpenPrice() + Point){
  
FakeSL 2;
  }

use FakeSL with OrderClose to close the orders because you cannot set your sl and tp too tight...like this 

if ( Bid OrderOpenPrice() + FakeSL) { 
   
OrderClose(OrderTicket(), OrderLots(), OrderClosePrice(), 3Blue);
   } 
Anyone know how I can .... go for 10, but if it doesent quite make it there lock in the following ..

Accual bid - Lockin # of pips

10 - take profit
9 - 8
8 - 7
7 - 6
6 - 5
5 - 3
4 - 2
3 - 1

I just cant get it to work....thanks for your help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-13-2007, 12:50 AM
Junior Member
 
Join Date: Sep 2006
Posts: 3
irusoh1 is on a distinguished road
Shouldn't this say:

if ( Bid < OrderOpenPrice() + FakeSL) // we need less sign for buys
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 03-13-2007, 02:44 AM
Senior Member
 
Join Date: Jan 2006
Location: Australia
Posts: 112
jorgka is on a distinguished road
Hey Kurka, delete some of your PM's. your inbox is full.

Jorgka
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 03-13-2007, 03:59 AM
holyguy7's Avatar
Senior Member
 
Join Date: Feb 2006
Posts: 446
holyguy7 is on a distinguished road
I can test your EA with 99% modeling quality using Tick data that I recorded from my live broker feed. It is as reliable as forward testing as I have verified that and is as reliable as live trading as I have verified that as well. If you want to see how your EA does, IM me and I will see what I can do.

Basically, now that I am recording tick data, I no longer forward test. NO real need to now, backtesting at 99% is just as reliable.

Philip
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 03-13-2007, 04:11 AM
Senior Member
 
Join Date: Oct 2005
Posts: 328
Perky is on a distinguished road
if it has 100% win its not good enough

:-)

I'll test it tho and make it better
perky_z @ yahoo.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 03-13-2007, 08:06 AM
skyline's Avatar
Member
 
Join Date: Apr 2006
Location: Pisa
Posts: 62
skyline is on a distinguished road
Quote:
Originally Posted by holyguy7
I can test your EA with 99% modeling quality using Tick data that I recorded from my live broker feed. It is as reliable as forward testing as I have verified that and is as reliable as live trading as I have verified that as well. If you want to see how your EA does, IM me and I will see what I can do.

Basically, now that I am recording tick data, I no longer forward test. NO real need to now, backtesting at 99% is just as reliable.

Philip
Hi Philip ,
I was trying too to record tick data from my broker using a procedure find from metaquotes site keeping my pc 24/7 connected but I stopped since the platform a lot of time is disconnecting from server (this is a normal behaviour of metatrader platform), so a lot of tick is losed.
I'm supposing that you are doing in the same way to collect the tick data.
Isn't this a big problem if you want to collect all ticks informations ? Was you able to hit 99% modelling quality even if mt plaftorm suffer all this disconnection ?

thx
Skyline
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 Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Winning Solution 9.3 winning-solution.net Commercial Trading Systems and indicators 28 07-24-2008 02:32 PM
65% winning system fxsterling General Discussion 4 06-17-2007 05:17 AM
winning solution expert rzamany Expert Advisors - Metatrader 4 27 01-22-2007 08:27 PM


All times are GMT. The time now is 01:31 AM.



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