i just typed-out a super-explanatory monster message with a ton of
details 4 U but i inadvertently hit the close button at the top right
of the .gif image and it closed EvEryThinG on me. i'll never learn!
DOH!!! i had copied in-order to paste most of it---I'm saved!:
i should have mentioned(!)
ummm, the settings for the test were at the top of the attached
.gif image, (here again), and also:
i hope these settings point-out the problem for you.
EU/US 1-hour timeframe
tested from 1-01-11 through 10-17-11.
MinDiff is at 0 to facilitate easy testing, but might also
be a valid setting once this alleged bug is fixed.
The chart is an example of short-only, because THAT is
where i am having trouble and my brain is only handling one chart
at a time today, lol! A longs chart will probably look fabulous.
***there are also instructions on the chart; it is short-only because
that is what i'm having the problem with. use the same settings but do
'only long' and that should work well; trades 7 and 10 should have bottomed-out and taken profit very early-on but were made to hang-in-there until the next cross of 0 occurred. better settings will cure the same problem for the other trades on that chart (like 13,14 and 15).
Since i had to do this over again, i added a long-only chart as well as a graph long-only. these are with almost randomly-thought-up settings. a good day!
please be sure to click on them once you see the + sign to enlarge the images.
FYI---the test results that work....have a modeling quality of 90%!!!
i haven't seen an EA yet that has that # reliably.
imagine that on short trades as well---OMG.
---anything else, will be watching-----THX!
THANKS! 'too bad' work has been very busy today and late yesterday;
it cuts-into my Forex research time! it'll be worth it---i am presently working with
a version of the EA that never closes the trades, (I used to use a TP of about 10)
but now that TS is working, i set that for 5 and just get-along with the profits (and, super-low drawdown!) that come from it. i will undoubtedly be venturing further
with the new TS capability on the normal version and reporting results here---
Thanks Again! db
...i just deleted my life story, so you can thank me for that!
..."okay, enough ranting---here is an attached .gif image of a new setting that utilizes the long and short of it on the Euro/USD
****the settings are at the top of the chart*****
if you are using the latest edition with MaxDiff as a setting, set that to Zero.
NOW, if you don't know how to modify an EA, simply set the tester for
Long-Only trades because this chart was generated AFTER i had made the Trailing Stop functional for sells per the recent bug-fix. The results are the same chart-wise, just only half as many trades.
unless you have all day and night to try to optimize it further (with THESE general settings, i mean), try not to do it, lol, as i have been at it myself the last few hours----the setting of MinDiff @ 120 is right in the ball park---
if you go to 140 you get drawdown big time, and the same down @ 110.
Set it too close to the longer MA and trades don't get a good-enough foothold.
I would, however, tinker with the Trailing Stop setting----i keep it at 5 just so i don't ever have to use an actual TakeProfit, as my broker doesn't allow TPs or SLs to be placed along-with an order.
i am eager to try this setting on many other pairs, including, get this,
Wheat, Sugar and Soybeans?" That'll be interesting!
PS---i could not get any reliable profit from the MaxDiff function, with or without the Trailing Stop enacted. i COULD, but not anything like the setting provided here, so, best leave that at zero.
i am sure there are dozens of other settings 2 B found----have a nice day-------
I just worked out that I can use the trailing stop function. Sorry, I'm used to robots that you have to pay for, do everything for you and are completely useless hehe. I'm liking the adjustable MA - much better then any EA I've used before.
Period_1 and Period_2 are the periods of the moving averages used by the EA.
MA_Method is the type of moving averages (simple, exponential, weighted, etc.)
Min_Diff is the minimum difference between two MAs before consider a crossing.
Most of the input parameters are explained inside the MQL code of the EA.
Hi Enivid, I really like this Adjustable MA, sometime when MA not cross yet(say it open position Buy), but MT4 already close the Buy position, then EA open Sell position then the trend changed to bullish. When I use stoploss, after SL reached, the EA can not open position until next cross.
So can you update the EA, after stoploss touched, then EA will open buy automatically. Thank you