Attached is updated ALR Calculator 2.3.
The new columns show the lot size and the losses if stop stack for ALR 2.0 compared to original ALR.
Lot sizes are smaller and losses if stopping at the same number of legs are also smaller.
Thanks to Dewey for running through this and updating it.
Cheers
Trend Trading EA with Automated Loss Recovery
- SpiderX
- Trader
- Posts: 554
- Joined: Thu Aug 22, 2013 4:50 pm
Trend Trading EA with Automated Loss Recovery
You do not have the required permissions to view the files attached to this post.
"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
-Corinthians 13:4-8
-
kotsh
- Trader
- Posts: 31
- Joined: Mon Sep 02, 2013 1:58 pm
Trend Trading EA with Automated Loss Recovery
Hi Spider,
thanks for the great effort you put into this and sharing with us!
I have a few questions about the robustness of the EA:
1- what is supposed to happen if the terminal crashes, and EA has to be re-attached?
2- What is the effect of changing the ALR settings such as TP Pips after ALR already kicked in?
3- What if a trade was closed by mistake? (Not a big fan on 1 click trading, but just asking)
4- if the EA started working and I have to re-attach it to a terminal on another PC? will it know which trades it has already opened/closed?
Cheers!
thanks for the great effort you put into this and sharing with us!
I have a few questions about the robustness of the EA:
1- what is supposed to happen if the terminal crashes, and EA has to be re-attached?
2- What is the effect of changing the ALR settings such as TP Pips after ALR already kicked in?
3- What if a trade was closed by mistake? (Not a big fan on 1 click trading, but just asking)
4- if the EA started working and I have to re-attach it to a terminal on another PC? will it know which trades it has already opened/closed?
Cheers!
-
Dewey McG
- Trader
- Posts: 435
- Joined: Sat Nov 26, 2011 4:20 pm
- Location: Tampa FL
Trend Trading EA with Automated Loss Recovery
Great job Spider. I made a new ALR Calculator which uses the new numbers throughout so everyone can see what the risks are for different account sizes, number of turns, etc.
Ignore the parts colored in pink after the first tab--still have to update that part but theya re not important.
Ignore the parts colored in pink after the first tab--still have to update that part but theya re not important.
You do not have the required permissions to view the files attached to this post.
- SpiderX
- Trader
- Posts: 554
- Joined: Thu Aug 22, 2013 4:50 pm
Trend Trading EA with Automated Loss Recovery
Hi kotshkotsh » Mon Aug 11, 2014 5:10 pm wrote:Hi Spider,
thanks for the great effort you put into this and sharing with us!
I have a few questions about the robustness of the EA:
1- what is supposed to happen if the terminal crashes, and EA has to be re-attached?
2- What is the effect of changing the ALR settings such as TP Pips after ALR already kicked in?
3- What if a trade was closed by mistake? (Not a big fan on 1 click trading, but just asking)
4- if the EA started working and I have to re-attach it to a terminal on another PC? will it know which trades it has already opened/closed?
Cheers!
1. is already taken care of and ea will be able to get back on track from where it is left off with each restart.
2. is a big no no. Recommend that you close out the pendings and alr trades if you wish to do that.
3. most likely will mess things up.
4. willl be similar to 1.
We use incremental magic numbers to keep track of stuff so ea knows who is who as long as the magic numbers are set right.
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
-Corinthians 13:4-8
- SpiderX
- Trader
- Posts: 554
- Joined: Thu Aug 22, 2013 4:50 pm
Trend Trading EA with Automated Loss Recovery
Hi,
I missed out a line of code. Please use v2.01.
v2.01
-Patched in a missing line in the error catching code
EDIT
v2.02
-Added in missing code to close out all pending when EA closes the initial trade.
Cheers
I missed out a line of code. Please use v2.01.
v2.01
-Patched in a missing line in the error catching code
EDIT
v2.02
-Added in missing code to close out all pending when EA closes the initial trade.
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
-Corinthians 13:4-8
- SpiderX
- Trader
- Posts: 554
- Joined: Thu Aug 22, 2013 4:50 pm
Trend Trading EA with Automated Loss Recovery
Hi,
ALR2.0 trade manager is in post 2 with some explanations.
It is a pretty rush job and close to bed time here, so...
Cheers
ALR2.0 trade manager is in post 2 with some explanations.
It is a pretty rush job and close to bed time here, so...
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
-Corinthians 13:4-8
-
Fibotrend
- Trader
- Posts: 45
- Joined: Wed Jul 09, 2014 8:07 am
Trend Trading EA with Automated Loss Recovery
SpiderX » Mon Aug 11, 2014 4:32 pm wrote:Hi,
ALR2.0 trade manager is in post 2 with some explanations.
It is a pretty rush job and close to bed time here, so...![]()
Cheers
Thank you again mate for sharing this.
Basically this is the non-hedging mode of ALR. If I remember correctly it was already discussed in the ALR thread as a work around for US accounts. I thought the central tenet of ALR was trading with no SL. Also the risk of slippage may increase by closing/opening positions at the same price level.
Is there anyway we can change the EA to a lower TF as 4H takes ages before opening a trade in realtime.
Cheers
- SpiderX
- Trader
- Posts: 554
- Joined: Thu Aug 22, 2013 4:50 pm
Trend Trading EA with Automated Loss Recovery
Fibotrend » Tue Aug 12, 2014 9:16 am wrote:
Thank you again mate for sharing this.
Basically this is the non-hedging mode of ALR. If I remember correctly it was already discussed in the ALR thread as a work around for US accounts. I thought the central tenet of ALR was trading with no SL. Also the risk of slippage may increase by closing/opening positions at the same price level.
Is there anyway we can change the EA to a lower TF as 4H takes ages before opening a trade in realtime.
Cheers
Hi,
Yes...we figured this could be the non-hedging mode of ALR, but somehow we didnt go deep into it.
The math makes more sense than the original concept.
Yes. You can set trading tf, and all the tf information to a lower tf.
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
-Corinthians 13:4-8
-
Radar
- Trader
- Posts: 437
- Joined: Fri Mar 23, 2012 5:39 pm
- Location: Round the bend ;)
Trend Trading EA with Automated Loss Recovery
Hey SpiderX,
1. Beautiful!
2. It needs its own thread, 'cos I've got lots of Q's
Have fun!
Radar =8^)
I've just got 2 things to say about this EA...SpiderX » Tue Jul 08, 2014 2:05 pm wrote:ALR2.0 Trade Manager
This was a request from Dewey.
ALR2.0 Trade Manager will automatically manage any trade for the symbol with the same Magic number as the setting in the EA.
It will create a pending once there is a trade with the same Magic number, and this would be deleted if the trade was not stopped out.
Additional variable: ALR_AutoTPandSL
If set true, this ignores ALR_TargetPips and ALR_Zone, the target pips and zone pips are set according to the TP and SL of the initial trade.
If this is set false, the trade manager will automatically adjust the initial trade tp and sl to ALR_TargetPips_SameDir and ALR_ZonePips .
Cheers
1. Beautiful!
2. It needs its own thread, 'cos I've got lots of Q's
Have fun!
Radar =8^)
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
StackManV2
-
Dewey McG
- Trader
- Posts: 435
- Joined: Sat Nov 26, 2011 4:20 pm
- Location: Tampa FL
Trend Trading EA with Automated Loss Recovery
I agree--we need to move this to its own threadRadar » Tue Aug 12, 2014 6:10 am wrote:Hey SpiderX,
I've just got 2 things to say about this EA...
1. Beautiful!
2. It needs its own thread, 'cos I've got lots of Q's
Have fun!
Radar =8^)