AllPairTradeManager(APTM)

MPTM's new home
Post Reply
bentonp
Posts: 4
Joined: Mon Jul 29, 2013 12:27 pm

AllPairTradeManager(APTM)

Post by bentonp »

milanese » Wed May 11, 2016 8:53 am wrote:
bentonp » Wed May 11, 2016 12:33 pm wrote:Hello,

Can anyone explain the parameter: extern double BEProfitAccCurr=4;
I'm looking to BE on Broker's commission like $7 per Standard Lot..

I read BE Profit Account Currency I just want to confirm.

Regards,

Benton
this is in pips it will add 4 pips what is more as your commission, for that would 1 pip be sufficient.

Cheers :)

Tommaso
Thanks! the confusing thing is that the label says:
---Special AccountCurrency defined SL/TP BE Settings---

and basically does not cover the commission cost ...

I will analyze the code as uses Currency for setting the SL and TP:
extern bool useAccountCurrValuesForSL_TP_BE_JS=true;
extern double SLAccountCurr=25;
extern double TPAccountCurr=75;
extern double BEProfitAccCurr=4;
extern double JumpStepAccCurr=15;
extern double SLMinDistanceToPriceBEAccCurr=20;
extern double SLMinDistanceToPriceJSAccCurr=25;

I basically want to move SL at openprice -/+ commission in dollars

Are these parameters documented in detail somewhere?

Regards,

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

AllPairTradeManager(APTM)

Post by milanese »

bentonp » Wed May 11, 2016 1:46 pm wrote:
Thanks! the confusing thing is that the label says:
---Special AccountCurrency defined SL/TP BE Settings---

and basically does not cover the commission cost ...

I will analyze the code as uses Currency for setting the SL and TP:
extern bool useAccountCurrValuesForSL_TP_BE_JS=true;
extern double SLAccountCurr=25;
extern double TPAccountCurr=75;
extern double BEProfitAccCurr=4;
extern double JumpStepAccCurr=15;
extern double SLMinDistanceToPriceBEAccCurr=20;
extern double SLMinDistanceToPriceJSAccCurr=25;

I basically want to move SL at openprice -/+ commission in dollars

Are these parameters documented in detail somewhere?

Regards,

Benton
if you use values in account currency with USD at exempel a value of 7 USD per Roundlot(0.7 per 0.1 ecc) will cover your broker commission..
Do some testing with different settings on a demo account and you will get familiar with the settings and re-read 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
windorz
Trader
Posts: 62
Joined: Thu Mar 17, 2016 6:41 pm

AllPairTradeManager(APTM)

Post by windorz »

Hello.

Thank you for great TM. :hi:

I have a question about Exit function.

This TM support exit trade by 2 MAs cross over ?

My exit strategy is :EMA5 SMA8

if not support, could you add this exit function ?

Sorry for my bad English

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

AllPairTradeManager(APTM)

Post by milanese »

windorz » Thu May 12, 2016 4:53 am wrote:Hello.

Thank you for great TM. :hi:

I have a question about Exit function.

This TM support exit trade by 2 MAs cross over ?

My exit strategy is :EMA5 SMA8

if not support, could you add this exit function ?

Sorry for my bad English

Thanks in advance!
No two MA crossover is not previsted as exit, only one MA as SL, like you read in 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
cfabian
Posts: 8
Joined: Mon Jul 13, 2015 9:46 pm

AllPairTradeManager(APTM)

Post by cfabian »

A good addition to this EA is to manage by more than 1 magic numbers. Not just limiting it to 1. Being able to use say 4 - 6 different magic numbers per instance.

Same for basket trading but being able to have separate baskets per pair.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

AllPairTradeManager(APTM)

Post by milanese »

cfabian » Wed May 25, 2016 7:17 pm wrote:A good addition to this EA is to manage by more than 1 magic numbers. Not just limiting it to 1. Being able to use say 4 - 6 different magic numbers per instance.

Same for basket trading but being able to have separate baskets per pair.
maybe if I find some spare time I will add that the APTM has a function handle some different magic numbers..

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
qvintus
Trader
Posts: 220
Joined: Sat Nov 30, 2013 7:02 pm

AllPairTradeManager(APTM)

Post by qvintus »

cfabian » 25 May 2016, 20:17 wrote:A good addition to this EA is to manage by more than 1 magic numbers. Not just limiting it to 1. Being able to use say 4 - 6 different magic numbers per instance.

Same for basket trading but being able to have separate baskets per pair.
+1 for the suggestion about managing several magic numbers.
Or if it is easier to code the excludemagicnumber to be able to handle several magic numbers.

Thanks Tommaso for this great trading tool :clap:
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

AllPairTradeManager(APTM)

Post by milanese »

qvintus » Fri May 27, 2016 10:26 am wrote:
+1 for the suggestion about managing several magic numbers.
Or if it is easier to code the excludemagicnumber to be able to handle several magic numbers.

Thanks Tommaso for this great trading tool :clap:
the exclude magicnumber is alread existent as optional..

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
qvintus
Trader
Posts: 220
Joined: Sat Nov 30, 2013 7:02 pm

AllPairTradeManager(APTM)

Post by qvintus »

milanese » 27 May 2016, 13:48 wrote:
qvintus » Fri May 27, 2016 10:26 am wrote:
+1 for the suggestion about managing several magic numbers.
Or if it is easier to code the excludemagicnumber to be able to handle several magic numbers.

Thanks Tommaso for this great trading tool :clap:
the exclude magicnumber is alread existent as optional..

Cheers :)

Tommaso
You mean that the exclude function already can handle several magic numbers? That's great. :)
cfabian
Posts: 8
Joined: Mon Jul 13, 2015 9:46 pm

AllPairTradeManager(APTM)

Post by cfabian »

qvintus » Fri May 27, 2016 6:57 am wrote:
milanese » 27 May 2016, 13:48 wrote:
qvintus » Fri May 27, 2016 10:26 am wrote:
+1 for the suggestion about managing several magic numbers.
Or if it is easier to code the excludemagicnumber to be able to handle several magic numbers.

Thanks Tommaso for this great trading tool :clap:
the exclude magicnumber is alread existent as optional..

Cheers :)

Tommaso
You mean that the exclude function already can handle several magic numbers? That's great. :)

What this does is manage all magic numbers BUT the one you exclude.

What I need is the EA to manage 4-6 magic numbers separately.

Tommaso, do you have any comment on how to manage different pairs, treating each pair as a separate basket?

Many thanks
Post Reply

Return to “Utilities Indicators and Scripts”