![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Try the DCT-conversion with a diffraction core - smoothes very well, no lag at all. IMHO, it works better than traditional LCF. Below are some pieces of C++ code. The way to use it, I think, is clear from comments.
Thanks - I'll give it a try.
Good luck and hit the trends.
In general it is correct. The problem is that in order to draw it, we must each time recalculate the entire array of a given number of bars, i.e. IndicatorCounted will not work. The question is how to correctly draw this calculated array afterwards, in order not to correct the history after the fact? If we redraw the whole array, it will correct the history. If we redraw only the last bars, the entire beauty will be lost :(((( It all looks especially impressive in a separate window.
I think if TC's methodology explicitly requires recalculation of arrays (like Vladislav's, as far as I understood his ideas), this drawback will not be very significant.
Whoa, whoa...
What's the use of all this?
It's not a question of who is the best post-facto artist:).
The question is whether the given methodology allows one to get an indication of the solution with a high probability of success.
According to my understanding of the physics of the process the tip of this beautiful curve will wiggle back and forth with every tick, alternately depicting extremum and lack of it.
The drawing is meaningful if it shows the "trace" of the end of the (ex post facto beautiful) line.
I do not think this trace will differ significantly from the MA.
You will either get a lag or a twitch.
The reference reads:
Sets the number of the bar in the chart, which should be used to start drawing the specified indicator line. Indicator array values with an index less than the specified bar number will not be drawn in the chart and displayed in the DataWindow. The default value is 0.
...
"No matter how many times I experimented with it, I never got any results visible in the charts. Suppose I set "specified bar number" equal to 10. Question: where should it not be drawn - before this bar (i.e. from +Inf to it) or after it (i.e. from it to 0)? For some reason it is drawn everywhere. And how can the index be less than zero set by default, unless, of course, one is trying to look into the future in the MT coordinate system? Maybe I'm missing something?
In a neighbouring thread. "Can't figure out how to paint the indicator"
Neep 13.03.06 20:56.
Just this function is useful.