Discussing the article: "Neural Networks in Trading: Unraveling Structural Components (Encoder)"

 

Check out the new article: Neural Networks in Trading: Unraveling Structural Components (Encoder).

We invite you to explore the next stage in implementing the SCNN framework, which combines flexibility and interpretability, allowing structural components of a time series to be identified precisely. The article provides a detailed explanation of the mechanisms of adaptive normalization and attention, which ensure the model's resilience to changing market conditions.

In the practical section of our previous work, we developed the CNeuronPeriodNorm object, designed to extract periodic components from a time series. This component became the first step toward implementing the SCNN framework in the MQL5 environment and will be used to extract long-term and short-term components. The use of OpenCL kernels enables efficient parallel data processing and supports the backpropagation mechanism, making this module suitable for use within trainable neural network architectures.

Later, we will show that, through a few simple data transformations, CNeuronPeriodNorm can also be adapted to extract the seasonal component, which makes it even more versatile. Today, we will take the next step: we will start building an object responsible for extracting the coupled component, which reflects interrelated changes among several variables in a time series. This module will play a key role in modeling synchronized oscillations and anomalous co-movements, which is particularly relevant in the context of multivariate market analysis.


Author: Dmitriy Gizlyk