| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
PHP Code:
![]() |
|
||||
|
Thanks
Thanks for posting an explanation of the commands! I've been really getting into the system as of late
, and I've been wanting to translate some of my trading system ideas into EA's for backtesting. I have been having some difficulty finding tutorials or explanations on the Metatrader language. "Reverse engineering" EA's from the top coders ain't easy. Your trading idea is also interesting. Let's hope one of the forum's best coders can help out on this one! |
|
||||
|
Quote:
First let me put you on to the tutorial I've been looking at. http://www.lightpatch.com/forex/mt_yahoo/MQL4_Tutorial/ I know the reverse engineering blues. I'm passionate about this system right now. I don't have a better grasp on anything better. I am open minded this is just my best going concern at the moment. But my latest tests on this aren't bad, see attached. I have managed to alter the code to allow me to use a TP of 8. That's about as far as I have learned how to modify it using the tutorials. I change one EMA from 2 to 1 and it made a huge difference in the profit generated. I don't recommend the confirm order option in this it only decreases the successful outcome. If you look at this chart you see it makes alot then gives half of it back at the end. I believe that if the lots on the hedged positions were scalable that this amount which is given back would be reduced. I'd like codersguru to make this modification or someone else competent. I'd just like to see that much done with it and see where it leads. All the rest of the stuff is extra credit so to speak. I'll keep learning as best I can but I really wish someone competent to program would take an interest in this soon. I think that would be best. All I can do is all I can do. Last edited by Aaragorn; 06-17-2006 at 02:30 PM. |
|
||||
|
Quote:
this is along the lines of what I had in mind to scale the stops... http://www.forex-tsd.com/suggestions...loss-code.html |
|
||||
|
Strategy Tester
Aaragorn,
I looked at your back testing results and I noticed that your modeling quality is only 29% or so. I don't mean this in a mean way, but those results mean nothing. Even with a modeling quality of 90% the results really don't correlate with live trading too well. Back testing with a modeling quality of 90% just starts to give a trader an idea of what potentional the EA Might have. If you really want to see what an EA can do you have to forward test it at present. It is possible that in the future a better backtester will come out, but for now it's not all that reliable. Just try forward testing an EA and you will see what I mean. Aplari's data that can be download to get modeling quality to 90% is indicative data and therefore doesn't accurately represent the true market movement but only is an estimate that may or may not give signals in live trading. That is why it is hard to trust the backtester. That is all I have for now. I'm not trying to burst your bubble or anything, I just want you to be aware. Thanks Huhenyo |
|
||||
|
A few updates
Hi Aaragorn,
I've made a few updates, let me know if they are what you want. In the inputs for the EA you can now tell the EA when to start trading and when to stop trading. There is also the option to specify the % of the lots you want the hedged position to be. Huhenyo |
|
||||
|
Quote:
Would you repost this upgrade in .mq4 format, I'm not sure how to handle it in the format you've used. Thanks for your kind upgrade, I'll get back as soon as I have some idea of what is working, but i need the right file format to do that. Last edited by Aaragorn; 06-18-2006 at 02:46 PM. |
|
||||
|
Another I'm working on
Here is the EA I've been working on for awhile now. Try it out and see what you think. I'll post two versions. The 1.1 version only trades with the signal. The 1.2 verions trades with the signal during less volitile times and opposite the signal during the more volitile times with a traling stop only if the movement after the signal is such to warrent it. Have fun. Let me know what you think
Huhenyo |
![]() |
|