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 +

The Hidden Pending EA

Post by milanese »

kakashi » Tue Feb 09, 2016 10:42 am wrote:Hi Tommaso,

I need some help as I not quite understand how the (AvoidInRetracingDoubleOrders) works.

In the first post you have mention "if AvoidInRetracingDoubleOrders=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."

But although I have set it to true,I still get few order opened at the same level.This happen when price move back and forward couple times(ranging) which cause the pending order to re-adjust itself back to the level where there's already an order opened.

How can I avoid duplicate order opened at the same level?
I attach my set file for reference.

Thank you.
As you let the HPEA open pendings in both directions, this is with your settings (stacking distance is only 15 pips) not to avoid, in ranging times I would propose only to allow pendings in one direction, if you want to use a very tight stacking level..
The EA is more concepted for stacking in one direction, as this was the initial propose.., many additions are made because of user requests and not so much tested as the OOTB setting
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 +

[update]The Hidden Pending EA

Post by milanese »

feb 9,2016 v1.98
fixes some glitch in the AvoidInRetracingDoubleOrders function, too screen-snappies are added files are stored in the MQL4/Files folder of the platform.
As always go to the first post to download latest version...

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
kakashi
Trader
Posts: 10
Joined: Thu Jan 14, 2016 6:04 am

The Hidden Pending EA

Post by kakashi »

milanese » Tue Feb 09, 2016 6:56 pm wrote: As you let the HPEA open pendings in both directions, this is with your settings (stacking distance is only 15 pips) not to avoid, in ranging times I would propose only to allow pendings in one direction, if you want to use a very tight stacking level..
The EA is more concepted for stacking in one direction, as this was the initial propose.., many additions are made because of user requests and not so much tested as the OOTB setting
Cheers :)

Tommaso
I see,now I understand.Thank you for the explanation and for the new update.
It is very much appreciated.. :hi:

cheers,
kakashi
MichaelSch
Trader
Posts: 25
Joined: Wed Jan 27, 2016 7:05 pm

The Hidden Pending EA

Post by MichaelSch »

I need help with settings.

I have managed that APTM manage my trade in positive direction.
Now i will make opposite trades if price goes against me. For this i will use this EA.

What must i set up to make a pending order at entry price from initial trade with SL 5 and TP 10 with jump after this? I draw a picture to make it clearer.

English is not my first language and i read first post again and again. It is difficult to understand.
Hilfe_EA.png
EDIT I see picture has an error. PEnding EA trade will start at -5 SL at 0 and TP -15
If my Ea open a trade, can Pending EA make direct the opposite Pending order?

Eventually you have better idea to manage fast scalping trades?

Thanks

Michael
You do not have the required permissions to view the files attached to this post.
User avatar
Heraclees
Trader
Posts: 24
Joined: Thu Dec 24, 2015 3:06 am
Location: Vietnam

The Hidden Pending EA

Post by Heraclees »

Hi Tommaso,
First thanks for this great tool that help me a lot.
I wonder if it's possible in your high kindness mood to add fonctions: SLMinDistanceToPriceJS and SLMinDistanceToPriceBE like in APTM? :cheer:
Thank you by advance.

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

The Hidden Pending EA

Post by milanese »

Heraclees » Fri Feb 19, 2016 11:30 am wrote:Hi Tommaso,
First thanks for this great tool that help me a lot.
I wonder if it's possible in your high kindness mood to add fonctions: SLMinDistanceToPriceJS and SLMinDistanceToPriceBE like in APTM? :cheer:
Thank you by advance.

Hai
I will consider this for a next update..

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 +

[UPDATE]The Hidden Pending EA

Post by milanese »

feb 19,2016 v1.99
New Trailing is more flessible as you have the possibility for different SLMinDistance inputs for the BE setting and the JumpingStop function, as always you can let HPEA let this calculate with the ATR.
These are the modified inputs:
SLMinDistanceToPriceBE pips NewSL at BE must have distance to price
SLMinDistanceToPriceJS pips NewSL after moving SL must have distance to price
atrMultiplicatorForSLMinDistanceToPriceBE
atrMultiplicatorForSLMinDistanceToPriceJs these are used if you let the HPEA automatic second ATR calculate.

Go to the first post to download the latest one

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
Heraclees
Trader
Posts: 24
Joined: Thu Dec 24, 2015 3:06 am
Location: Vietnam

The Hidden Pending EA

Post by Heraclees »

dear Tommaso,
could you please check my set file for what i did wrong because the Set BE doesn't trigger.
normally with:
Use_SetBEAndJump=true
BEProfit=4.0
JumpStep=10.0
SLMinDistanceToPriceBE=12.0
SLMinDistanceToPriceJS=45.0

PA goes 16pips in my trade favor that trigger the set BE ?
thank you for your help.
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 +

The Hidden Pending EA

Post by milanese »

Heraclees » Mon Feb 22, 2016 11:31 am wrote:dear Tommaso,
could you please check my set file for what i did wrong because the Set BE doesn't trigger.
normally with:
Use_SetBEAndJump=true
BEProfit=4.0
JumpStep=10.0
SLMinDistanceToPriceBE=12.0
SLMinDistanceToPriceJS=45.0

PA goes 16pips in my trade favor that trigger the set BE ?
thank you for your help.
no idea what is happening, maybe test version 1.98 (the previous) if there will be too a problem if you use same setting (there SLMinDistanceToPrice=12), for excluding that with the update there is an glitch..

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
Heraclees
Trader
Posts: 24
Joined: Thu Dec 24, 2015 3:06 am
Location: Vietnam

The Hidden Pending EA

Post by Heraclees »

Dear Tommaso,
SLMinDistanceToPriceJS=45.0
Work.
Only SLMinDistanceToPriceBE doesn't work.
I plug old version to check and report asap.

Thanks

Hai
Post Reply

Return to “Utilities Indicators and Scripts”