You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Can you recommend any documentation for running a backtest with (1*std) -> (5*std) and (0.3 - > 1.5 on both the SL and TP)
I added some code to your progam, marked by djp. Go drop this EA onto a chart, in the properties section fill in start step stop with the values in the comments.
Check optimization checkbox and change the Use Dates on the settings tab. Uncheck Visual mode if you have it checked. Press Start. If you already know how to do this sorry, I don't know how familar you are with the tester. I'm not saying this is going to help but you might be surpised by some of these results.
In your code you have 2 lines [double fastSTD = ........ ] You never use fastSTD anywhere else in your code. I think you ment to use it, but used slowSTD instead by mistake.
Might want to check that out before you test, also take into account other posters comments before you start testing. If you have never done optimization before you may just want to do this with out changing your code, just to get the hang of it. I don't think it will run more than an hour with the four variables.
I added some code to your progam, marked by djp. Go drop this EA onto a chart, in the properties section fill in start step stop with the values in the comments.
Check optimization checkbox and change the Use Dates on the settings tab. Uncheck Visual mode if you have it checked. Press Start. If you already know how to do this sorry, I don't know how familar you are with the tester. I'm not saying this is going to help but you might be surpised by some of these results.
In your code you have 2 lines [double fastSTD = ........ ] You never use fastSTD anywhere else in your code. I think you ment to use it, but used slowSTD instead by mistake.
Might want to check that out before you test, also take into account other posters comments before you start testing. If you have never done optimization before you may just want to do this with out changing your code, just to get the hang of it. I don't think it will run more than an hour with the four variables.
Thank you, i'm going to experiment with this on my live account tester, instead of the demo account tester
is it possible for you to post the modified EA here?
Sure. These are some of the major changes during the test above:
1) Your previous condition:
2) As you see above: All MA, entF signals has been "arrayed" and 'bind' by
tradingTimeFrame-1
& by the equation, upon init:
and the rest of the changes follows: this way makes easier for future development esp. optimization purposes (just step thru tradingTimeFrame by 1)
Sorry, if there's no comments in my codes. I usually read codes intact, and without comments, makes it easier, cleaner for me to read.
Thank you, i'm going to experiment with this on my live account tester, instead of the demo account tester
There is a program called WinMerge, http://winmerge.org/downloads/ This will make you life much easier. It's free and makes merging code easy. Take myfile and merge the changes into Diostar's changes then repost that file with a version number so it is easier to keep track of the most recent version. MAybe start with MTFzMA_v1.0, then you increment the .0 up by one everytime one of use makes a changes.
Sure. These are some of the major changes during the test above:
1) Your previous condition:
2) As you see above: All MA, entF signals has been "arrayed" and 'bind' by
& by the equation, upon init:
and the rest of the changes follows: this way makes easier for future development esp. optimization purposes (just step thru tradingTimeFrame by 1)
Sorry, if there's no comments in my codes. I usually read codes intact, and without comments, makes it easier, cleaner for me to read.
Really clean code, with lots of loops :)
Thank youThere is a program called WinMerge, http://winmerge.org/downloads/ This will make you life much easier. It's free and makes merging code easy. Take myfile and merge the changes into Diostar's changes then repost that file with a version number so it is easier to keep track of the most recent version. MAybe start with MTFzMA_v1.0, then you increment the .0 up by one everytime one of use makes a changes.
will do
Here are some of the results(forward test), from 1:1 RR ratio, and it's loosing so far!
If that's the case, then I think it would be a good idea to figure out when to reverse orders, and when to keep them as is, just a thought...
What do you guys think?
Statement: 7064834 - 3Here are some of the results(forward test), from 1:1 RR ratio, and it's loosing so far!
Good Lord, you mentioned it.
Because this what I discovered too the other day. It did improve though not to a glorious level, however that improvement, in an engineering/technical sense, was a highly significant amount of change rate. Just too significant to be left unprobed, "un-discovered."
So that, have me posted all together a new thread here:What do you think of this "Evil Grail" Approach to EAs? querying for others' methodologies towards their own EA approaches.
The methodology we are doing here is similar to reverse engineering, fyi. However the form is rather:
Finding the best solution in the most minimal of time. While in same (very short) time, 5-10 mins at most, test per unit logic, so the logic CAN be a determined one, say. 99% good or 99% bad, is pretty much confirmed.
Try it. you may be in for a surprise as I did. its quite an "unorthodox" way of doing - an Evil Grail "hoping" to turn Holy Grail, it rings of repentance of some sort, like turning over a new leaf. Nonetheless, IT IS a possibility.
Good Lord, you mentioned it.
Because this what I discovered too the other day. It did improve though not to a glorious level, however that improvement, in an engineering/technical sense, was a highly significant amount of change rate. Just too significant to be left unprobed, "un-discovered."
So that, have me posted all together a new thread here:What do you think of this "Evil Grail" Approach to EAs? querying for others' methodologies towards their own EA approaches.
The methodology we are doing here is similar to reverse engineering, fyi. However the form is rather:
Finding the best solution in the most minimal of time. While in same (very short) time, 5-10 mins at most, test per unit logic, so the logic CAN be a determined one, say. 99% good or 99% bad, is pretty much confirmed.
Try it. you may be in for a surprise as I did. its quite an "unorthodox" way of doing - an Evil Grail "hoping" to turn Holy Grail, it rings of repentance of some sort, like turning over a new leaf. Nonetheless, IT IS a possibility.
I've tried this method before, and every single time i reversed the order types, the system kept failing, LOL?? I have a strong feeling, if i change this system, and run a test, i'm going to get the exact same results.
None the less, i'm going to try it!
I've tried this method before, and every single time i reversed the order types, the system kept failing, LOL?? I have a strong feeling, if i change this system, and run a test, i'm going to get the exact same results.
None the less, i'm going to try it!
No. That's not really it, at this stage. It CAN be a waste of time, testing from buy to sell, vice versa, though it did give changes. When I say, this is what I meant:
Finding the best solution in the most minimal of time. While in same (very short) time, 5-10 mins at most, test per unit logic, so the logic CAN be a determined one, say. 99% good or 99% bad, is pretty much confirmed.
1) You just take 1 master logic, say for eg:
and remove all the rest, and you do this:
that is per unit logic - testing BOTH buy and sell, at the SAME time. So, if you wish to go optimization with this 1 master logic, you will simply optimize on your basic parameters - sl,tp, lots, etc only. Then analyse the instances of their buys and sells, judge whether if this 1 logic is can make the cut, in both scenarios - whether it makes an incorrect or correct entries. Both. Then move on, to the next logic.
As you get along, you might want to try combinations...1st logic just buy, logic 2, just sell, or both, etc. I find this way is more structured and you can really see which precise logic is really causing the drawdown.