
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
Ну набросал я индикатор по SMA. Вообще-то, что весовая часть дробной части приходится на старший бар, логично. Отсчитываем-то назад, в историю.
Вот картинка. красный - SMA(4), синий - SMA(3.5), зеленый - SMA(4.5):
Индюк прикреплен, и вот код:
That's great!
And not 200 lines of code...
;)
In short, it's a lot of fun. I think it has - IMHO - no practical application, but as an actualization of the oxymoron "a simple slip with a fractional period"))) will do. There is something of Zen fables in it ("Clap one palm" etc. ))))
===
Alexey should put this topic into the non-trade-related tasks branch initially.)))
А ларчик просто открывался...
Yes... That's not the point. It's just that as a purely practical person, it never occurred to me to open this chest. I have enough boxes of my own, I would even say Pandora's boxes)).
===
Shall I put it in the base? Or is it still better not to embarrass yourself with trinkets?)))
Голова работает, но не в том ключе.
Then let's get on with it. ;)
Remaining are.
3. for exponential?
Садись "5" - подъеб защитан. Остался 4 вариант, но решается также как и предыдущие 2.
:о)
Тогда продолжим. ;)
Остались -
Why for an exponential? It has a "fractional" period from the start, which it doesn't have - it only has feedback coefficients. That's how MT made it so that EMA is not fractional. As it is, it has always had a fractional parameter. Recalculate this coefficient from fractional period and it's done. k=2.0/(1+period);
Well, the rest of the standard ones are elementary already done.