
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
Kakto podumal, a mozet liudi, katoryje xorosho znajut EWA skazet sdies' naskolko pravilny rulsy:
http://www.geocities.com/WallStreet/Exchange/9807/Charts/SP500-Articles/EWRules.htm:)
Sorry for bringing up the topic of iStdDev again.
You wrote:
But mql4.com has the source code of StdDev indicator and it doesn't calculate the sum of squares of differences you mentioned. It uses another function to approximate prices, the muwings are only used to shift it by one of its coordinates for each set of bars. That is, one offset for the entire sample, for which one indicator value is calculated.
Could you please advise whether you have evaluated the prospects of such an approximation for trading? Is it worth recommending to beginners studying statistics for trading?
Thanks in advance.
By the way, information for developers:
If you replace
in that indicator
on
then it turns into an indicator of deviation of values of the original indicator from the built-in one.
No significant deviation is observed only when ExtStdDevMAMethod=0 (MODE_SMA) and ExtStdDevShift=0 .
With any other combination of these parameters the graph differs significantly from the horizontal one at the zero level. Build 193 dated May 4 and May 18.
Please advise what causes such a deviation?
Now I have an opportunity for the forum hosts to express their opinion :-)
Can you please tell me what causes this deviation?
Unfortunately, there is an error in the description of the iStdDev function. Shift and method are mixed up in the parameter list. We detected it only yesterday.
The correct description is "MQL4: iStdDev".
After rearranging these parameters we get the following result:
Now the graph is significantly different from the horizontal one at the zero level only when ExtStdDevShift is different from zero.
Did I apply ExtStdDevShift parameter correctly in iStdDev call?
What is interesting is that this construct also draws an uneven chart:
Sorry for bringing up the subject of built-in iStdDev again.
You wrote:
But mql4.com has the source code of StdDev indicator and it doesn't calculate the sum of squares of the differences you mentioned. It uses a different function to approximate prices and only uses a muwing to shift it by one of the coordinates for each set of bars.
In fact (Xi-X)^2 is equal to X^2-X^2
where Xi is the value on the i-th bar
X - average on these bars (for the period N)
X^2 - average of squares on these bars (for the period N)
Good luck and good trends.
With me it looks like this :
What you can see here is the frank markup. The confidence intervals are marked up from 60%, to 99%. Degree of nesting is 3 - smaller channels are not identified. We can clearly see the reversal zone. It coincided with the medium term trend (it is the widest channel pointing downwards) and with two nested ones I will call them short term and ultra short term - my classification. The regression lines are dotted as the Hearst's coefficients for the respective channels are <0.5. Originally, the indicator marking the price field was developed for hand trading - an Expert Advisor does not care how it is drawn there :).
So that you don't think that it's a tweak - there's an open order by the EA. I can see the time and price of entry. I am still struggling with the EA - similar entries should have been on EUR and GBP, although yesterday I have slightly moved the EA (and closed it too late, I might have missed the entry points). I see why I have chosen such a level of withdrawal of profit. At breakdown of the uptrend channel of the shortest trend is possible, but the strong pullback is also possible. Ideally, the Expert Advisor should recalculate everything correctly by itself. We will see.
What else I can recommend for real trading
- do not make decisions to enter the market if you are within the 60% confidence interval.
- Do not go short if below the lower 60% confidence interval, similarly for long positions,
but it seems clear.
However solandr has already stated it.
Good luck and good trends.
I, too, prefer tested algorithms, or better yet, self-developed ones.
Dear Rosh!
Is the formula given by you (on the picture from the help, am I right?) equal to the root of the sum (1/N)*(Xi-MAi)^2 ?
Where Xi is the value (for example, Close) on the i-th bar,
MAi is the muving value on the i-th bar (in case of SMA it is the arithmetic mean of Xi, Xi+1, ... Xi+N-1).
Here http://www.alpari-idc.ru/ru/experts/article s/21.html I have made examples of the use (with checking) of technical indicators on arrays, the Excel files are attached.
[img]http://forum.mql4.com/c/forum/2006/05/stddev%281%29.jpg[/img]