The Hidden Pending EA

MPTM's new home
Post Reply
User avatar
putusernamehere
Trader
Posts: 107
Joined: Fri Nov 15, 2013 8:56 pm

TheHiddenPendingEA

Post by putusernamehere »

Hi tommaso :hi:

in TheHiddenPending EA is a bug i cant change the windowcolor in the infobox and if I delete the EA from the chart the colored infobox is not delete


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

[fixed Update!]TheHiddenPendingEA

Post by milanese »

putusernamehere » Sun Feb 08, 2015 8:21 pm wrote:Hi tommaso :hi:

in TheHiddenPending EA is a bug i cant change the windowcolor in the infobox and if I delete the EA from the chart the colored infobox is not delete


Cheers Gunter :hi:
Thanks for spotting this Gunter :good:
As always you find the update to TheHiddenPendingEA_149 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
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

[fixed Update!]TheHiddenPendingEA

Post by milanese »

milanese » Sun Feb 08, 2015 8:33 pm wrote:
putusernamehere » Sun Feb 08, 2015 8:21 pm wrote:Hi tommaso :hi:

in TheHiddenPending EA is a bug i cant change the windowcolor in the infobox and if I delete the EA from the chart the colored infobox is not delete


Cheers Gunter :hi:
Thanks for spotting this Gunter :good:
As always you find the update to TheHiddenPendingEA_149 attached on the first post

Cheers :)

Tommaso
sorry I uploaded a debug version :arrrg: :arrrg: Please Redownload HiddenPendingEA_150
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
putusernamehere
Trader
Posts: 107
Joined: Fri Nov 15, 2013 8:56 pm

TheHiddenPendingEA

Post by putusernamehere »

Hi Tommaso :hi:

you are Great :good: :cheer:

it works perfect :yahoo:

Cheers Gunter :hi:
Over60
Trader
Posts: 153
Joined: Thu Sep 13, 2012 12:58 pm

TheHiddenPendingEA

Post by Over60 »

Hi Milanese,

Thanks at first for all the new improvements and design.

The idea to move the pendings from ”Gunter” works, but it works too, when orders were already triggered by stacking.

See attached pic, where the pending-order-line (buy-green line) moves below the already triggered buys.
That should not be, considering already stacked orders.

With simple words, if there are e.g. already buy-orders, the moving buy pending should not operate and should remain above the latest triggered buy.

Stay tuned …

With kind regards
Over60
You do not have the required permissions to view the files attached to this post.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

TheHiddenPendingEA

Post by milanese »

Over60 » Mon Feb 09, 2015 9:28 am wrote:Hi Milanese,

Thanks at first for all the new improvements and design.

The idea to move the pendings from ”Gunter” works, but it works too, when orders were already triggered by stacking.

See attached pic, where the pending-order-line (buy-green line) moves below the already triggered buys.
That should not be, considering already stacked orders.

With simple words, if there are e.g. already buy-orders, the moving buy pending should not operate and should remain above the latest triggered buy.

Stay tuned …

With kind regards
Over60
The HPEA will for this operation only recognize trades with his own magicnumber. The "trailing" will only happen if the HPEA not recognizes any open trade with it's own magicnumber, but if there are other trades in same symbol open and no trades with it's own magicnumber, the HPEA will trail the first pendingsorder if you set this option to true.

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
jauhar
Trader
Posts: 24
Joined: Wed Apr 17, 2013 6:08 pm

TheHiddenPendingEA

Post by jauhar »

Hi Tommaso,

I started using HP together with APTM since Monday, and so far the results are excellent. The flexibility and the ATR based calculations in both EAs make them suitable for any strategy. Thanks a lot.

I have a question in HP. I enabled both buy and sell stop orders with no stacking and DeleteOppositeAfterFill=true. Now when an order is filled, the opposite pending is removed without problem. But when there is an error (off qoutes) in opening an order, the order is removed and its opposite is still active. I mean when a buy fails to fill with some error, the green line disappears but the red is still there. Is this behavior by design?

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

TheHiddenPendingEA

Post by milanese »

jauhar » Thu Feb 12, 2015 2:45 am wrote:Hi Tommaso,

I started using HP together with APTM since Monday, and so far the results are excellent. The flexibility and the ATR based calculations in both EAs make them suitable for any strategy. Thanks a lot.

I have a question in HP. I enabled both buy and sell stop orders with no stacking and DeleteOppositeAfterFill=true. Now when an order is filled, the opposite pending is removed without problem. But when there is an error (off qoutes) in opening an order, the order is removed and its opposite is still active. I mean when a buy fails to fill with some error, the green line disappears but the red is still there. Is this behavior by design?

Cheers,
Jauhar
Thanks for your, post. Which broker are you using? I had never this problem with GlobalPrime. That is why the HPEA uses in that part still an older code solution from me.
You are right in the actual structure the EA deletes the pending in case it was not filled by error, this is a security feature, you are too right, that in this case the opposite order will remain as the EA is unable to know what would be for you the more important order. But I can recode if this part if you would like the EA not to delete the pending order in that cases. But to give a chance for a retry..

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
jauhar
Trader
Posts: 24
Joined: Wed Apr 17, 2013 6:08 pm

TheHiddenPendingEA

Post by jauhar »

milanese » Thu Feb 12, 2015 11:34 am wrote:
jauhar » Thu Feb 12, 2015 2:45 am wrote:Hi Tommaso,

I started using HP together with APTM since Monday, and so far the results are excellent. The flexibility and the ATR based calculations in both EAs make them suitable for any strategy. Thanks a lot.

I have a question in HP. I enabled both buy and sell stop orders with no stacking and DeleteOppositeAfterFill=true. Now when an order is filled, the opposite pending is removed without problem. But when there is an error (off qoutes) in opening an order, the order is removed and its opposite is still active. I mean when a buy fails to fill with some error, the green line disappears but the red is still there. Is this behavior by design?

Cheers,
Jauhar
Thanks for your, post. Which broker are you using? I had never this problem with GlobalPrime. That is why the HPEA uses in that part still an older code solution from me.
You are right in the actual structure the EA deletes the pending in case it was not filled by error, this is a security feature, you are too right, that in this case the opposite order will remain as the EA is unable to know what would be for you the more important order. But I can recode if this part if you would like the EA not to delete the pending order in that cases. But to give a chance for a retry..

Cheers :)

Tommaso
Hi Tommaso,

Thanks for the reply. My broker is FXCM. Since Monday, 9 orders were filled without problem but 3 got the off quotes error and then I removed the HP manually as the opposite pending was active. I think it would be nice if the EA retry opening the order if it fails in the first try. By the way, my settings were: slippage=1, MaxSpreadAllowedMultiplicator=1, and MaxDiffPrice=4. Maybe I need to increase the slippage to 2 to avoid the error.

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

TheHiddenPendingEA

Post by milanese »

jauhar » Thu Feb 12, 2015 9:05 am wrote:
Hi Tommaso,

Thanks for the reply. My broker is FXCM. Since Monday, 9 orders were filled without problem but 3 got the off quotes error and then I removed the HP manually as the opposite pending was active. I think it would be nice if the EA retry opening the order if it fails in the first try. By the way, my settings were: slippage=1, MaxSpreadAllowedMultiplicator=1, and MaxDiffPrice=4. Maybe I need to increase the slippage to 2 to avoid the error.

cheers,
Jauhar
I will later post an update for this, try with FXCM slippage=5, as they unfortunately do sometimes requote....

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
Post Reply

Return to “Utilities Indicators and Scripts”