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

simple allPairBasketManager
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4081
Page 11 of 28
Author:  toc17 [ Tue Jun 09, 2015 12:50 pm ]
Post subject:  simple allPairBasketManager

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
Author:  milanese [ Tue Jun 09, 2015 1:35 pm ]
Post subject:  simple allPairBasketManager

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
Author:  toc17 [ Tue Jun 09, 2015 2:04 pm ]
Post subject:  simple allPairBasketManager

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
Author:  milanese [ Tue Jun 09, 2015 2:14 pm ]
Post subject:  [update] simple allPairBasketManager

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
Author:  madopter1 [ Wed Jun 10, 2015 3:49 pm ]
Post subject:  simple allPairBasketManager

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
Author:  milanese [ Wed Jun 10, 2015 4:56 pm ]
Post subject:  simple allPairBasketManager

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
Author:  madopter1 [ Thu Jun 11, 2015 4:35 am ]
Post subject:  simple allPairBasketManager

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:
Author:  milanese [ Thu Jun 11, 2015 9:31 am ]
Post subject:  simple allPairBasketManager

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
Author:  themaxx [ Sun Jun 14, 2015 2:41 pm ]
Post subject:  simple allPairBasketManager

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
Author:  milanese [ Sun Jun 14, 2015 3:12 pm ]
Post subject:  simple allPairBasketManager

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
All times are UTC Page 11 of 28