View Single Post
  #26 (permalink)  
Old 06-05-2008, 04:06 PM
AirforceMook AirforceMook is offline
Junior Member
 
Join Date: Jul 2006
Posts: 29
AirforceMook is on a distinguished road
Red face Very simple breakeven

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.
Attached Files
File Type: ex4 breakeven.ex4 (3.5 KB, 43 views)
File Type: mq4 breakeven.mq4 (3.1 KB, 100 views)
__________________
//AirforceMook//
Reply With Quote