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
That's what I wrote above. You don't need MA if you use harmonic decomposition.
So, harmonics are also made from Ma, or rather from their difference or division, and here 2+2 and 1+3 pro it was not clear
or do you mean the harmonic obtained from ma4-ma2 and ma3-ma1 are not equal?
So the harmonics are also built from Ma, or rather from their difference or division, and here 2+2 and 1+3 were not clear.
It might be possible to predict the phase change already.
Friends, I can't understand what's wrong, I'm calculating the FFT in mql5. The signal is not harmonious.
#include <dt_fft.mqh>
int arr = 1024;
double arrayZ[0][14][arr];
double aa[];
int N=ArrayResize(aa,tnn1);
// Построение спектра
double sig;
for(int i=0; i<=N-1; i++)
{
sig=arrayZ[0][14][i+1]; // рыночные цены
aa[i]=sig;
}
// Прямое преобразование Фурье - после выпонения функции в массиве aa[] - спектрограмма
realfastfouriertransform(aa, tnn1, false);
//--- Вывод спектрограммы на экран
for(int i=0; i<=(N-1)/2; i++)
{
// Модуль комплексного числа
arrayZ[7][4][i+1]=(MathSqrt(aa[i*2]*aa[i*2]+aa[i*2+1]*aa[i*2+1]))/(N/2);
}
p.s. In the near future you will have to learn such concepts as data density, plausibility, "teacher", "noise" as well as harmonics. Noise as well as harmonics.