Indicators: Variation Index

 

Variation Index:

Variation Index shows if a trend or a flat movement is prevailing in the time series or random behaviour.

Nowadays, the most popular representatives of the fractal time functions are the financial time series. The fractal structure of these series is well-known and aсcording to Mandelbrot is a "theoretical reformulation of a down-to-earth bit of market folklore-namely, that movements of a stock or currency all look alike when a market chart is enlarged or reduced so that it 5ts the same time and price scale".

Usually, to determine the fractal dimension the Hurst's exponent is calculated. However, for the reliable calculation of this exponent a huge amount of data is necesary (~ 10^3) and that is too much comparing to the duration of the trends of trading.

The suggested indicator calculates the variation index on a previous interval which is 2^n long. The "n" parameter is specified by the user.

Author: Nikolay Kositsin

Variation Index

 

Maybe someone can give me a hint. MT5, build 1430.

The essence of the problem: It does not work correctly.

I.e., on mt4 the indicator, as it should, hangs near 0.5 at any TF and multiplier.

But for me, it ranges from -3.5 to 35. And the range depends on the TF and multiplier.

 
Seconded, it doesn't work correctly.
 

Non-operational.

 

A strange typo has been discovered! Wait for the new version to be published.

 
Nikolay Kositsin:

A strange typo has been discovered! Wait for the publication of a new version.


Dear Nikolay, hello!

You haven't made a new version yet? I want to feel it ;)

 
kofesutra:

Dear Nikolay, hello!

Have you made a new version yet? I want to feel it ;)

Can't you check it?
 
Nikolay Kositsin:
Why don't you check it out?
I did. It doesn't work, you drag it with the mouse on the chart and no lines are displayed.... What's the matter. I really want to use it as one of the indicators of my EA.
 
Вячеслав Новиков:
I checked. It doesn't work, you drag it with the mouse to the chart and no lines are displayed.... What's the matter. I really want to use it as one of the indicators of my EA.


I checked it! Everything works.

On any timeframe. And, therefore, study the terminal matrix, where the indicators should lie and where you actually place them and how you compile them. I don't do personal training.

Well, you should also keep an eye on the number of indicators, if an indicator is beyond the first five hundred, it will not hang on the chart!

 
The first link died of old age, but fortunately it is preserved on archive.org: ***