simple allPairBasketManager

MPTM's new home
Post Reply
toc17
Trader
Posts: 34
Joined: Mon Mar 30, 2015 7:55 am
Location: Madrid, Spain

simple allPairBasketManager

Post by toc17 »

milanese » Tue Jun 09, 2015 12:35 pm wrote:
toc17 » Tue Jun 09, 2015 12:08 pm wrote:
Here they are

Best,
Jose
I tested the EA here with your setfile on GlobalPrime and it closed with SL hit all correct, but I would change checkSeconds to 1 instead of 15 as the EA will be so more reactive...
Restart your platform and test please if possible again, as I could so far no error find..., let me know if you have again the same problem, and please send in that case the expert log ( you sent the platform log) the expert log you find normally in :C:\Users\YourUserName\AppData\Roaming\MetaQuotes\Terminal\YourTerminalNumber\MQL4\Logs

Cheers :)

Tommaso
Hi Tommaso,
The expert log is in the zip file in a directory called MQL4.

By the way, I restarted Empty4 and see that the ES freezes again instantaneously.

Then I restarted the server (an Amazon VPS), and again EA freezes instantaneously.

I have this EA on another 7 VPS, with the same Empty4 version and profile, and all are running OK.

So I will recreate the VPS and see what happen.

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

simple allPairBasketManager

Post by milanese »

toc17 » Tue Jun 09, 2015 12:50 pm wrote:
Hi Tommaso,
The expert log is in the zip file in a directory called MQL4.

By the way, I restarted Empty4 and see that the ES freezes again instantaneously.

Then I restarted the server (an Amazon VPS), and again EA freezes instantaneously.

I have this EA on another 7 VPS, with the same Empty4 version and profile, and all are running OK.

So I will recreate the VPS and see what happen.

Thanks,
Jose
AmazonVPS has very low resources it can be that the EA will not run with some other EA's on an Amazon VPS...
The EA is created for build 830 and above so this should never give any 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
toc17
Trader
Posts: 34
Joined: Mon Mar 30, 2015 7:55 am
Location: Madrid, Spain

simple allPairBasketManager

Post by toc17 »

milanese » Tue Jun 09, 2015 1:35 pm wrote:
toc17 » Tue Jun 09, 2015 12:50 pm wrote:
Hi Tommaso,
The expert log is in the zip file in a directory called MQL4.

By the way, I restarted Empty4 and see that the ES freezes again instantaneously.

Then I restarted the server (an Amazon VPS), and again EA freezes instantaneously.

I have this EA on another 7 VPS, with the same Empty4 version and profile, and all are running OK.

So I will recreate the VPS and see what happen.

Thanks,
Jose
AmazonVPS has very low resources it can be that the EA will not run with some other EA's on an Amazon VPS...
The EA is created for build 830 and above so this should never give any problem...

Cheers :)

Tommaso
Hi Tommaso,
Just confirm that the EA works OK as usual on the recreated VPS. The old VPS was very slowly.

I have a few months using Amazon VPS, and works well in general, but sometimes the instance is much more slowly than normal. Maybe this was the problem.

Thanks and sorry for the inconvenience,
Jose
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

[update] simple allPairBasketManager

Post by milanese »

update version 1.21
june 9th 2015

some update for making the EA more reactive and avoiding initialization process when there is no connection...
The latest one is too find, as always attached to 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
madopter1
Trader
Posts: 23
Joined: Mon Apr 13, 2015 10:47 pm

simple allPairBasketManager

Post by madopter1 »

Hi milanese, first of all thank you for continuing to work on this useful tool :hi:

I started a demo and noticed something and wanted to report it incase there is an issue with it.
Screen Shot 2015-06-10 at 8.39.55 AM.jpg
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 +

simple allPairBasketManager

Post by milanese »

madopter1 » Wed Jun 10, 2015 3:49 pm wrote:Hi milanese, first of all thank you for continuing to work on this useful tool :hi:

I started a demo and noticed something and wanted to report it incase there is an issue with it.
The EA considers only the equity and not the account balance for all basket operations, only for the inital SL/TP/BE ecc values in % is the initial balance used.
So yes the EA considers the open floating profit only.

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
madopter1
Trader
Posts: 23
Joined: Mon Apr 13, 2015 10:47 pm

simple allPairBasketManager

Post by madopter1 »

milanese » Wed Jun 10, 2015 4:56 pm wrote:
madopter1 » Wed Jun 10, 2015 3:49 pm wrote:Hi milanese, first of all thank you for continuing to work on this useful tool :hi:

I started a demo and noticed something and wanted to report it incase there is an issue with it.
The EA considers only the equity and not the account balance for all basket operations, only for the inital SL/TP/BE ecc values in % is the initial balance used.
So yes the EA considers the open floating profit only.

Cheers :)

Tommaso
I see. Would it be possible to make SAPBTM consider the profitable trades that are closed by our custom EA? :cheer:
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

simple allPairBasketManager

Post by milanese »

milanese » Mon Jun 08, 2015 7:26 am wrote:
madopter1 » Mon Jun 08, 2015 7:20 am wrote:milanese, is it possible to use SAPBTM to go after net pips, instead of net money amount? :hi:
The next version of the APTM ---click---> http://www.stevehopwoodforex.com/phpBB3 ... =21&t=3482 will have this optional, I will probably publish this or next week the update for the APTM.
For the SAPBTM it is so far not previsted..

Cheers :)

Tommaso
I published the new version of the APTM http://www.stevehopwoodforex.com/phpBB3 ... 53#p122753 including a pip BasketSL/TP

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
themaxx
Trader
Posts: 71
Joined: Thu May 24, 2012 9:57 am

simple allPairBasketManager

Post by themaxx »

Hi

I was hoping to get a little help with this manager (which looks fantastic, thank you).

What I want is very simple.
Starting balance = $1000
If balance goes down by $500, close basket
If balance goes up by $50, set stoploss to starting balance (in this case $1000), then jump the stoploss up by $50 every time the balance goes up by $50. (eg if balance is $1050, SL is $1000, if balance is $1100, SL is $1050, if balance is $1150, SL is $1100)

I've hardcoded what I think will work in the attached, but when I add the EA I get this message:

Alert: EquitySL/TP:EquityForSetting BE must bigger than AccountEquity!!

What have I done wrong?

Thanks

Peter
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 +

simple allPairBasketManager

Post by milanese »

themaxx » Sun Jun 14, 2015 2:41 pm wrote:Hi

I was hoping to get a little help with this manager (which looks fantastic, thank you).

What I want is very simple.
Starting balance = $1000
If balance goes down by $500, close basket
If balance goes up by $50, set stoploss to starting balance (in this case $1000), then jump the stoploss up by $50 every time the balance goes up by $50. (eg if balance is $1050, SL is $1000, if balance is $1100, SL is $1050, if balance is $1150, SL is $1100)

I've hardcoded what I think will work in the attached, but when I add the EA I get this message:

Alert: EquitySL/TP:EquityForSetting BE must bigger than AccountEquity!!

What have I done wrong?

Thanks

Peter
Hi Peter you have no TP set is why you got this message..., than with your setting the EA will set after 550 USD win BE as you have setMinDistanzCashSLinWinToEquity=500 this is the min distance the new SL in win must have to the actual price so your setting will never work.
I attach you a setfile that shoul work for you..
peter_SHF.set
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
Post Reply

Return to “Utilities Indicators and Scripts”