0
(0)
Tên:
Extrapolator [ ru ]
Tác giả: gpwr (2008.12.25 08:18)
Xếp hạng: 9.5
Đã tải xuống: 14839
Tải xuống:
Extrapolator 1
Extrapolator.mq4 (14.7 Kb) Xem

Sự miêu tả:

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

Phương pháp 1: Fourier's extrapolation; the frequencies are calculated using the Quinn-Fernandes Algorithm

Phương pháp 2: Autocorrelation Method

Phương pháp 3: Weighted Burg Method

Phương pháp 4: Burg Method with Helme-Nikias weighting function

Phương pháp 5: Itakura-Saito (geometric) phương pháp

Phương pháp 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]..x[n-1] where the higher index is compliant with the recent price. The prediction of the future price x[N] is calculated as

x[N] = -Sum(Một[Tôi]*x[n-i], i=1..p)

where a[i=1..p] - coefficients of the model, P - 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. Tất nhiên rồi, 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)

Chỉ báo vẽ hai đường: the blue line shows the prices of the model on the training bars, the red line shows the predicted future prices.

ví dụ:

Phương pháp 1 (the extrapolation of Fourier series)

Extrapolator 2

Phương pháp 3 (Burg's method)

Extrapolator 3

Phương pháp 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.

Bài đăng này hữu ích như thế nào?

Bấm vào một ngôi sao để đánh giá nó!

Đánh giá trung bình 0 / 5. Số phiếu bầu: 0

Không có phiếu bầu cho đến nay! Hãy là người đầu tiên đánh giá bài viết này.

Chúng tôi xin lỗi vì bài đăng này không hữu ích cho bạn!

Hãy để chúng tôi cải thiện bài đăng này!

Hãy cho chúng tôi biết cách chúng tôi có thể cải thiện bài đăng này?



Tác giả: Nhóm ngoại hối Wiki
Chúng tôi là một nhóm gồm các Nhà giao dịch ngoại hối giàu kinh nghiệm [2000-2023] những người cống hiến để sống cuộc sống theo cách riêng của chúng ta. Mục tiêu chính của chúng tôi là đạt được sự độc lập và tự do về tài chính, và chúng tôi đã theo đuổi việc tự học và có được nhiều kinh nghiệm trong thị trường ngoại hối như là phương tiện của chúng tôi để đạt được lối sống bền vững.