DislikedDid you read my post before yours?
For EURUSD, from 2008/01/15 until today:
Result: +10172 pips.Ignored
My result:
7301 pips (1-1-08 to 8-12-08)
For g/u
using your settings of 5/3/no/2.4
i get -1914 pips!!!
Something definitely wrong there
10 Ema and 200 Ema cross system 6 replies
EMA crossover (ema 14 & 34) 4 replies
Please help code an EMA Crossover 12ema x 24 ema cross 1 reply
EMA's and MA's confiming small time correctoin ema's crossing 1 reply
DislikedDid you read my post before yours?
For EURUSD, from 2008/01/15 until today:
Result: +10172 pips.Ignored
DislikedYikes,
When I scroll back (all the way to 2001) then rerun it, I get -8k pips
interesting
this is on fxdd btwIgnored
// Getting the indicators values
double ema = iMA(NULL /*Current pair*/,
0 /*Current time frame*/,
EMAPeriod /*period*/,
0 /*No shift*/,
1 /*EMA*/,
0 /*Close*/,
i /*Shift from buffer*/); DislikedWe are getting EMA from Close price, so we are one hour ahead of market (in the future)I've noticed it with EA, because EA quite offen opened trade one hour later than Indicator - it's the cause.
Ignored
// Getting the indicators values
double ema = iMA(NULL /*Current pair*/,
0 /*Current time frame*/,
EMAPeriod /*period*/,
0 /*No shift*/,
1 /*EMA*/,
0 /*Close*/,
i + 1 /*Shift from buffer*/); DislikedYes. MetaTrader "Tester" tool for EA simulates real conditions (including spread, swap points) and we can't have situation of reading from the future.
For Indicator we need to change code to:
Inserted Code// Getting the indicators values double ema = iMA(NULL /*Current pair*/, 0 /*Current time frame*/, EMAPeriod /*period*/, 0 /*No shift*/, 1 /*EMA*/, 0 /*Close*/, i + 1 /*Shift from buffer*/);Ignored
QuoteDislikedIt shouldn't be a problem, because beside all other checks at close of previous candle, the EMA condition is:
"if price opens above/bellow EMA close on current candle";
QuoteDislikedBy the way, with what leverage was this account running?
QuoteDislikedI know now there's an EA, but for those who like to do some manual testing, here's what I think I'll do, ...
QuoteDisliked... What means all this silence?
Is it that everybody is absorved in testing the EA or...
Is it that people found some kind of problem? ...
DislikedTonirai, EA hasn't changed much. All your proposed steps for testing are perfectly valid also for EA and demands some manuall interactions. Only presentation changes - you get charts and graphs with EA.
I think everyone is waiting for your findings about best settingsI haven't much free time to play more with Indicator and EA today
RegardsIgnored