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

The Hidden Pending EA
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3573
Page 14 of 49
Author:  cannon [ Tue Jan 20, 2015 12:33 am ]
Post subject:  TheHiddenPendingEA

wow tommaso thanks for being so quick :clap:

I will have a play and read thread too and let you know how I get on

Thanks so much again :smile:
Author:  cannon [ Tue Jan 20, 2015 2:02 am ]
Post subject:  TheHiddenPendingEA

Really grateful for this ea. :yahoo:

Is there any way to add partial close of lots at certain pips profit

Many thanks
Author:  milanese [ Tue Jan 20, 2015 7:31 am ]
Post subject:  TheHiddenPendingEA

cannon » Tue Jan 20, 2015 2:02 am wrote:Really grateful for this ea. :yahoo:

Is there any way to add partial close of lots at certain pips profit

Many thanks
for this you could combinate the EA with the allPairTrade manager, that has some partclose options, with setting BE ecc... but I will add this functionality to the HiddenPending EA if it would be of use too for some other users too..

Cheers :)

Tommaso
Author:  milanese [ Tue Jan 20, 2015 9:01 am ]
Post subject:  [updated EA]TheHiddenPendingEA

new version jan. 20,2015
New is partclose on BE option PartCloseEnabled, if you set this to true and Use_SetBEAndJump is true, the EA will close the % you selcted with PartClosePercent when setting the BE. You find the new version attached on the first post.

Cheers :)

Tommaso
Author:  milanese [ Tue Jan 20, 2015 11:10 am ]
Post subject:  [updated EA]TheHiddenPendingEA

milanese » Tue Jan 20, 2015 9:01 am wrote:new version jan. 20,2015
New is partclose on BE option PartCloseEnabled, if you set this to true and Use_SetBEAndJump is true, the EA will close the % you selcted with PartClosePercent when setting the BE. You find the new version attached on the first post.

Cheers :)

Tommaso
I found a small glitch, that the oppositePendingOrderline was not deleted (the order was always deleted) when
DeleteOppositeAfterFill was set to true and UseStacking set to false, now fixed, so please all redownload the EA from first post (version U)

Cheers :)

Tommaso
Author:  hannele [ Tue Jan 20, 2015 12:22 pm ]
Post subject:  TheHiddenPendingEA

Dear Tommaso

Thank You :D

cheers
hannele
Author:  cannon [ Tue Jan 20, 2015 12:36 pm ]
Post subject:  TheHiddenPendingEA

Thanks so much Tommaso you are a star :clap:

Will have a look at this later and let you how I get on.

John
Author:  cannon [ Tue Jan 20, 2015 2:03 pm ]
Post subject:  TheHiddenPendingEA

Hi Tommaso

I don't know if I am missing something but what ever parameters I set the take profit and breakeven with part close to the ea seems to close the trades at just a few pips.

I am looking at the trade closing 50 % of lots at 10 pips and bring the stop loss to breakeven and let the rest run.

Can you help as what ever I try the trade just closes after about 1 pip

Many Thanks
Author:  milanese [ Tue Jan 20, 2015 2:51 pm ]
Post subject:  TheHiddenPendingEA

cannon » Tue Jan 20, 2015 2:03 pm wrote:Hi Tommaso

I don't know if I am missing something but what ever parameters I set the take profit and breakeven with part close to the ea seems to close the trades at just a few pips.

I am looking at the trade closing 50 % of lots at 10 pips and bring the stop loss to breakeven and let the rest run.

Can you help as what ever I try the trade just closes after about 1 pip

Many Thanks
sure you must set no TP or 100 pip TP or what ever is ok for you and SLMinDistanceToPrice to 6 as the EA sets a BE with 4 pips, if you set the tp to 10 pips the entire position will be closed..

Hope this helps!

Cheers :)

Tommaso
Author:  Over60 [ Wed Jan 21, 2015 9:45 am ]
Post subject:  TheHiddenPendingEA

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
All times are UTC Page 14 of 49