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

AllPairTradeManager(APTM)
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3482
Page 9 of 65
Author:  SteveHopwood [ Tue Sep 30, 2014 6:55 pm ]
Post subject:  an other AllPairTradeManager

falanca » Tue Sep 30, 2014 6:44 pm wrote:I havent understood why you coders think a lways in complexity.İf ı will code trade managerı will prefer the least options.
To be brutally honest, I doubt whether anyone cares what you think. If you want a manager with just a few options, then code a manager with just a few options.
Manage by magic number;true or false
Magic number;(if 0 manages all trades)
SL pips;100 pip
Trail stop start;100pip
Trail width;20pip
Partial close;true or false
Partial close%;50
**These managing rules will Start again on every partial closing till it closes the unit lot.
Basket management;true or false
Basket equity TP;30 dollars
BasketSL;40 dollars
Basket partial closing;if true closes the part of all the open orders
Basket partial close%;50
**Basket equity PL and the opened orders must seen on graphic
That is what you want. Others may well want a shed-load more.
Simple must be best ı think isnt it
Carry on thinking my friend. Just stop 'contributing' ok? And if you think I am a little rough, just wait until Tommaso reads your post. It is one of the dafter ones to appear here for some considerable time. You are in trouble, feller.

:xm:
Author:  milanese [ Tue Sep 30, 2014 6:57 pm ]
Post subject:  [NEW Version]an other AllPairTradeManager

In the first post you will new find a "plus" version of the allPairTradeManager.
This new version has too the possibility for some BasketManagement options. You can use Indivualtrade & BasketManagement together or just only one of them. Just use these inputs:
UseIndividualTradeManagement=false;
UseBasektmanagement=true;

With the following settings you can set Basket-TP/SL and BE using percentage of the balance:

Code: Select all

extern double  RiskPercentageStopLoss=1; //Percent of balance to use as sl. Zero to disable
extern double  RewardPercentageTakeProfit=1.5; //Percent of balance to use as cash tp. Zero to disable
extern double  RiskPercentageMoveToBE=0.5;//Percent of balance used for setting BE
extern double  RiskPercentageMinDistanceSL=0.1;//Percent of balance cash added to BE
BTW: any unqualified posting I will here in future remove, any substantial input and all new ideas as always very welcome!!
Cheers :)

Tommaso
Author:  falanca [ Tue Sep 30, 2014 7:31 pm ]
Post subject:  an other AllPairTradeManager

Thanks Milanese for your interest to my idea.But its again complex.İ think Steve must open a new topic which is named 'How can we make our coded Ea s more simple' :oops:
Author:  milanese [ Tue Sep 30, 2014 7:35 pm ]
Post subject:  an other AllPairTradeManager

falanca » Tue Sep 30, 2014 7:31 pm wrote:Thanks Milanese for your interest to my idea.But its again complex.İ think Steve must open a new topic which is named 'How can we make our coded Ea s more simple' :oops:
There is no need for a new topic, if you read the first post and the entire thread you will easy understand how to use this trademanger, the new basketfunctions are added to give the allPairTrademanager more flessibility, adding some general basket mangement functions.

Cheers :)

Tommaso
Author:  falanca [ Tue Sep 30, 2014 7:39 pm ]
Post subject:  an other AllPairTradeManager

İ am shamed becouse of thinking just simple.Please dont be angry to me for that
Author:  falanca [ Tue Sep 30, 2014 7:42 pm ]
Post subject:  an other AllPairTradeManager

And I am really grateful for your sincere interst M illanese.New topic subject was just a joke for Steve.
Author:  milanese [ Tue Sep 30, 2014 7:49 pm ]
Post subject:  an other AllPairTradeManager

falanca » Tue Sep 30, 2014 7:42 pm wrote:And I am really grateful for your sincere interst M illanese.New topic subject was just a joke for Steve.
I would, if I would be you, not be joking, as Steve is 100% right, if you want a simple one just code it yourself, this will be my last warning if you don't have any substantial input to contribute here so just remain silent, or you are risking your membership here, capito???

Cheers :)

Tommaso
Author:  BobbyT [ Sat Dec 06, 2014 11:50 pm ]
Post subject:  an other AllPairTradeManager

Hi Tomamaso,

Thanks for pointing me over, I will definitely be taking this for a spin on Monday.
I was wondering if you could clarify something for me that hopefully isn't too daft :oops:

What is the difference between

Code: Select all

MinSetSLDistanceFirst=50; MinSetSLDistancePlus=75
and

Code: Select all

JumpPipsFirst=25; JumpPipsPlus=37
These are both jumping SL settings right? Would I be right in guessing that

Code: Select all

MinSetSLDistanceFirst=50; MinSetSLDistancePlus=75
are a distance that price must move past the jumping SL trigger price? And that

Code: Select all

JumpPipsFirst=25; JumpPipsPlus=37
are for jumping stop movement

eg: for

Code: Select all

JumpPipsFirst=25
and

Code: Select all

MinSetSLDistanceFirst=50
price must move 50pips in the green before the SL moves 25 pips? With each 50 pip movement in price there is a 25 pip movement in SL (just pretend the 'Plus' settings are set to the same values for arguments sake) therefore making it a widening SL?

Sorry to bother you with such drivel but I can't really test it out to check these functions (with this no weekend trading rubbish) and would like to have everything set ready to run Monday morning :good:


Thanks Tommaso. Keep up the great work :!!:

PS I read the thread but couldn't work out the above without a market to test it on :arrrg:
Author:  milanese [ Sun Dec 07, 2014 12:02 am ]
Post subject:  an other AllPairTradeManager

BobbyT » Sat Dec 06, 2014 11:50 pm wrote:Hi Tomamaso,

Thanks for pointing me over, I will definitely be taking this for a spin on Monday.
I was wondering if you could clarify something for me that hopefully isn't too daft :oops:

What is the difference between

Code: Select all

MinSetSLDistanceFirst=50; MinSetSLDistancePlus=75
and

Code: Select all

JumpPipsFirst=25; JumpPipsPlus=37
These are both jumping SL settings right? Would I be right in guessing that

Code: Select all

MinSetSLDistanceFirst=50; MinSetSLDistancePlus=75
are a distance that price must move past the jumping SL trigger price? And that

Code: Select all

JumpPipsFirst=25; JumpPipsPlus=37
are for jumping stop movement

eg: for

Code: Select all

JumpPipsFirst=25
and

Code: Select all

MinSetSLDistanceFirst=50
price must move 50pips in the green before the SL moves 25 pips? With each 50 pip movement in price there is a 25 pip movement in SL (just pretend the 'Plus' settings are set to the same values for arguments sake) therefore making it a widening SL?

Sorry to bother you with such drivel but I can't really test it out to check these functions (with this no weekend trading rubbish) and would like to have everything set ready to run Monday morning :good:


Thanks Tommaso. Keep up the great work :!!:

PS I read the thread but couldn't work out the above without a market to test it on :arrrg:
Thanks for your questions:
JumpPipsFirst this is the first jump step in pips, means the with the first move, after the BE is set, the SL is moved the given value (OOTB 25 pips) , JumpPipsPlus is the value for all next steps,
anlog works the MinSetSLDistanceFirst/Plus, the new SL must have this distance to the actual price in the OOTB exampel so 75 pips (50+25) as the price is moved 25 pips and the minDistance must be 50 pips (for the first move), note this are the manual settings, only used if UseHighLowForMovingSteps is set to false, as the allPairTradeManager is concepted to do all this steps dynamicly according to the volatility of the price moviments. I hope this gives answer to your questions..

Cheers :)

Tommaso
Author:  BobbyT [ Sun Dec 07, 2014 12:11 am ]
Post subject:  an other AllPairTradeManager

So they are two sides of the same coin. Cool.
Thanks Tommaso
All times are UTC Page 9 of 65