How to code stop at breakeven?

 

Hi guys!

1)Can I have an example of stop at breakeven?

2)In the backtest, the breakeven works, but in real it doesn't work, why? 


Thanks.

Marco. 

 
Marco Garthi:

Hi guys!

1)Can I have an example of stop at breakeven?

2)In the backtest, the breakeven works, but in real it doesn't work, why? 


Thanks.

Marco. 

Hi,

1) You can search that in CodeBase.

2) I dont know. What breakeven is that?

Reason: