Hi,
Have added some comments to post 1 and uploaded v1.02
v1.02
-Add trade comments to make trades more traceable
-Some code clean up and minor efficiency enhancements
Dewey can you confirm that the trade rules are correct ?
Also, any ideas on how to calculate the initial lot size based on the total risk of the whole basket ?
It seems complicated upon closer study.
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
"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
- tex
- Trader
- Posts: 89
- Joined: Wed Nov 16, 2011 7:27 am
Trend Trading EA with Automated Loss Recovery
Hello Spider,
Thanks for your work, looking very good so far !!
Would it be possible to code a semi automatic Mod of the EA without a trading logic attached? E.G. : The EA opens a trade long or short at the very next candle and then gets active only when the ALR Zone is reached and starts to manage the loss. This way we could test the ALR logic of the EA with our individual strategies and compare it to the automatic versions.
Thanks,
tex
Thanks for your work, looking very good so far !!
Would it be possible to code a semi automatic Mod of the EA without a trading logic attached? E.G. : The EA opens a trade long or short at the very next candle and then gets active only when the ALR Zone is reached and starts to manage the loss. This way we could test the ALR logic of the EA with our individual strategies and compare it to the automatic versions.
Thanks,
tex
- SpiderX
- Trader
- Posts: 554
- Joined: Thu Aug 22, 2013 4:50 pm
Trend Trading EA with Automated Loss Recovery
tex » Wed Jul 09, 2014 12:18 am wrote:Hello Spider,
Thanks for your work, looking very good so far !!
Would it be possible to code a semi automatic Mod of the EA without a trading logic attached? E.G. : The EA opens a trade long or short at the very next candle and then gets active only when the ALR Zone is reached and starts to manage the loss. This way we could test the ALR logic of the EA with our individual strategies and compare it to the automatic versions.
Thanks,
tex
Hi tex,
Once it is confirmed that things are fine with the main EA, that is something that can be considered.
However, if you want a semi-auto mode, it means the main EA has to give up control of the trades after it is made.
Any form of trailing stop loss or closing logic have to be completely shut off, as these will mess with the ALR progression.
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
-
Dewey McG
- Trader
- Posts: 435
- Joined: Sat Nov 26, 2011 4:20 pm
- Location: Tampa FL
Trend Trading EA with Automated Loss Recovery
I will have a look as soon as I can but am working crazy hours for a couple days. It might be Friday before I get a chance to go through itSpiderX » Tue Jul 08, 2014 11:46 am wrote:Hi,
Have added some comments to post 1 and uploaded v1.02
v1.02
-Add trade comments to make trades more traceable
-Some code clean up and minor efficiency enhancements
Dewey can you confirm that the trade rules are correct ?
Also, any ideas on how to calculate the initial lot size based on the total risk of the whole basket ?
It seems complicated upon closer study.
Cheers
- Eamonn
- Trader
- Posts: 87
- Joined: Wed Nov 16, 2011 6:45 am
Trend Trading EA with Automated Loss Recovery
[quote="tex » Tue Jul 08, 2014 5:18 pm"]Hello Spider,
Thanks for your work, looking very good so far !!
Would it be possible to code a semi automatic Mod of the EA without a trading logic attached? E.G. : The EA opens a trade long or short at the very next candle and then gets active only when the ALR Zone is reached and starts to manage the loss. This way we could test the ALR logic of the EA with our individual strategies and c
Hey Tex,
try using your usual strategy then place the ea on chart as normal change the magic no to zero when you have a trade running and the EA will look after the trade.
Empty4 treats any random trade as if the magic no is zero, of course only try on demo just in case I'm wrong.
Eamonn.
Thanks for your work, looking very good so far !!
Would it be possible to code a semi automatic Mod of the EA without a trading logic attached? E.G. : The EA opens a trade long or short at the very next candle and then gets active only when the ALR Zone is reached and starts to manage the loss. This way we could test the ALR logic of the EA with our individual strategies and c
Hey Tex,
try using your usual strategy then place the ea on chart as normal change the magic no to zero when you have a trade running and the EA will look after the trade.
Empty4 treats any random trade as if the magic no is zero, of course only try on demo just in case I'm wrong.
Eamonn.
- SpiderX
- Trader
- Posts: 554
- Joined: Thu Aug 22, 2013 4:50 pm
Trend Trading EA with Automated Loss Recovery
hmmm...think that could be done.
Just set TradeLong and TradeShort to false and the main EA logic cant trigger a trade.
At the same time, set the magic number to the same as what your EA is using.
No promises on functionality since this was not what the EA was designed with in mind.
EDIT : Only problem will be that exit logic might be active with the original Ea and mess things up for you.
Cheers
Just set TradeLong and TradeShort to false and the main EA logic cant trigger a trade.
At the same time, set the magic number to the same as what your EA is using.
No promises on functionality since this was not what the EA was designed with in mind.
EDIT : Only problem will be that exit logic might be active with the original Ea and mess things up for you.
Cheers
Last edited by SpiderX on Wed Jul 09, 2014 1:39 pm, edited 1 time in total.
"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
-
Dewey McG
- Trader
- Posts: 435
- Joined: Sat Nov 26, 2011 4:20 pm
- Location: Tampa FL
Trend Trading EA with Automated Loss Recovery
Wealthmaster just posted a stand alone trade manager version here: http://www.stevehopwoodforex.com/phpBB3 ... &start=180
Might be easier to try that for your own trading strategies
Might be easier to try that for your own trading strategies
- tex
- Trader
- Posts: 89
- Joined: Wed Nov 16, 2011 7:27 am
Trend Trading EA with Automated Loss Recovery
Thanks for the headsup Eamonn, i will have a look at the EA posted by Wealthmaster firstEamonn » Today, 15:11 wrote:tex » Tue Jul 08, 2014 5:18 pm wrote:Hello Spider,
Thanks for your work, looking very good so far !!
Would it be possible to code a semi automatic Mod of the EA without a trading logic attached? E.G. : The EA opens a trade long or short at the very next candle and then gets active only when the ALR Zone is reached and starts to manage the loss. This way we could test the ALR logic of the EA with our individual strategies and c
Hey Tex,
try using your usual strategy then place the ea on chart as normal change the magic no to zero when you have a trade running and the EA will look after the trade.
Empty4 treats any random trade as if the magic no is zero, of course only try on demo just in case I'm wrong.
Eamonn.
-
Stefan61200
Trend Trading EA with Automated Loss Recovery
Hi guys,
I receive the following error message using Version 1.02 just for UCH. All other 10 pairs are running perfectly. I use a TF of 5M and the rest is OOTB.
Does anybody has an idea what is wrong (I googled the error code - invalid lots amount).
Thank you
Stefan
I receive the following error message using Version 1.02 just for UCH. All other 10 pairs are running perfectly. I use a TF of 5M and the rest is OOTB.
Does anybody has an idea what is wrong (I googled the error code - invalid lots amount).
Thank you
Stefan
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 StefanStefan61200 » Thu Jul 10, 2014 12:42 am wrote:Hi guys,
I receive the following error message using Version 1.02 just for UCH. All other 10 pairs are running perfectly. I use a TF of 5M and the rest is OOTB.
Does anybody has an idea what is wrong (I googled the error code - invalid lots amount).
Thank you
Stefan
I mentioned in first post this is for tf of 4h.
If you intend to use it for M5...you need to edit all the settings for M5.
Can you share you setfile here ?
Not sure why it seems there was a calculation error for you.
Will check it out.
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