View Single Post
  #193 (permalink)  
Old 03-06-2008, 02:08 PM
azmel's Avatar
azmel azmel is offline
Senior Member
 
Join Date: Dec 2007
Location: United Kingdom
Posts: 194
azmel is on a distinguished road
Quote:
Originally Posted by fxgrm View Post
First it looks like your EA is following the rules very well. No trades last night as predicted.

Question:

Would it be possible to have a stop loss input so we could elect to have 0 stop loss or maybe 125 or more pip stop loss when the order is first opened?

I realize that 100 pip stop loss is recommended but sometimes I don't use a stop loss and like to give my trades room to breathe.

Of cousre when the first 50 pip TP is hit it should still move the stop losses to break even.


Hope this makes sense.

Thanks again for sharing.

Cheers
Hi fxgm,

To change the SL to something else, you need to make some modifications to the EA slightly. The modification is very simple, so I'll just guide you to it.

On your Navigator window, expand the Expert Advisor folder and right click on the OzFx v1.42 EA and select Modify.

The code will appear. Look for this line:

int SL=100;

and change it to:

extern int SL=100;

save the EA, and restart MT4. You can now change the SL value. If you want SL=0 (no stop loss), enter something bit like 10000, which gives the same effect as no stop loss.

Regards,

Azmel.
Reply With Quote