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 +

[New functions!] The Hidden Pending EA

Post by milanese »

apr.26,2015
update indtroducing one click buttons to set a hidden BUY or SELL pending anytime, or to change the actual present pendings.
USDCADH4.png
The pendings will use the actual price +/- DistancePendingToPrice value, this can be your manual set value or the ATR based automatic value depending on your setting. For the new function OOTB set to true we have the following new inputs:

Code: Select all

extern string   button="----Button-Order inputs----";
extern bool    UseButtonsForSettingPendings=true;
extern bool    SetButtonStopOrder=true;
extern bool    SetButtonLimitOrder=false;
So you can decide wether your orders will be stop or limit orders. Note you can not set both to true.

You find the new build 185 at the bottom of the first post in this thread, I will remember all again to read careful the first post and if you have questions or ideas as always just ask here.

Cheers :)

Tommaso
You do not have the required permissions to view the files attached to this post.
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
xhar
Posts: 3
Joined: Tue Mar 03, 2015 5:28 pm

The Hidden Pending EA

Post by xhar »

hello tommaso :hi:

This sounds very nice and I am very pleased, therefore, this indicator can be corrected, please because it helps...
thank you so much that has helped ...

cheers :smile:
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 »

xhar » Mon Apr 27, 2015 2:16 pm wrote:hello tommaso :hi:

This sounds very nice and I am very pleased, therefore, this indicator can be corrected, please because it helps...
thank you so much that has helped ...

cheers :smile:
Here is the updated version for the latest build, note: please post in future requests of this kind in the
appropriate thread
---click--> http://www.stevehopwoodforex.com/phpBB3 ... m.php?f=15
M_MathText_v3_mod.mq4
Cheers :)

Tommaso
You do not have the required permissions to view the files attached to this post.
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
xhar
Posts: 3
Joined: Tue Mar 03, 2015 5:28 pm

The Hidden Pending EA

Post by xhar »

milanese » Mon Apr 27, 2015 5:25 pm wrote:
xhar » Mon Apr 27, 2015 2:16 pm wrote:hello tommaso :hi:

This sounds very nice and I am very pleased, therefore, this indicator can be corrected, please because it helps...
thank you so much that has helped ...

cheers :smile:
Here is the updated version for the latest build, note: please post in future requests of this kind in the
appropriate thread
---click--> http://www.stevehopwoodforex.com/phpBB3 ... m.php?f=15

Cheers :)

Tommaso
thank you very much ... :good: yes I have noticed ...

Cheers
Louisetano
Trader
Posts: 68
Joined: Thu Jan 01, 2015 9:42 am

The Hidden Pending EA

Post by Louisetano »

Hi Tommaso,

I love the unscreen buttons :clap: :clap:
But, I can't get the stacking to work, I've used it before with no problems, but I must do something wrong :oops:

This is how I use it, e.i. I push the setbuypending order, I am only interested in trading in 1 direction, I would like stacking every 2 pips and I don't use ATR.

I have set removeEAafterfilling to false, UseStacking to true and StackingLevel to 2
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 »

Louisetano » Wed Apr 29, 2015 7:22 pm wrote:Hi Tommaso,

I love the unscreen buttons :clap: :clap:
But, I can't get the stacking to work, I've used it before with no problems, but I must do something wrong :oops:

This is how I use it, e.i. I push the setbuypending order, I am only interested in trading in 1 direction, I would like stacking every 2 pips and I don't use ATR.

I have set removeEAafterfilling to false, UseStacking to true and StackingLevel to 2
I tested here your setfile it works like a charm here, trade filled and next pending-order is set automatic, so I do not see your problem...
EDIT: But maybe you need to set the MaxSpreadAllowedMultiplicator=1 to higher value if you want to to trade news ecc. you set set it to 2.5 or 3

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
Louisetano
Trader
Posts: 68
Joined: Thu Jan 01, 2015 9:42 am

The Hidden Pending EA

Post by Louisetano »

milanese » Wed Apr 29, 2015 7:38 pm wrote: I tested here your setfile it works like a charm here, trade filled and next pending-order is set automatic, so I do not see your problem...
EDIT: But maybe you need to set the MaxSpreadAllowedMultiplicator=1 to higher value if you want to to trade news ecc. you set set it to 2.5 or 3

Cheers :)

Tommaso
Thank you for checking it, I still can't get it to work. With 1 broker I got it to fill 1 order + 1 stack, but then it just took TP and stopped filling more (I have stacking max orders set to 10). With the other broker it only took TP with no stacking at all :? ....I'll test some more tomorrow. Thanks again :hi:
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 »

Louisetano » Wed Apr 29, 2015 8:27 pm wrote:
milanese » Wed Apr 29, 2015 7:38 pm wrote: I tested here your setfile it works like a charm here, trade filled and next pending-order is set automatic, so I do not see your problem...
EDIT: But maybe you need to set the MaxSpreadAllowedMultiplicator=1 to higher value if you want to to trade news ecc. you set set it to 2.5 or 3

Cheers :)

Tommaso
Thank you for checking it, I still can't get it to work. With 1 broker I got it to fill 1 order + 1 stack, but then it just took TP and stopped filling more (I have stacking max orders set to 10). With the other broker it only took TP with no stacking at all :? ....I'll test some more tomorrow. Thanks again :hi:
This is normal the EA deactivates, if there are after some filled trades all EA-trades closed , you have here a setting TP=nextstacking it can cause exacly this behaviour. I will look to make this deactivation function userselectable, as I had before not cases like yours previsted..

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 »

apr.30,2015
Little update presenting a possibilty for the user to decide if she/he wants the EA to reinitialize after the last HPEA trade is closed or to stay with the stack pending order so far not filled. OOTB the HPEA is set to reinitialize in this case if you set ReInitializeIfAllEaTradesClose=false the EA will not touch eventually existing pending orders after the last HPEA trade is closed.
As always you will find the build 186 attached at the bottom of the first post, please ask, if you do not understand all functions, or you are missing functions here in the topic.

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
dydynamic
Trader
Posts: 293
Joined: Fri Feb 28, 2014 4:19 pm

The Hidden Pending EA

Post by dydynamic »

Hi Milanese,
Great Pending EA, I am just beginning to adapt it to my manual trading strategy.
please can you add an option where FixedDistanceOppositePips is active for only the main trade that was set manually or the first manual trade that gets filled in the market and disable it for stack trades in case i set the option of UseStacking==true.
For instance, if i set a manual PendingPriceBuy=1.250 and set the FixedDistanceOppositePips =25, with
FixedDistanceToOpposite=true and DeleteOppositeAfterFill=false, once the pendingpricebuy is filled, an opposite sell trade is opened at 1.000. As, the buy trade begins to stack beyond 25 pips no other opposite sell trade should be set.
Thanks. :good: :clap: :party:
Post Reply

Return to “Utilities Indicators and Scripts”