**Rodrigo da Silva Boa**2016.01.04 07:49 #

*用户没有留下任何评级信息*

Deep Moving Average

...

Every indicator has its advantages and disadvantages. Trending ones show good signals during a trend, but lag during a flat. Flat ones thrive in the flat, but die off as soon as a trend comes. All this would not be a problem, if it was easy to predict when a flat changes to a trend and when a trend changes to a flat, but in practice it is an extremely serious task.

What if you develop such an algorithm, which could eliminate an indicator's flaws and enhance its strengths? What if such an algorithm could improve the operation of a trend indicator during a flat, but at the same time increase the efficiency during a trend, and fix the signals of a flat indicator during a trend and perfect them during a flat?

«Deep» is that very algorithm, which enhances the advantages of an indicator and minimizes its disadvantages. In short, this algorithm makes an indicator better. In an attempt to merge neural networks with a standard indicator, to my surprise, I received quite interesting results.

The specified task, due to its non-reproducibility and complex regularity, are best soled by non-linear algorithms. Neural networks are a very versatile and powerful tool, which allows to achieve a lot, if the task is set correctly and the solution is formed reasonable. The algorithm is based on this very tool.

In fact, the algorithm measures the optimal periods of a moving average on all area, depending on the state of the trend and the flat. On a flat area the algorithm adapts the period of the moving average towards the flat, on a trend area - towards the trend. By increasing the depth of the "Deep", you can increase the flexibility of the adaptive properties of the algorithm.

The architecture of the network and the heuristic search algorithm were designed specifically for this task. Multilayered structure and the amount of neurons in a layer are regulated dynamically, the user only needs to specify the maximum number of neurons in a layer, the maximum size of a layer and the maximum number of layers.

Moving average:

**Period**- the period of the moving average.

The "Deep" algorithm:

**Deep**- needed to regulate the depth of the period of the moving average.**Deep Smoothing**- smoothing of the result.**Deep Sensitivity**- algorithm sensitivity.

Neural network:

**Max: Number of Sensors**- the maximum number of sensory neurons.**Max: Layer Size**- the maximum number of neurons in a layer.**Max: Number of Layers**- the maximum number of layers.**Max: koefficient of signal deformation**- the coefficient is used for deformation signals.**Max: diapazon of signal**- the signal changing range.**Signal digits**- accuracy of the signals.

Calculations:

**Power**- the power of the calculations, set in percentage from 1 to 100.**Calculation limiter**- limits the duration of one cycle in milliseconds.**Number of Bars**- the number of bars for calculations.

Nork2016.03.27 04:22 #nice