S
Try this to get a more definite signal
ma = iMA(symbol, timeframe, 4, 0, MODE_SMA, PRICE_CLOSE, 0); mash = iMA(symbol, timeframe, 20, 0, MODE_SMA, PRICE_CLOSE, 0);
Any errors in the Journal tab?
Keep trying
-BB-
i changed the ma and mash and now loss trades are 91.74 %
the journal log is about 3 mb and is full with error like:
2008.09.10 18:24:39 2008.09.10 18:22 MA GBPUSD,M15: 37.2582
2008.09.10 18:24:39 2008.09.10 18:22 MA GBPUSD,M15: 1.7574
2008.09.10 18:24:39 2008.09.10 18:22 MA GBPUSD,M15: 1.7557
2008.09.10 18:24:39 2008.09.10 18:22 MA GBPUSD,M15: 37.7692
2008.09.10 18:24:39 2008.09.10 18:22 MA GBPUSD,M15: 1.7574
2008.09.10 18:24:39 2008.09.10 18:22 MA GBPUSD,M15: 1.7558
2008.09.10 18:24:39 2008.09.10 18:22 MA GBPUSD,M15: 37.5119
2008.09.10 18:24:39 2008.09.10 18:22 MA GBPUSD,M15: 1.7574
-------------------------------------------------------------------------------
is the algorith for opening and closing positions correct?
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello everyone
i am new to MQL so i have a few questions.
how to deal with negative values of some indicators, how to compare them. its so confusing...
could you please tell me what structure (algorithm) for opening and closing i have to use.
i'd tryed to write an absolutly simple strategy with ma15, ma15(shfl 5) and rsi12 but it doesnt work. here is the code. there are no syntaxys errors, only logic errors. could pls somebody fix them. here is the code
thx in advance :)