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

AllPairTradeManager(APTM)
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3482
Page 49 of 65
Author:  bentonp [ Wed May 11, 2016 1:46 pm ]
Post subject:  AllPairTradeManager(APTM)

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
Author:  milanese [ Wed May 11, 2016 1:55 pm ]
Post subject:  AllPairTradeManager(APTM)

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
Author:  windorz [ Thu May 12, 2016 4:53 am ]
Post subject:  AllPairTradeManager(APTM)

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!
Author:  milanese [ Thu May 12, 2016 5:42 am ]
Post subject:  AllPairTradeManager(APTM)

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
Author:  cfabian [ Wed May 25, 2016 7:17 pm ]
Post subject:  AllPairTradeManager(APTM)

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.
Author:  milanese [ Thu May 26, 2016 7:24 am ]
Post subject:  AllPairTradeManager(APTM)

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
Author:  qvintus [ Fri May 27, 2016 10:26 am ]
Post subject:  AllPairTradeManager(APTM)

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:
Author:  milanese [ Fri May 27, 2016 12:48 pm ]
Post subject:  AllPairTradeManager(APTM)

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
Author:  qvintus [ Fri May 27, 2016 12:57 pm ]
Post subject:  AllPairTradeManager(APTM)

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. :)
Author:  cfabian [ Fri May 27, 2016 2:15 pm ]
Post subject:  AllPairTradeManager(APTM)

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
All times are UTC Page 49 of 65