| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Request: Close At Breakeven - Specific Pair https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3529 |
Page 1 of 3 |
| Author: | longytravel [ Tue Mar 25, 2014 6:17 pm ] |
| Post subject: | Request: Close At Breakeven - Specific Pair |
Hi Guys. I am playing with hedging as opposed to a SL. I was wondering if anyone has a tool that closes all trades on a specific pair when BE is reached? Had a fiddle with MPTM but i think you need to use its own hedging to get it to close at BE, i would like to keep dropping trades at the places i think are right but the tool close when the trades when they all meet BE? Any help appreciated. |
|
| Author: | milanese [ Tue Mar 25, 2014 6:28 pm ] |
| Post subject: | Request: Close At Breakeven - Specific Pair |
I will later look to code you some EA doing this.. Cheers Tommaso |
|
| Author: | longytravel [ Tue Mar 25, 2014 6:33 pm ] |
| Post subject: | Request: Close At Breakeven - Specific Pair |
What a legend!! Thank you!! |
|
| Author: | milanese [ Tue Mar 25, 2014 7:11 pm ] |
| Post subject: | Request: Close At Breakeven - Specific Pair |
Ok here you go, use BEProfit for setting the BE minProfit you want for closing all positions of the pair you set the EA on.., you can set a magicnumber if you want..
Cheers Tommaso |
|
| Author: | longytravel [ Tue Mar 25, 2014 8:34 pm ] |
| Post subject: | Request: Close At Breakeven - Specific Pair |
Like many others Tommaso, i am grateful for your input and support. I will give it a whirl and report back. Thanks again. |
|
| Author: | longytravel [ Wed Mar 26, 2014 8:01 am ] |
| Post subject: | Request: Close At Breakeven - Specific Pair |
Hi Tommaso, The ea has just closed a couple of trades at breakeven.....unfortunately, it was breakeven between gpdcad and audchf trades that I was using for hedges on their respective pairs. Wondering if you could have another quick look? I would only want to close the audchf trade, for example, when audchf was at breakeven. Thanks as ever! |
|
| Author: | milanese [ Wed Mar 26, 2014 8:47 am ] |
| Post subject: | Request: Close At Breakeven - Specific Pair |
it should only manage the pair you attach the EA.., but I will take a look what happened .. could you make a sccreen shout from the EA messages log output that Empty4 shows.. I tested the EA here and it closed only the trades from the pair attached, when this pair reached BE and I had the EA attached at the two pairs that had positions open.. Cheers Tommaso |
|
| Author: | longytravel [ Wed Mar 26, 2014 6:47 pm ] |
| Post subject: | Request: Close At Breakeven - Specific Pair |
Thanks. Is this what your after? |
|
| Author: | longytravel [ Wed Mar 26, 2014 6:49 pm ] |
| Post subject: | Request: Close At Breakeven - Specific Pair |
Or is?! |
|
| Author: | milanese [ Wed Mar 26, 2014 6:56 pm ] |
| Post subject: | Request: Close At Breakeven - Specific Pair |
As I see the EA did how it should, closed each pair position, when each position reached BE, see journals you posted(was ech 1 position open).., maybe I missunderstand what exactly the EA should do you need.. Cheers Tommaso |
|
| All times are UTC | Page 1 of 3 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|