The Hidden Pending EA

MPTM's new home
Post Reply
ace81
Trader
Posts: 44
Joined: Thu Dec 26, 2013 6:31 pm

TheHiddenPendingEA

Post by ace81 »

milanese » Fri Apr 25, 2014 4:57 pm wrote:
ace81 » Fri Apr 25, 2014 5:25 am wrote:Hi Tommaso

Is that anyway we can put multi level?
Like that we can use it on .xxx and .050 level, so the profit can be secure on the run :smile:
You would like to have a kind of stacking function ?
So if you entered a pending, than you want if price goes in your direction open every xx pips for a user defiened max new positions?

Cheers :)

Tommaso
yup, so we can use it on 10.9 daily trade :smile:
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

TheHiddenPendingEA

Post by milanese »

ace81 » Fri Apr 25, 2014 9:20 am wrote:
milanese » Fri Apr 25, 2014 4:57 pm wrote:
ace81 » Fri Apr 25, 2014 5:25 am wrote:Hi Tommaso

Is that anyway we can put multi level?
Like that we can use it on .xxx and .050 level, so the profit can be secure on the run :smile:
You would like to have a kind of stacking function ?
So if you entered a pending, than you want if price goes in your direction open every xx pips for a user defiened max new positions?

Cheers :)

Tommaso
yup, so we can use it on 10.9 daily trade :smile:
Ok I will try to add this functions and to make so the EA more flexible ...

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!]TheHiddenPendingEA

Post by milanese »

Ok the EA has new functions:

RemoveEA_afterFilling if you set this to true the EA is removed after the filling of your pending order, set it to false if you will use the possibility of stacking trades

UseStacking if this is et to true the EA will in distance of the pips you set with StackingLevel set a new pending order in trade direction after a pending order is filled. With MaxOpenPositions you set the max positions the EA can open.

After filling a BUY the SELL pending is deleted and viceversa.
With SL and TP you can set SL and TP levels.
If you set UseStacking to false MaxOpenPositions is automatic set to 1, so you can be sure the EA will only fill one order, so there is not really a need to set RemoveEA_afterFilling to true, note if you set this to true the EA set with ECN brokers no SL or TP..


Enjoy and let me know if you want new functions :)
I will attach the new update in 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
ace81
Trader
Posts: 44
Joined: Thu Dec 26, 2013 6:31 pm

[UPDATE!]TheHiddenPendingEA

Post by ace81 »

milanese » Fri Apr 25, 2014 6:45 pm wrote:Ok the EA has new functions:

RemoveEA_afterFilling if you set this to true the EA is removed after the filling of your pending order, set it to false if you will use the possibility of stacking trades

UseStacking if this is et to true the EA will in distance of the pips you set with StackingLevel set a new pending order in trade direction after a pending order is filled. With MaxOpenPositions you set the max positions the EA can open.

After filling a BUY the SELL pending is deleted and viceversa.
With SL and TP you can set SL and TP levels.
If you set UseStacking to false MaxOpenPositions is automatic set to 1, so you can be sure the EA will only fill one order, so there is not really a need to set RemoveEA_afterFilling to true, note if you set this to true the EA set with ECN brokers no SL or TP..


Enjoy and let me know if you want new functions :)
I will attach the new update in the first post...
Cheers :)

Tommaso
Thanks.. again :yahoo:
HannesJoubert
Trader
Posts: 282
Joined: Wed Oct 30, 2013 11:06 am
Location: South Africa

TheHiddenPendingEA

Post by HannesJoubert »

Hi Tomasso, many thanks for your work on this.

As mentioned in my PM to you (thanks for the reply)...is it possible for the EA to follow price?

The reason I ask, what if you set your pending order (eg long) and there is a price retracement meaning that price moves away from you in the opposite direction. If the EA does not follow price, that means that price has to move back through the retracement before it gets to your pendings, which also means that you would be losing out on more potential pips. Whereas, if the EA followed price downwards, setting pending orders at the user defined intervals, when price does turn back into the trend, you are in earlier meaning more profits...

Therefore you are not hedging, but simply following price to make sure that you get in with maximum potential when price turns around back into the trend as indicated by 10.9's indicators.

Does that make sense? (This is especially true with pairs that have large ATR's (think AUD & NZD)

Example

your first pending long is triggered, price turns around, you are stopped out @ BE, price retraces by (eg) 100 pips. Now your 1st available pending is 100 pips + the gap between the 1st pending that was triggered and the next one up on the ladder. If the EA followed price, then you have that figure just mentioned as profit potential as the pair resumes the trend....

Cheers

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

TheHiddenPendingEA

Post by milanese »

HannesJoubert » Tue Apr 29, 2014 7:34 am wrote:Hi Tomasso, many thanks for your work on this.

As mentioned in my PM to you (thanks for the reply)...is it possible for the EA to follow price?

The reason I ask, what if you set your pending order (eg long) and there is a price retracement meaning that price moves away from you in the opposite direction. If the EA does not follow price, that means that price has to move back through the retracement before it gets to your pendings, which also means that you would be losing out on more potential pips. Whereas, if the EA followed price downwards, setting pending orders at the user defined intervals, when price does turn back into the trend, you are in earlier meaning more profits...

Therefore you are not hedging, but simply following price to make sure that you get in with maximum potential when price turns around back into the trend as indicated by 10.9's indicators.

Does that make sense? (This is especially true with pairs that have large ATR's (think AUD & NZD)

Example

your first pending long is triggered, price turns around, you are stopped out @ BE, price retraces by (eg) 100 pips. Now your 1st available pending is 100 pips + the gap between the 1st pending that was triggered and the next one up on the ladder. If the EA followed price, then you have that figure just mentioned as profit potential as the pair resumes the trend....

Cheers

H
Hi Hannes,

there is no general roule which pair have a high or low ATR (volatility) this depends and changes dynamicly, that is why it makes sense to use ATR for the sl,tp and sl movement calculations.
The EA "followes" the price with stacking if it is activated in the right direction of the first filled trade, what makes sense.
I could add that the EA will too manage the trades, if you don't want to use the alltrademananger
http://www.stevehopwoodforex.com/phpBB3 ... =21&t=3482 which does a very good job for this. Too I could implant that next pending will only be filled if BE for first order is set, what would makes sense.
Following the price if the price goes against your direction, would not make sense for an EA believe me.


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
HannesJoubert
Trader
Posts: 282
Joined: Wed Oct 30, 2013 11:06 am
Location: South Africa

TheHiddenPendingEA

Post by HannesJoubert »

Thanks Tomasso...

I am trying your helper EA, but I am concerned about the spread filter....I have adjusted the slip value to 1.5 times average spread, but the allowed spread has still remained the same.

Therefore my other question is, even though the pendings are "hidden" would they not appear on the platform at all?

Perhaps I am using the ea incorrectly?

Cheers

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

TheHiddenPendingEA

Post by milanese »

Hi all,

first post updated, Over60 asked me for the possibilty that the EA will have the option to not delet the opposite order after filling one order.
So we have new functions:
DeleteOppositeAfterFillif you set this true, after filling a BUY the SELL pending is deleted and viceversa. Set this to false and the EA will not delet the opposite order, if you use stacking the EA can now to follow the price in the other direction.
With SL and TP you can set SL and TP levels.
If you set UseStacking to false MaxOpenPositions is automatic set to 1 ( or to 2 if you have set DeleteOppositeAfterFill to true , so you can be sure the EA will only fill one (or two) order(s), so there is not really a need to set RemoveEA_afterFilling to true, note if you set this to true the EA set with ECN brokers no SL or TP..
UseCloseFriday, if you set this to true the EA will close all orders opened by this EA at FridayCloseHour you set (used is the broker time)

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 »

HannesJoubert » Tue Apr 29, 2014 3:25 pm wrote:Thanks Tomasso...

I am trying your helper EA, but I am concerned about the spread filter....I have adjusted the slip value to 1.5 times average spread, but the allowed spread has still remained the same.

Therefore my other question is, even though the pendings are "hidden" would they not appear on the platform at all?

Perhaps I am using the ea incorrectly?

Cheers

H
Please download the latest one as I did some updates with new functions, the allowed spread is automatic calculated, it is used to avoid spreadspikes for the entry, the order you see on your chart, but not at a pending in your platform, as it is a "hidden" pending 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
Over60
Trader
Posts: 153
Joined: Thu Sep 13, 2012 12:58 pm

TheHiddenPendingEA

Post by Over60 »

Hi Tommaso,

In advance: I do not know some EA-internals, so I might be wrong.

I tried to use the EA on two charts in the same pair.
One only for short and the other only for long pendings, because I tried to use different SL- and TP-levels.
I did not setup the pending price for long or short vice versa.
The first attached EA did work by default short, but SL- and TP-levels seems to be get lost.
The second EA on the same pair long, attached to a second chart did not work, although it shows in the chart and in the dashboard, that a pending buy-order has been placed.

Independent from this, I got the attached message.
Maybe it has something to do with the internal automatics and/or the setup conditions.
I assume that it could be the ECN fature or a collision between MaxDiffprice and the tighten stop-levels.
If you need more detailed information, please let me know.

By the way, I´d like to ask, why it is not foreseen to enter with a initial order.

Would nice to get some advice.

Regards
Over60
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Utilities Indicators and Scripts”