Extrapolator

0
(0)
이름:
Extrapolator [ ]
작가: gpwr (2008.12.25 08:18)
평가: 9.5
다운로드됨: 14839
다운로드:
Extrapolator 1
Extrapolator.mq4 (14.7 kb) 보다

설명:

The indicator is based on several methods that can be chosen by the Method input variable:

방법 1: Fourier's extrapolation; the frequencies are calculated using the Quinn-Fernandes Algorithm

방법 2: Autocorrelation Method

방법 3: Weighted Burg Method

방법 4: Burg Method with Helme-Nikias weighting function

방법 5: Itakura-Saito (geometric) 방법

방법 6: Modified covariance method

Methods 2-6 are the methods of linear prediction. The linear prediction is based on finding the future values as the linear functions of the past values. Assume that we have a number of prices x[0]..엑스[n-1] where the higher index is compliant with the recent price. The prediction of the future price x[N] is calculated as

엑스[N] = -Sum(ㅏ[나]*엑스[n-i], i=1..p)

where a[i=1..p] - coefficients of the model, 피 - order of the model. The listed methods 2-6 find the coefficients a[] by decreasing the mean-root-square error on the training last n-p bars. 물론, we can reach the zero error of prediction if we directly solve the set of equations mentioned above with n=2*p by the Levinson-Durbin method. Such method of prediction is called Prony Method. Its disadvantage is the instability during the prediction of the future values of the series. That's way this method has not been included.

The other input parameters are:

LastBar - the number of the last bar in the past data

PastBars - the number of past bars used for the prediction of the future values

LPOrder - the order of the linear model as a fraction from the number of the past bars (0..1)

FutBars - the number of future bars in the prediction

HarmNo - the maximum number of frequencies for the Method 1 (0 means all frequencies)

FreqTOL - the imprecision of the frequeincies calculation for the Method 1 (if it is >0.001 it can't converge)

BurgWin - the number of the weighting function for the Method 2 (0=Rectangular 1=Hamming 2=Parabolic)

표시기는 두 줄을 그립니다.: the blue line shows the prices of the model on the training bars, the red line shows the predicted future prices.

예:

방법 1 (the extrapolation of Fourier series)

Extrapolator 2

방법 3 (Burg's method)

Extrapolator 3

방법 6 (Modified Covariance Method)

Extrapolator 4

Petition:

If somebody will be successful in developing a profitable EA based on this indicator I ask to share his/her ideas via the e-mail specified inside the code.

이 게시물이 얼마나 유용했나요??

평가하려면 별표를 클릭하세요.!

평균 평점 0 / 5. 투표수: 0

현재까지 투표가 없습니다! 이 게시물을 가장 먼저 평가해 보세요..

이 게시물이 귀하에게 도움이 되지 못했다니 죄송합니다!

이 게시물을 개선해 보겠습니다.!

이 게시물을 개선할 수 있는 방법을 알려주세요.?



작가: 외환 위키 팀
우리는 경험이 풍부한 Forex 트레이더 팀입니다. [2000-2023] 우리 자신의 조건에 따라 삶을 살기 위해 헌신하는 사람들. 우리의 주요 목표는 재정적 독립과 자유를 얻는 것입니다., 우리는 자기 교육을 추구하고 Forex 시장에서 자립 가능한 라이프 스타일을 달성하기 위한 수단으로 광범위한 경험을 얻었습니다..