View Single Post
Old 2008-12-18, 10:29 AM   #30 (permalink)
jimsmithuk
Rookie Pip Officer
 
Trader for 0 - 1 year
Location: Ireland
Posts: 27

Default

Not sure I understand but nothing was toggled!

I (like 1ka) changed it so any new trade will have a SL when a new trade is placed. Nothing was changed as to how the EA determines when to trade.
The trade logic of this EA is detailed in this post.

I also added a field so you could set your own magic number. Just in case you were running this with other EAs.

Although I did spot an error in my code. It was setting the SL to 70 or 80 (whatever you set) rather than the price +/- the SL value you set.

Here's the corrected code.
Attached Files
File Type: mq4 SARv2.mq4 (4.8 KB, 209 views)
jimsmithuk is offline   Reply With Quote