stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

The Hidden Pending EA
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3573
Page 27 of 49
Author:  milanese [ Thu Mar 05, 2015 9:14 am ]
Post subject:  The Hidden Pending EA

FxFoil » Thu Mar 05, 2015 8:44 am wrote:Question?
If distancetopending=40
And MoveOposite OrderWith Price=True
And trade is filled then distance between filled order and Opposite order remains = 80
But if EA is manually reset then changes distancetopending=40. Which is what I want.
What settings are needed to do this without manual EA reset?
the opposite order will not be moved to 40 in case, but will be moved to have never more than 80 pips distance.
What you want to is so far not previsted to do, only a reininitialize will do this, it could be added as an optional, if you need this function.

Cheers :)

Tommaso
Author:  FxFoil [ Thu Mar 05, 2015 3:33 pm ]
Post subject:  The Hidden Pending EA

.
Author:  milanese [ Thu Mar 05, 2015 4:30 pm ]
Post subject:  [Update!!]The Hidden Pending EA

FxFoil » Thu Mar 05, 2015 3:33 pm wrote:
Hi Tommaso

It would be good to reinitialize EA so values are the same before and after a reboot, Empty4 crash, etc. I do better if I control stacking trades when at the computer and not all the time. This means restarting the EA to switch stacking on/off.

Could distance to opposite (hedge) be made independent of distancetopending=40?
Something like..
FixedDistanceToOpposite=True/False
FixedDistanceOppositePips = 65

If restart or reinitialize Opposite(Hedge) would = opening price of trade + 65, (not current price +65)
It is helpful for hedging strategy if distance to hedge could be fixed. But if this means major rewrite then reinitialize after trade so that distancetopending=40 (and not 80) would be appreciated.
Thanks again
march 5th,2015
I updated the EA adding the wished feature.
Set FixedDistanceToOpposite to true if you want after filling the opposite order to a preselected distance and FixedDistanceOppositePips for setting the distance value.Note the EA will record this to if a restart should be necessary.
You find the EA attached on the first post as always, too you will find there the compiled versionb, as always if you have questions, ideas for new features, just ask it here..

Cheers :)

Tommaso
Author:  milanese [ Thu Mar 05, 2015 4:48 pm ]
Post subject:  [Update!!]The Hidden Pending EA

milanese » Thu Mar 05, 2015 4:30 pm wrote: march 5th,2015
I updated the EA adding the wished feature.
Set FixedDistanceToOpposite to true if you want after filling the opposite order to a preselected distance and FixedDistanceOppositePips for setting the distance value.Note the EA will record this to if a restart should be necessary.
You find the EA attached on the first post as always, too you will find there the compiled versionb, as always if you have questions, ideas for new features, just ask it here..

Cheers :)

Tommaso
I fixed a glitch in the reinitializing code, the 5 persons how had already downloaded the update, please redownload build 165.

Cheers :)

Tommaso
Author:  milanese [ Thu Mar 05, 2015 6:36 pm ]
Post subject:  [Update!!]The Hidden Pending EA

milanese » Thu Mar 05, 2015 4:48 pm wrote:
milanese » Thu Mar 05, 2015 4:30 pm wrote: march 5th,2015
I updated the EA adding the wished feature.
Set FixedDistanceToOpposite to true if you want after filling the opposite order to a preselected distance and FixedDistanceOppositePips for setting the distance value.Note the EA will record this to if a restart should be necessary.
You find the EA attached on the first post as always, too you will find there the compiled versionb, as always if you have questions, ideas for new features, just ask it here..

Cheers :)

Tommaso
I fixed a glitch in the reinitializing code, the 5 persons how had already downloaded the update, please redownload build 165.

Cheers :)

Tommaso
there was again some glitch in the reinitialize code for the new option now fixed and tested.., so please re-download build 166..

Cheers :)

Tommaso
Author:  FxFoil [ Sat Mar 14, 2015 6:22 am ]
Post subject:  [Update!!]The Hidden Pending EA

.
Author:  milanese [ Sat Mar 14, 2015 7:39 am ]
Post subject:  [Update!!]The Hidden Pending EA

FxFoil » Sat Mar 14, 2015 6:22 am wrote:
Thanks Tommaso
Build 166 took a $600 demo account to $780 this week, drawdown just 6.55%. Too early to get excited, but it is interesting..

Thanks Again
Peter
Hi Peter,

as this EA is only a very potent helper for manual strategies , the result will mainly depend from the strategy you use and how you use the HPEA and esp the moneymanagement..

Cheers :)

Tommaso
Author:  FxFoil [ Mon Mar 16, 2015 10:03 pm ]
Post subject:  The Hidden Pending EA

.
Author:  milanese [ Mon Mar 16, 2015 10:29 pm ]
Post subject:  The Hidden Pending EA

FxFoil » Mon Mar 16, 2015 10:03 pm wrote:Tommaso

Thanks for the reinitialize after opening trade. When opposite trade is filled EA should also reinitialize, or will have repeat trades at same price.
Thanks Peter
it is probably a problem with the setting you use, that let the EA act in a way you does not want it to act, please attach your setfile, and I will take a look into this


Cheers :)

Tommaso
Author:  milanese [ Tue Mar 17, 2015 9:03 am ]
Post subject:  [update] The Hidden Pending EA

march 17th,2015
update fixing a problem in the FixedDistanceToOpposite option, caused by a missunderstanding, how this function should work, now this option affects only the initial oppositetrade, but not eventualy stacking trades.

FxFoil has sent me a pm with his settings and I understood that using the new option FixedDistanceToOpposite could cause endless trading-loops if this setting affects not only initial trades but too.. stacking trades..
You will find the new version build 167 attached to the first post, that is fixing this problem..

Cheers :)

Tommaso
All times are UTC Page 27 of 49