stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

The Hidden Pending EA
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3573
Page 36 of 49
Author:  milanese [ Sun Apr 26, 2015 7:42 am ]
Post subject:  [New functions!] The Hidden Pending EA

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
Author:  xhar [ Mon Apr 27, 2015 2:16 pm ]
Post subject:  The Hidden Pending EA

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:
Author:  milanese [ Mon Apr 27, 2015 2:25 pm ]
Post subject:  The Hidden Pending EA

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
Author:  xhar [ Mon Apr 27, 2015 2:50 pm ]
Post subject:  The Hidden Pending EA

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
Author:  Louisetano [ Wed Apr 29, 2015 7:22 pm ]
Post subject:  The Hidden Pending EA

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
Author:  milanese [ Wed Apr 29, 2015 7:38 pm ]
Post subject:  The Hidden Pending EA

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
Author:  Louisetano [ Wed Apr 29, 2015 8:27 pm ]
Post subject:  The Hidden Pending EA

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:
Author:  milanese [ Wed Apr 29, 2015 8:40 pm ]
Post subject:  The Hidden Pending EA

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
Author:  milanese [ Wed Apr 29, 2015 9:44 pm ]
Post subject:  [update!] The Hidden Pending EA

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
Author:  dydynamic [ Sat May 02, 2015 7:20 am ]
Post subject:  The Hidden Pending EA

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:
All times are UTC Page 36 of 49