| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| SL=BE EA for manual trades https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3286 |
Page 1 of 1 |
| Author: | spotdespot [ Tue Nov 26, 2013 12:15 pm ] |
| Post subject: | SL=BE EA for manual trades |
I made a comment in BASA thread a week or so ago about looking for a way to set a breakeven point equal to the stop loss of a manual trade. Incredibly Tommaso (Milanese) was kind enough to put together an EA doing exactly that in no time whatsoever. Since that point the EA expanded slightly, again with Tommaso's generous help, to include a % part close and I added a tiny part to allow some flexibility with respect to the ratio of SL to BE (so any issues there, the fault is definitely mine!). I have tested this for a while now with my manual trading and I find it invaluable and very simple. I use it to secure a BE point and a small amount of profit whilst leaving the majority of my trade to run - this works well for me. Most of the settings should be very familiar to you all as they are based on Steve's MPTM. It is a multi-pair ea so only needs to go on one chart. Inputs that might need clarification: MagicNumber - 0 for manually entered trades otherwise..... PartClosePercent - in whole % numbers so 30.0 = 30% of the trade to close BEPercentSLIncrement - this is the amount you wish to increase or decrease your BE point relative to your SL distance. So if you want your BE point at the same distance from entry as your SL then set this to 0.0. If you want it to be 50% further away from your entry point then you would put 50.0 if you want it 50% CLOSER to your entry point then you can enter -50. After adding BEPercentSLIncrement (not the catchiest of names - sorry) I haven't actually used it much, but I think it is still useful, so if you plan to use this then please test it thoroughly. All credit and many thanks to Tommaso for his generosity! Cheers, Dave. |
|
| Author: | putusernamehere [ Tue Nov 26, 2013 8:33 pm ] |
| Post subject: | Re: SL=BE EA for manual trades |
Hallo Dave thanks for the great work its a cool utility to trading kind regards and looking forward |
|
| Author: | milanese [ Thu Dec 05, 2013 9:49 pm ] |
| Post subject: | Re: SL=BE EA for manual trades |
Dave, if you need some other stuff integrated or you find some bugs just let me know... Cheers Tommaso |
|
| Author: | spotdespot [ Sat Dec 14, 2013 2:23 pm ] |
| Post subject: | Re: SL=BE EA for manual trades |
Thanks Tommaso but it does all I need it to for now. Thanks again, Dave. |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|