The Hidden Pending EA

MPTM's new home
Post Reply
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

[updated EA]TheHiddenPendingEA

Post by milanese »

Please download all the new version V from the first post, I spotted a copy paste bug in the partclose function, that let this function not work for sell trades, too I did a better check at the initializing for old trades of this EA, for more secure reinitializing process if needed, but as always written better is to let the EA work without changing TF closing Empty4 ecc..

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

TheHiddenPendingEA

Post by milanese »

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
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 ..

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
Over60
Trader
Posts: 153
Joined: Thu Sep 13, 2012 12:58 pm

TheHiddenPendingEA

Post by Over60 »

Thanks Milanese,

i did already taken into account, that by stacking orders, the new Version V did contain improvements.

moving on....

With Kind regards
Over60
User avatar
cannon
Posts: 9
Joined: Sun Jan 18, 2015 4:54 pm

TheHiddenPendingEA

Post by cannon »

Hi Guys

I am glad you found this bug I thought I was cracking up :oops: as I could not get the ea to what I wanted.

Many thanks for sorting it.. :smile:
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

[updated EA]TheHiddenPendingEA

Post by milanese »

as Over60 mentioned the partClose and stacking, I added now the partClose too for the stacking trades if setting BE.. hope now the latest version will work for you all as intended..
Please download all version W attached on the first post.
Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
User avatar
cannon
Posts: 9
Joined: Sun Jan 18, 2015 4:54 pm

TheHiddenPendingEA

Post by cannon »

Thanks Tommaso

To show my appreciation I have sent a Donation to Steve Hopwoods account


:cheer: :cheer: :cheer: :cheer: :cheer:
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

TheHiddenPendingEA

Post by milanese »

cannon » Wed Jan 21, 2015 12:50 pm wrote:Thanks Tommaso

To show my appreciation I have sent a Donation to Steve Hopwoods account


:cheer: :cheer: :cheer: :cheer: :cheer:
thank you very much :clap: :clap:

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
Over60
Trader
Posts: 153
Joined: Thu Sep 13, 2012 12:58 pm

TheHiddenPendingEA

Post by Over60 »

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
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

TheHiddenPendingEA

Post by milanese »

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
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 ..
Trades that have already a BE will not be partclosed, this would be able to code to do this but it is some what tricky, maybe with a next upfate I will add this feature..

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
Over60
Trader
Posts: 153
Joined: Thu Sep 13, 2012 12:58 pm

TheHiddenPendingEA

Post by Over60 »

Hi Milanese,

we stay in line...

I´m glad to see the how many users take use of your EA.

moving on my friend

With kind regards
Over 60
Post Reply

Return to “Utilities Indicators and Scripts”