Cheers
Tommaso
there was indeed this time a bug in the code, please try the latest verion V it should work as intended, I did use this update too for some other improvements ..Over60 » Wed Jan 21, 2015 9:45 am wrote:Hi Milanese,
Thanks for implementation of partial profit, resp. the partial close feature.
If I understand your latest explanation correct. If BE is set to 4 pips > entry and hit, a SL with 6 pips distance to current price should simultaneously move to minus 2 pips < entry and afterwards trail.
Why a TP with 10 pips > entry will influence the order to become completely closed? It should be only happen, if BE = TP = 10 Pips, due to the priority of TP?
Unfortunately, partial close do not work in conjunction with my settings, even I tried less functionalities and did change the magicnumber and restart the platform...
I´m not sure what´s going wrong by forward testing, but also with the APTM I recently assumed that the partial close in conjunction with multiple orders did not perform as it should.
Maybe I´m wrong due to incompatible settings or simply by misunderstanding how the settings interact, especially with multiple orders.
Please find attached the set-file (version “U” used on a GP-demo).
Thanks for your attention.
moving on...
With kind regards
Over60
thank you very muchcannon » Wed Jan 21, 2015 12:50 pm wrote:Thanks Tommaso
To show my appreciation I have sent a Donation to Steve Hopwoods account
![]()
![]()
![]()
![]()
the latest version will be able recognize old open orders with his magicnumber and manage them, too in most cases the next pending orders will be set correct, it is a new security feature, but as always better is to let the EA run untouched 24/24 ..Over60 » Wed Jan 21, 2015 3:46 pm wrote:Hi Milanese,
What about already working orders, if the EA has been removed and attached again with changed settings?
Does the EA supervise and manage all open orders of e.g. a pair after attaching the EA again, be it for entered manual orders in the meantime or orders performed previously by the EA?
Imo, partial profit does still not work.
Today during the spike of almost 100 pips long of the EURUSD, partial close and trailing did not perform.
BTW: It seems to me not easy for coding such routines, because after attaching the EA again, the EA have to find first all open orders, be it buy or sell, than it has to supervise and to calculate by certain loops, where the open orders are positioned referring the actual price and the settings.
As long as the conditions BE/TP/SL are not yet fulfilled, no problem, as long as the defined SL´s, BE or TP has not yet hit, but there might be overflows, e.g. if any orders are already in profit > BE/SL protection and partial close, without performing already partial close, so the EA has to calculate and consider the next BE level, to start performing with the actual price, not considering the origin entry, otherwise it would close orders in profit, which are still performing.
If the SL´s are overdue, no problem, we can they actualize resp. modify.
My statements might be a little bit confusing for unexperienced followers,
but I´m sure that “Milanese” knows such bottlenecks and he knows what I talk about.
For the followers, please take care to use always a new magicnumber by changing the settings and consider what “Milanese” did also already advice, concerning changing timeframe or modifying settings,
if there are still old open orders alive, entered by the EA previously.
If the EA has been removed, imo there is no further automatic management for the previous, old opened and remaining orders to start again with changed settings.
Therefore, do not change timeframe and let the orders run open end by trailing or close them manual, if required.
BTW, you can submit alarm by email-alert on your smartphone to avoid unforeseen movements.
In addition, make clear to be flat tommorow.
With kind regards
Over60