Breakeven +1pip

 

In my EA I have a breakeven funktion which sets SL to entry.

How can I set EA that he mades not 0pips but 1pip ?

I think this is the line:

if ( Bid < OrderOpenPrice()+BreakEvenStop*Point ) return;

StopLoss = OrderOpenPrice();

 

Just change it to:

if ( Bid < OrderOpenPrice()+BreakEvenStop*Point ) return;

StopLoss = OrderOpenPrice()+1*Point;

 

break even function code

hi chievo11

can you post the breakeven cfunction code here .

chievo11:
In my EA I have a breakeven funktion which sets SL to entry.

How can I set EA that he mades not 0pips but 1pip ?

I think this is the line:

if ( Bid < OrderOpenPrice()+BreakEvenStop*Point ) return;

StopLoss = OrderOpenPrice();