ALR 2.0 Trade Manager

Post your EA's using ALR here
Post Reply
PontusLSE
Trader
Posts: 14
Joined: Wed Jun 11, 2014 5:04 pm

ALR 2.0 Trade Manager

Post by PontusLSE »

Okay, great :) Awesome work by the way!
Dewey McG
Trader
Posts: 435
Joined: Sat Nov 26, 2011 4:20 pm
Location: Tampa FL

ALR 2.0 Trade Manager

Post by Dewey McG »

I have been trying to test this all week. As luck would have it even just throwing random trade on my demo, every trade went into profit and I was never able to activate the trade manager. Hopefully I will be able to do some testing this week.
Radar
Trader
Posts: 437
Joined: Fri Mar 23, 2012 5:39 pm
Location: Round the bend ;)

ALR 2.0 Trade Manager

Post by Radar »

Dewey McG » Sun Aug 17, 2014 9:15 pm wrote:I have been trying to test this all week. As luck would have it even just throwing random trade on my demo, every trade went into profit and I was never able to activate the trade manager. Hopefully I will be able to do some testing this week.
All I can do is LOL!
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
User avatar
SpiderX
Trader
Posts: 554
Joined: Thu Aug 22, 2013 4:50 pm

ALR 2.0 Trade Manager

Post by SpiderX »

Dewey McG » Sun Aug 17, 2014 7:45 pm wrote:I have been trying to test this all week. As luck would have it even just throwing random trade on my demo, every trade went into profit and I was never able to activate the trade manager. Hopefully I will be able to do some testing this week.
The best ALR is the one you dont have to use :smile:

Cheers
"Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It does not dishonor others, it is not self-seeking, it is not easily angered, it keeps no record of wrongs.Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres."
-Corinthians 13:4-8
User avatar
SpiderX
Trader
Posts: 554
Joined: Thu Aug 22, 2013 4:50 pm

ALR 2.0 Trade Manager

Post by SpiderX »

Hi

v1.01 is in post 1

v1.01
-Bug fixes to ALR logic
-Additional variables carried over from ALR EA

Code: Select all

extern double ALR_TargetPercentProfit  = 0.1;
extern double ALR_MaxPercentLoss       = 7.5;
ALR_TargetPercentProfit to determine % profit desired at ALR progression. 0% means lot sizes grow slower and things are safer.
ALR_MaxPercentLoss to determine maximum amount of lost acceptable. Once 7.5% net losses are hit, the ALR progression stops.

Unfortunately, there is no way to backtest this.
Assuming the code is carried over correctly from the EA, and the EA has backtested quite well...
Hope we are alright. :)

cheers
"Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It does not dishonor others, it is not self-seeking, it is not easily angered, it keeps no record of wrongs.Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres."
-Corinthians 13:4-8
Dewey McG
Trader
Posts: 435
Joined: Sat Nov 26, 2011 4:20 pm
Location: Tampa FL

ALR 2.0 Trade Manager

Post by Dewey McG »

For anyone wondering still which is better, please look at this post where I did a back test using the same EA strategy comparing ALR I versus ALR II: http://www.stevehopwoodforex.com/phpBB3 ... 975#p97975
blazecrown
Trader
Posts: 31
Joined: Thu Jul 31, 2014 10:20 am

ALR 2.0 Trade Manager

Post by blazecrown »

Dewey McG » Sun Aug 17, 2014 7:45 pm wrote:
I have been trying to test this all week. As luck would have it even just throwing random trade on my demo, every trade went into profit and I was never able to activate the trade manager. Hopefully I will be able to do some testing this week.


The best ALR is the one you dont have to use :smile:

Cheers
true... hahaha... :lol:
blazecrown
Trader
Posts: 31
Joined: Thu Jul 31, 2014 10:20 am

ALR 2.0 Trade Manager

Post by blazecrown »

hi Spider,

thanks for directing me to this thread... first off:

can you please help us understand (or is it just me?) about these default variables:

CriminalIsECN --- true
RequiredMarginPercentile --- 1000.0
AllowedSpreadMultiplier --- 1.4

thanks...
User avatar
SpiderX
Trader
Posts: 554
Joined: Thu Aug 22, 2013 4:50 pm

ALR 2.0 Trade Manager

Post by SpiderX »

blazecrown » Tue Aug 19, 2014 12:18 pm wrote:hi Spider,

thanks for directing me to this thread... first off:

can you please help us understand (or is it just me?) about these default variables:

CriminalIsECN --- true
RequiredMarginPercentile --- 1000.0
AllowedSpreadMultiplier --- 1.4

thanks...
Hi

All these parameters are inherited from Steve's/Tommaso shell.

CriminalIsECN for ECN brokers who require 2 stage order sending
RequiredMarginPercentile -check how much margin is left in your account, any less and stops trading
AllowedSpreadMultiplier - There is a auto calculation of the average spread of the broker. If there is a sudden spike in the spread, the EA should stop trading...but my guess is this is not valid for the Trade Manager since it works via pending.

This reminds me that some of these variables may not be used...and probably need to be removed.
Will have more updates...

Cheers
"Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It does not dishonor others, it is not self-seeking, it is not easily angered, it keeps no record of wrongs.Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres."
-Corinthians 13:4-8
blazecrown
Trader
Posts: 31
Joined: Thu Jul 31, 2014 10:20 am

ALR 2.0 Trade Manager

Post by blazecrown »

All these parameters are inherited from Steve's/Tommaso shell.

CriminalIsECN for ECN brokers who require 2 stage order sending
RequiredMarginPercentile -check how much margin is left in your account, any less and stops trading
AllowedSpreadMultiplier - There is a auto calculation of the average spread of the broker. If there is a sudden spike in the spread, the EA should stop trading...but my guess is this is not valid for the Trade Manager since it works via pending.
thanks for the clarification Spider...
This reminds me that some of these variables may not be used...and probably need to be removed.
Will have more updates...
agree... it's beautiful when it's clean, simple but powerful... :idea:
Post Reply

Return to “Automated Loss Recovery”