View Single Post
  #1 (permalink)  
Old 02-06-2007, 10:15 PM
Kurka Fund's Avatar
Kurka Fund Kurka Fund is offline
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