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 »

FxFoil » Thu Mar 05, 2015 8:44 am wrote:Question?
If distancetopending=40
And MoveOposite OrderWith Price=True
And trade is filled then distance between filled order and Opposite order remains = 80
But if EA is manually reset then changes distancetopending=40. Which is what I want.
What settings are needed to do this without manual EA reset?
the opposite order will not be moved to 40 in case, but will be moved to have never more than 80 pips distance.
What you want to is so far not previsted to do, only a reininitialize will do this, it could be added as an optional, if you need this function.

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
FxFoil
Trader
Posts: 42
Joined: Wed Dec 07, 2011 5:40 am

The Hidden Pending EA

Post by FxFoil »

.
Last edited by FxFoil on Mon Apr 30, 2018 9:19 pm, edited 1 time in total.
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 »

FxFoil » Thu Mar 05, 2015 3:33 pm wrote:
Hi Tommaso

It would be good to reinitialize EA so values are the same before and after a reboot, Empty4 crash, etc. I do better if I control stacking trades when at the computer and not all the time. This means restarting the EA to switch stacking on/off.

Could distance to opposite (hedge) be made independent of distancetopending=40?
Something like..
FixedDistanceToOpposite=True/False
FixedDistanceOppositePips = 65

If restart or reinitialize Opposite(Hedge) would = opening price of trade + 65, (not current price +65)
It is helpful for hedging strategy if distance to hedge could be fixed. But if this means major rewrite then reinitialize after trade so that distancetopending=40 (and not 80) would be appreciated.
Thanks again
march 5th,2015
I updated the EA adding the wished feature.
Set FixedDistanceToOpposite to true if you want after filling the opposite order to a preselected distance and FixedDistanceOppositePips for setting the distance value.Note the EA will record this to if a restart should be necessary.
You find the EA attached on the first post as always, too you will find there the compiled versionb, as always if you have questions, ideas for new features, just ask it here..

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 »

milanese » Thu Mar 05, 2015 4:30 pm wrote: march 5th,2015
I updated the EA adding the wished feature.
Set FixedDistanceToOpposite to true if you want after filling the opposite order to a preselected distance and FixedDistanceOppositePips for setting the distance value.Note the EA will record this to if a restart should be necessary.
You find the EA attached on the first post as always, too you will find there the compiled versionb, as always if you have questions, ideas for new features, just ask it here..

Cheers :)

Tommaso
I fixed a glitch in the reinitializing code, the 5 persons how had already downloaded the update, please redownload build 165.

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 »

milanese » Thu Mar 05, 2015 4:48 pm wrote:
milanese » Thu Mar 05, 2015 4:30 pm wrote: march 5th,2015
I updated the EA adding the wished feature.
Set FixedDistanceToOpposite to true if you want after filling the opposite order to a preselected distance and FixedDistanceOppositePips for setting the distance value.Note the EA will record this to if a restart should be necessary.
You find the EA attached on the first post as always, too you will find there the compiled versionb, as always if you have questions, ideas for new features, just ask it here..

Cheers :)

Tommaso
I fixed a glitch in the reinitializing code, the 5 persons how had already downloaded the update, please redownload build 165.

Cheers :)

Tommaso
there was again some glitch in the reinitialize code for the new option now fixed and tested.., so please re-download build 166..

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
FxFoil
Trader
Posts: 42
Joined: Wed Dec 07, 2011 5:40 am

[Update!!]The Hidden Pending EA

Post by FxFoil »

.
Last edited by FxFoil on Mon Apr 30, 2018 9:19 pm, edited 1 time in total.
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 »

FxFoil » Sat Mar 14, 2015 6:22 am wrote:
Thanks Tommaso
Build 166 took a $600 demo account to $780 this week, drawdown just 6.55%. Too early to get excited, but it is interesting..

Thanks Again
Peter
Hi Peter,

as this EA is only a very potent helper for manual strategies , the result will mainly depend from the strategy you use and how you use the HPEA and esp the moneymanagement..

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
FxFoil
Trader
Posts: 42
Joined: Wed Dec 07, 2011 5:40 am

The Hidden Pending EA

Post by FxFoil »

.
Last edited by FxFoil on Mon Apr 30, 2018 9:17 pm, edited 2 times in total.
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 »

FxFoil » Mon Mar 16, 2015 10:03 pm wrote:Tommaso

Thanks for the reinitialize after opening trade. When opposite trade is filled EA should also reinitialize, or will have repeat trades at same price.
Thanks Peter
it is probably a problem with the setting you use, that let the EA act in a way you does not want it to act, please attach your setfile, and I will take a look into this


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 »

march 17th,2015
update fixing a problem in the FixedDistanceToOpposite option, caused by a missunderstanding, how this function should work, now this option affects only the initial oppositetrade, but not eventualy stacking trades.

FxFoil has sent me a pm with his settings and I understood that using the new option FixedDistanceToOpposite could cause endless trading-loops if this setting affects not only initial trades but too.. stacking trades..
You will find the new version build 167 attached to the first post, that is fixing this problem..

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
Post Reply

Return to “Utilities Indicators and Scripts”