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 »

forexgeeker » Mon Dec 07, 2015 7:40 pm wrote:Hi Tommaso,

I have an additional feature suggestion in mind that I hope maybe you might consider putting in on the upcoming HPEA update.

1. [Set to BE only If the Next PendingOrder Filled] :My pendingOrder/stacked order doesn't have a fixed distance between them as I always adjust it from time to time depending on the price action.Some are 15pips,30pips,45pips,etc.So I think by having this function can avoid the order get stopped on BE too early as my strategy is based on price action.



2. [PendingOrderJumpStepDistance] :If [MovePendingBuyDownIfPriceMoveDown] true,[MovePendingSellUpIfPriceMoveUp] true,and [DistanceToPrice] 15 pips,the EA will adjust the PO accordingly to always have 15 pips distance from price(like a trailing stop).I was thinking If the PO can be made jumping(to our own preferred distance) instead of trailing,to avoid it got triggered too early and then price move against(see pic below)..
I will think about this and maybe in a further update integrate...

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
krzysiekqq2
Trader
Posts: 69
Joined: Sun Oct 11, 2015 11:59 am
Location: Gdynia, town at Baltic sea cost

The Hidden Pending EA

Post by krzysiekqq2 »

Hi Milanese,

I need your direction with HPEA. I want to set up trading system with your HPEA your simpleAPBM being always in the trade.

HPEA is suppose to:
1. open 5 BuyStop and 5 SellStop pending position every 15pips
2. they should be adjustable
3. they should be triggered when put on chart
4. they are managed by simpleAPBM until all opened pairs provide total all pairs target pips.
5. sAPBM close all trades as PairBasketProfit and delete remaining pendings orders in both directions
6. HPEA opens again a set of 5 pending orders in both directions with 15 pips distance as before.
7. Close of trades is a trigger for next pending orders.

Can this be done with those 2 EA's?

I attached both setups I used. I would appreciate if you could have a look, what I was doing wrong as HPEA, did not openned any trades on M1 TF.

Thanks and Cheers,
HiddenPending_EA.set
HPEA_set.set
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 »

krzysiekqq2 » Wed Jan 06, 2016 12:55 pm wrote:Hi Milanese,

I need your direction with HPEA. I want to set up trading system with your HPEA your simpleAPBM being always in the trade.

HPEA is suppose to:
1. open 5 BuyStop and 5 SellStop pending position every 15pips
2. they should be adjustable
3. they should be triggered when put on chart
4. they are managed by simpleAPBM until all opened pairs provide total all pairs target pips.
5. sAPBM close all trades as PairBasketProfit and delete remaining pendings orders in both directions
6. HPEA opens again a set of 5 pending orders in both directions with 15 pips distance as before.
7. Close of trades is a trigger for next pending orders.

Can this be done with those 2 EA's?

I attached both setups I used. I would appreciate if you could have a look, what I was doing wrong as HPEA, did not openned any trades on M1 TF.

Thanks and Cheers,
please read carefully the first post to understand how the HPEA works, and you will anderstand that the EA is not supposed to open at the same price more than one order.

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
discodevil
Posts: 1
Joined: Mon Jan 04, 2016 7:35 pm

The Hidden Pending EA

Post by discodevil »

Greeting sir, I've tried several BT with #eurusd h4 from jan - dec 2015, and sorry for modify the "void SetBEAndJump" NewSL>Ask+(10/factor) and NewSL<Bid -(10/factor) into NewSL>Ask+(4/factor) and NewSL<Bid -(4/factor) and the result so impressive
:clap:
I have some opinion, if I want to make this EA more agressive with the lot size based on equity. Lot = margin/10000, so it will be flexible using the lot size everytime my pending orders making entry. On what section I should do the modification, because everytime I try it failed, because I don't have a knowledge in coding.
Thanks
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 »

Greeting sir, I've tried several BT with #eurusd h4 from jan - dec 2015, and sorry for modify the "void SetBEAndJump" NewSL>Ask+(10/factor) and NewSL<Bid -(10/factor) into NewSL>Ask+(4/factor) and NewSL<Bid -(4/factor) and the result so impressive
:clap:
I have some opinion, if I want to make this EA more agressive with the lot size based on equity. Lot = margin/10000, so it will be flexible using the lot size everytime my pending orders making entry. On what section I should do the modification, because everytime I try it failed, because I don't have a knowledge in coding.
Thanks
This is a helper for your manual trade strategies, nothing else, read 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
kakashi
Trader
Posts: 10
Joined: Thu Jan 14, 2016 6:04 am

The Hidden Pending EA

Post by kakashi »

Hi Milanese,

I'm a new member here and I'm interested to use this EA to manage my trade.
I have a question about 'DoLimitAndStopStackingOrders' function that this EA have.If I understand correctly,
if I set;

UseStacking=true; DoLimitAndStopStackingOrders=true; SetAutoPendingStopBuy=true; and SetAutoPendingLimitBuy=true;

The EA will set BuyStop and BuyLimit both at the same time am I right?
But when I tried,it only create a buy stop order above current price and there's no buylimit below price.
Sorry if this is a repetitive question,but I can't find explanation about this 'DoLimitAndStopStackingOrders' at the first post.So really appreciate your help on this..

Anyway just for information,what I'm trying to do is I need the EA to set a series of stacking order of (Buystop and BuyLimit) both at the same time (or SellStop and SellLimit). :)

Cheers,
kakashi
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 » Thu Jan 14, 2016 7:43 am wrote:Hi Milanese,

I'm a new member here and I'm interested to use this EA to manage my trade.
I have a question about 'DoLimitAndStopStackingOrders' function that this EA have.If I understand correctly,
if I set;

UseStacking=true; DoLimitAndStopStackingOrders=true; SetAutoPendingStopBuy=true; and SetAutoPendingLimitBuy=true;

The EA will set BuyStop and BuyLimit both at the same time am I right?
But when I tried,it only create a buy stop order above current price and there's no buylimit below price.
Sorry if this is a repetitive question,but I can't find explanation about this 'DoLimitAndStopStackingOrders' at the first post.So really appreciate your help on this..

Anyway just for information,what I'm trying to do is I need the EA to set a series of stacking order of (Buystop and BuyLimit) both at the same time (or SellStop and SellLimit). :)

Cheers,
kakashi
This input has for the initial order no effect, only for following orders the EA will set both limit and stop orders, if you set this to true, it was a function time ago requested by a user here, with a special trading style..

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 » Thu Jan 14, 2016 8:53 am wrote: This input has for the initial order no effect, only for following orders the EA will set both limit and stop orders, if you set this to true, it was a function time ago requested by a user here, with a special trading style..

Cheers :)

Tommaso
Thanks for the explanation.You're right,the limit order appear after the first order is hit.

By the way just to let you know,I'm experiencing some issue when I load this EA on multiple pair.
It work's fine on some pair,however on the other it keeps on opening a lot of duplicate/double order.I'm not sure what went wrong.I tried on another platform it is the same.My Empty4 is build 950.
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 »

kakashi » Thu Jan 14, 2016 1:54 pm wrote:
milanese » Thu Jan 14, 2016 8:53 am wrote: This input has for the initial order no effect, only for following orders the EA will set both limit and stop orders, if you set this to true, it was a function time ago requested by a user here, with a special trading style..

Cheers :)

Tommaso
Thanks for the explanation.You're right,the limit order appear after the first order is hit.

By the way just to let you know,I'm experiencing some issue when I load this EA on multiple pair.
It work's fine on some pair,however on the other it keeps on opening a lot of duplicate/double order.I'm not sure what went wrong.I tried on another platform it is the same.My Empty4 is build 950.
The EA is concepted for the latest build, so it must be your setting or using more than one instance per pair, make sure that you can use only one HPEA per pair and never use the EA with other EAs on the same Empty4 , read again first post with attention and the entire thread to understand the complex settings and possibilities this EA offers.

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 » Thu Jan 14, 2016 3:34 pm wrote: The EA is concepted for the latest build, so it must be your setting or using more than one instance per pair, make sure that you can use only one HPEA per pair and never use the EA with other EAs on the same Empty4 , read again first post with attention and the entire thread to understand the complex settings and possibilities this EA offers.

Cheers :)

Tommaso
Done some demo testing with the EA today,and everything works fine.No more duplicate order.I think the problem yesterday is because I opened to many pair(25 pair)..Today I reduced the pair to 15 only and everything run very well.Surely,I will read the thread and learn more about this EA.This is now my favorite tool to use for my trade. :smile:

Thank you

cheers,
kakashi
Post Reply

Return to “Utilities Indicators and Scripts”