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

The Hidden Pending EA
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3573
Page 38 of 49
Author:  milanese [ Fri May 29, 2015 6:34 am ]
Post subject:  The Hidden Pending EA

Over60 » Fri May 29, 2015 6:06 am wrote:Hi Milanese,

Thanks for the new features version 189, very appreciated.

At the first glance, I did taken into account, that the magicnumber OOTB = 0.
Does the HPEA generate internal a magicnumber automatically?

Further on, I did determine, that the HPEA did open buy- and sell-pendings twice by a certain distance.
E.g. open sell 1.09543, than a open sell at 1.09536. I could not detect the cause.
Please refer to the attached log-file.
Build 825.
It might be happen, if after open the price retrace, than move again in the designated direction.

Moving on

Over60
As I wrote before, with the new feature one TP for all the HPEA sets the TP for all open trades in a pair to the same value. For this feature is no magicumber used.
About the order open, this is, with the setting you used, exactly what you have to aspect if the price retraces, as you use the "hedge" setting, means you let the HPEA open orders in both direction. As every EA the HPEA will do that what you told to do. Maybe use an other setting that allows after the first fill only open in one direction, (delete opposite after fill)

Cheers :)

Tommaso
Author:  milanese [ Fri May 29, 2015 7:10 am ]
Post subject:  The Hidden Pending EA

@Over60 I will consider a new setting for the next update OnlyOneTradeAtPriceRetrace that will in this situations avoid to with taking pending orders in both directions that you have orders at simil price levels open...

Cheers :)

Tommaso
Author:  Over60 [ Fri May 29, 2015 10:00 am ]
Post subject:  The Hidden Pending EA

Hi Milanese,

Thanks a lot for your efforts.

To avoid misunderstanding, the double opens are probably occurred by immediately retracements after open, be it long or short Independently. As far as I can trail and evaluate , sell and buy-orders do not (and should not) influence each other. They should work independent. Anyway your setting advice (delete opposite after fill) seems to work, but I cannot recognize a conjunction and I do not like to erase the moving opposite pending.
From my point of view, if stacking in both direction (bidirectional) has been chosen, after open a pending the new stacking level have to move immediately and simultaneously at open to the new/next stack- level-distance, even price will retrace.
But in this case no new order should be placed if a an order in any direction already is still working.
That might avoid the conflict.
I assume, that you did consider to allow scale in, even an active order is in loss?

Maybe the additional function will solve this problem.

Btw: I ´m a little bit confused, because this conflict did not occur in previous versions.
So I ask myself, what might be changed in the meantime?

Hope that helps for further clarification and I will stay tuned.

Thanks and kind regards
Over60
Author:  milanese [ Fri May 29, 2015 10:13 am ]
Post subject:  The Hidden Pending EA

Over60 » Fri May 29, 2015 10:00 am wrote:Hi Milanese,

Thanks a lot for your efforts.

To avoid misunderstanding, the double opens are probably occurred by immediately retracements after open, be it long or short Independently. As far as I can trail and evaluate , sell and buy-orders do not (and should not) influence each other. They should work independent. Anyway your setting advice (delete opposite after fill) seems to work, but I cannot recognize a conjunction and I do not like to erase the moving opposite pending.
From my point of view, if stacking in both direction (bidirectional) has been chosen, after open a pending the new stacking level have to move immediately and simultaneously at open to the new/next stack- level-distance, even price will retrace.
But in this case no new order should be placed if a an order in any direction already is still working.
That might avoid the conflict.
I assume, that you did consider to allow scale in, even an active order is in loss?

Maybe the additional function will solve this problem.

Btw: I ´m a little bit confused, because this conflict did not occur in previous versions.
So I ask myself, what might be changed in the meantime?

Hope that helps for further clarification and I will stay tuned.

Thanks and kind regards
Over60
There was no code change for this, it is so far previsted that the EA if the spread is ok in a retrace with your settings takes too at a same price level again a trade, this was always so if it was alloed to stack in both directions, I will in the next version add an optional that will avoid this and only take one trade at near levels in retrace cases..

Cheers :)

Tommaso
Author:  Over60 [ Fri May 29, 2015 10:25 am ]
Post subject:  The Hidden Pending EA

Thanks and welcome.

Over60
Author:  milanese [ Fri Jun 05, 2015 11:42 am ]
Post subject:  [update!!] The Hidden Pending EA

june 5,2015
update thanks to an obervation of in many cases unwished behviour so far by the HPEA, if user selected to allow stack-trades in both directions.. by @Over60:
you will find a new user input AvoidInRetracingDoubleOrders=true if this is true the HPEA will ,if you had allowed trades in both directions, or only in one, avoid to enter in price retracing phases at simil levels the EA has already trades open.
As always go to page one, first post to download the new version 190, newcomers here, please read carefully the first post, and if you have after this questions, please post them here...

Cheers :)

Tommaso
Author:  dydynamic [ Wed Jun 10, 2015 7:08 am ]
Post subject:  The Hidden Pending EA

Hi Milanese,
Please can you make the stacking to have the option of stacking both ways for BUY TRADES and SELL TRADES.
For example; if i place a buy trade, when stacking it places only buystops as long as price is above the original trade but when price goes below the original trade, it does not stack or place any buylimts.
please add the option of stacking (buylimits and buystops) for buy trades and stacking (selllimits and sellstops) for sell trades.
Thanks for your priceless work here. I do appreciate your work. :good: :yahoo: :smile: :party:
Author:  milanese [ Wed Jun 10, 2015 2:13 pm ]
Post subject:  The Hidden Pending EA

dydynamic » Wed Jun 10, 2015 7:08 am wrote:Hi Milanese,
Please can you make the stacking to have the option of stacking both ways for BUY TRADES and SELL TRADES.
For example; if i place a buy trade, when stacking it places only buystops as long as price is above the original trade but when price goes below the original trade, it does not stack or place any buylimts.
please add the option of stacking (buylimits and buystops) for buy trades and stacking (selllimits and sellstops) for sell trades.
Thanks for your priceless work here. I do appreciate your work. :good: :yahoo: :smile: :party:
I there will be here more interest by the users to have this feature added I will consider it for one of the next updates..

Cheers :)

Tommaso
Author:  dydynamic [ Wed Jun 10, 2015 3:29 pm ]
Post subject:  The Hidden Pending EA

milanese » Wed Jun 10, 2015 2:13 pm wrote: I there will be here more interest by the users to have this feature added I will consider it for one of the next updates..

Cheers :)

Tommaso
Hi fellow traders,
please support me in requesting for the feature above to be added to HPEA, it will make it more flexible and the ultimate weapon of mass forex pipstruction.
thanks everyone for all your wonderful contributions to HPEA. :clap: :clap: :clap: :!!: :!!: :jump: :jump: :jump:
Author:  dydynamic [ Thu Jun 11, 2015 6:06 am ]
Post subject:  The Hidden Pending EA

Please Milanese add the feature above and I will be forever thankful.
Thanks
All times are UTC Page 38 of 49