
06-05-2008, 08:23 PM
|
 |
Senior Member
|
|
Join Date: Oct 2006
Posts: 1,175
|
|
Quote:
Originally Posted by AirforceMook
Heya,
I manually started a trade yesterday, and realized I wanted a way to set a simple breakeven after X pips.
I know there's more complicated things out there, but for now, this is a very simple solution to this problem when initiating manual trades.
Settings:
after - How many pips do we move before setting the stoploss?
test - When set to true, this will simply show you where your target is that must be hit prior to creating the stoploss. It defaults to true initially, so that it will not modify your orders until you want it to.
profit - Breakeven + this many pips will be locked in, for those of us who can't stand having at least 1 pip (or 2... or 3...)!
Realize this is simply for manual trades, and thus it does NOT have any sort of magic number code, and will modify any trades on the given symbol.
|
Can this be easily incorporated into my EA?
If so what code do I need to put where?
Thanks
|