simple allPairBasketManager

MPTM's new home
Post Reply
User avatar
matt_32
Trader
Posts: 204
Joined: Tue Apr 03, 2012 8:51 am
Location: Crete, Greece

simple allPairBasketManager

Post by matt_32 »

milanese » Fri Mar 20, 2015 12:38 pm wrote:
matt_32 » Fri Mar 20, 2015 10:18 am wrote:Does anybody know if this Manager closes pending orders when profit is reached ?

What I wanna do is close all trades when equity is reached but leave all the pendings intact.
Can I do that ?

Matt
yes it closes too all pending orders...

Cheers :)

Tommaso


Pitty .... Do you know of any similar EA's that leave the pendings OPEN ?


Matt
"Wise men speak because they have something to say; Fools because they have to say something." - Plato 347 BC
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

simple allPairBasketManager

Post by milanese »

matt_32 » Fri Mar 20, 2015 11:00 am wrote:
Pitty .... Do you know of any similar EA's that leave the pendings OPEN ?

Matt
I can add this as an optional if you want, so that the user can select if he/she wants all openpositions AND pendings closing OR let the pending orders untouched..

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
matt_32
Trader
Posts: 204
Joined: Tue Apr 03, 2012 8:51 am
Location: Crete, Greece

simple allPairBasketManager

Post by matt_32 »

milanese » Fri Mar 20, 2015 1:39 pm wrote:
matt_32 » Fri Mar 20, 2015 11:00 am wrote:
Pitty .... Do you know of any similar EA's that leave the pendings OPEN ?

Matt
I can add this as an optional if you want, so that the user can select if he/she wants all openpositions AND pendings closing OR let the pending orders untouched..

Cheers :)

Tommaso

I think that would be a great addition !

Matt :D
"Wise men speak because they have something to say; Fools because they have to say something." - Plato 347 BC
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

[update]simple allPairBasketManager

Post by milanese »

matt_32 » Fri Mar 20, 2015 12:17 pm wrote:
milanese » Fri Mar 20, 2015 1:39 pm wrote:
matt_32 » Fri Mar 20, 2015 11:00 am wrote:
Pitty .... Do you know of any similar EA's that leave the pendings OPEN ?

Matt
I can add this as an optional if you want, so that the user can select if he/she wants all openpositions AND pendings closing OR let the pending orders untouched..

Cheers :)

Tommaso

I think that would be a great addition !

Matt :D
Done...
update version 1.07
march 20, 2015

New input NotDeletePendingOrdersOnBasketClose (OOTB=false) set this to true if you do not want the pending orders to be deleted, with a basket-close, in the OOTB setting the SAPTM will close all open orders and delete all pending orders.
You find the new version F (1.07) attached on 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
User avatar
matt_32
Trader
Posts: 204
Joined: Tue Apr 03, 2012 8:51 am
Location: Crete, Greece

[update]simple allPairBasketManager

Post by matt_32 »

milanese » Fri Mar 20, 2015 2:48 pm wrote: Done...
update version 1.07
march 20, 2015

New input NotDeletePendingOrdersOnBasketClose (OOTB=false) set this to true if you do not want the pending orders to be deleted, with a basket-close, in the OOTB setting the SAPTM will close all open orders and delete all pending orders.
You find the new version F (1.07) attached on the first post.

Cheers :)

Tommaso
Great work Tommaso !!!! :!!:

Matt
"Wise men speak because they have something to say; Fools because they have to say something." - Plato 347 BC
Zennor
Trader
Posts: 276
Joined: Fri Feb 08, 2013 4:44 pm
Location: On a Canal Boat travelling the waterways.

simple allPairBasketManager

Post by Zennor »

Really nice work Tommaso and very much appreciated..

Thanks

:clap:
Zennor
Trader
Posts: 276
Joined: Fri Feb 08, 2013 4:44 pm
Location: On a Canal Boat travelling the waterways.

simple allPairBasketManager

Post by Zennor »

Hi Tommaso,

I have been checking this thread regularly to see if anybody had been reporting any problems and when there were none I figured it was just me.

Two things I have seen, when I select BE to false I get an error message stating BE cannot be less than SL, the other is that so far on 3 accounts it has never closed a basket trade.

Also if you are going to have a tinker may I make a request. One thing that I liked about Equity Sentry is that it gave you in percentage your current basket trade be it negative or positive.

Oh and any chance of increasing the font size just a smidge for us old gits hard of seeing.. Thanks.

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

simple allPairBasketManager

Post by milanese »

Zennor » Wed Apr 01, 2015 9:59 am wrote:Hi Tommaso,

I have been checking this thread regularly to see if anybody had been reporting any problems and when there were none I figured it was just me.

Two things I have seen, when I select BE to false I get an error message stating BE cannot be less than SL, the other is that so far on 3 accounts it has never closed a basket trade.

Also if you are going to have a tinker may I make a request. One thing that I liked about Equity Sentry is that it gave you in percentage your current basket trade be it negative or positive.

Oh and any chance of increasing the font size just a smidge for us old gits hard of seeing.. Thanks.

Zennor
I use it myself in livetrading, but never with BE select to false...
I will look into this, thanks for spotting 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 +

[bufix!!]simple allPairBasketManager

Post by milanese »

bugfix version 1.08 apr. 1, 2015
Thanks to Zennor and SWG123 who had spotted that the SMAPTM not works as intended, if the BE function is disabled, I could fix this as I never used the EA myself without this function..
Now this is fixed and the SAPTM should work too without using the BE settings as intendend!

You find the update 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
Zennor
Trader
Posts: 276
Joined: Fri Feb 08, 2013 4:44 pm
Location: On a Canal Boat travelling the waterways.

[bufix!!]simple allPairBasketManager

Post by Zennor »

milanese » Wed Apr 01, 2015 11:31 am wrote:bugfix version 1.08 apr. 1, 2015
Thanks to Zennor and SWG123 who had spotted that the SMAPTM not works as intended, if the BE function is disabled, I could fix this as I never used the EA myself without this function..
Now this is fixed and the SAPTM should work too without using the BE settings as intendend!

You find the update attached to the first post.

Cheers :)

Tommaso
Thanks Tommaso you are a star... :clap:
Post Reply

Return to “Utilities Indicators and Scripts”