FIR_filter - indicator for MetaTrader 5

FIR_filter - indicator for MetaTrader 5

The indicator shows moving average, calculated using the digital filter. In this example the Hann Window is used. You can use the other filter coefficients, just modify them in OnInit():    for(int k=0;k<Per;k++)    {       w[k]=0.5-0.5*MathCos(2.*pi*(k+1)/(Per+1));       wsum+=w[k];    }
Linear regression slope - indicator for MetaTrader 5

Linear regression slope - indicator for MetaTrader 5

Linear regression fits the following equation of a straight line to price data: y[x] = y0 + b*x where: x is a bar number (x=1..n); y[x] is the corresponding price (open, close, median etc); b is a proportionality coefficient y0 is a bias. The linear regression slope, given by this indicator, is equal to a normalized version of the coefficient b. The formula for b is: b = (n*Sxy - Sx*Sy)/(n*Sxx - Sx*Sx) where: Sx = Sum(x, x = 1..n)= n*(n + 1)/2;
AR extrapolation of price - indicator for MetaTrader 5

AR extrapolation of price - indicator for MetaTrader 5

An autoregressive (AR) (or linear prediction) model is given by: x[n] = -Sum(a[i]*x[n - i], i = 1..p) where: x[n] is the predicted value of a time series; x[n-p]..x[n-1] are known past values of the same series; a[1]..a[p] are the model coefficients, and p is the model order. The model coefficients a[1]..a[p] can be fitted to the past data by a variety of methods. This indicator uses the Burg method. The inputs of the indicator are: UseDiff - a
Fourier extrapolation of price - indicator for MetaTrader 5

Fourier extrapolation of price - indicator for MetaTrader 5

A multi-harmonic (or multi-tone) trigonometric model of a price series x[i], i=1..n, is given by: x[i] = m + Sum( a[h]*Cos(w[h]*i) + b[h]*Sin(w[h]*i), h=1..H ) where: x[i] - past price at i-th bar, total n past prices; m - bias; a[h] and b[h] - scaling coefficients of harmonics; w[h] - frequency of a harmonic; h - harmonic number; H - total number of fitted harmonics. Fitting this model means finding m, a[h], b[h], and w[h] that make
iS7N_TREND_1 - indicator for MetaTrader 5

iS7N_TREND_1 - indicator for MetaTrader 5

Trend indicator with the simple smoothing algorithms. Based on the indicator trend.mq4 with some modifications. It has an only one parameter - period (use period=24 for EURUSD).
Price prediction by Nearest Neighbor - indicator for MetaTrader 5

Price prediction by Nearest Neighbor - indicator for MetaTrader 5

The k-Nearest Neighbor algorithm (k-NN) searches for k past patterns (neighbors) that are most similar to the current pattern and computes the future prices based on weighted voting of those neighbors. The present indicator finds only one nearest neighbor. So, in essence, it is a 1-NN algorithm. It uses the Pearson correlation coefficient between the current pattern and all past patterns as the measure of distance between them. The indicator has
Price prediction by Nearest Neighbor found by a weighted correlation coefficient - indicator for MetaTrader 5

Price prediction by Nearest Neighbor found by a weighted correlation coefficient - indicator for MetaTrader 5

The main disadvantage of the classical Nearest Neighbor algorithm (see an examplary implementation in https://www.mql5.com/en/code/133) is that all prices within a pattern are treated equally. In other words, it assumes that older prices have the same effect on future as newer ones. To overcome this drawback, this version of the nearest neighbor indicator gives larger weights to most recent prices while searching for the closest pattern in the
BB 3sigma - indicator for MetaTrader 5

BB 3sigma - indicator for MetaTrader 5

Bollinger Bands +-3sigma. You can change period and sigma ratio (Proper size of Deviation is 0.5~1.0). Bollinger Bands Indicator (BB) is similar to Envelopes. The only difference is that the bands of Envelopes are plotted a fixed distance (%) away from the moving average, while the Bollinger Bands are plotted a certain number of standard deviations away from it. Standard deviation is a measure of volatility, therefore Bollinger Bands adjust
iS7N_TREND.mq5 - indicator for MetaTrader 5

iS7N_TREND.mq5 - indicator for MetaTrader 5

Now its two-color (or two-mode) trend indicator, the number of calculated bars can be specified. Also you can select the mode (one or two color) and the uptrend and downtrend color. The number of bars to plot is also can be changed.
The Moving Average Indicator, based on the Quasi-Digital Filter - indicator for MetaTrader 5

The Moving Average Indicator, based on the Quasi-Digital Filter - indicator for MetaTrader 5

The Moving Average Indicator, based on the Quasi-Digital Filter. The MACD Indicator as example of its use is presented.



Latest News

NFL notebook: Ravens’ Martindale to be highest-paid DC
Today, 03:03
The Baltimore Ravens signed Don "Wink" Martindale to a new three-year deal that makes him the NFL's highest-paid defensive coordinator, NFL Network's Ian Rapoport reported Saturday. Financial terms were not disclosed. Martindale, 56, spent six seasons as the Ravens' linebackers coach before being promoted to defensive coordinator in January 2018. Under his direction, Baltimore ranked No. 1 in the NFL in total defense and No. 2 in ..
Read more

Joyous DeChambeau halfway leader at WGC-Mexico Championship
Today, 02:03
(Reuters) - American Bryson DeChambeau was giddy with joy after charging into a one-stroke lead in the second round at the WGC-Mexico Championship on Friday as overnight pacesetter Rory McIlroy's title bid stalled. Physics major DeChambeau solved the high altitude puzzle, putting with precision and making seven birdies in an eight-hole stretch en route to an eight-under-par 63 in ideal conditions at Club de Golf Chapultepec in Mexico City. ..
Read more

Spring training roundup: Felix impresses in Atlanta debut
Today, 01:06
Felix Hernandez tossed two scoreless innings in his first outing with Atlanta, and the Braves cruised to a 5-0 win over the Baltimore Orioles on Saturday afternoon at North Port, Fla. Chris Rusin and Tucker Davidson also tossed two scoreless innings apiece for the Braves. Red Sox 4, Rays 3 Nine pitchers combined for one walk and eight strikeouts and Felix Hernandez finished with a double and an RBI as Boston held on to beat Tampa Bay in Fort ..
Read more

Thomas takes third-round lead in Mexico as DeChambeau fades
Today, 01:03
(Reuters) - Justin Thomas made bookend bogeys but piled up eight birdies in between en route to a one-shot lead over Patrick Reed and Erik van Rooyen in the third round at the WGC-Mexico Championship on Saturday. On a day when overnight leader Bryson DeChambeau self-destructed, Thomas carded six-under-par 65 at Club de Golf Chapultepec in Mexico City. Two years after losing a playoff to Phil Mickelson, Thomas has a chance to avenge that ..
Read more

UK to press for Canada-style trade deal with EU when talks start in March
Today, 00:03
LONDON (Reuters) - Britain will underline its desire for a Canada-style trade deal with the EU when formal talks start next month, Prime Minister Boris Johnson's Downing Street office said on Saturday. Ministers will meet on Tuesday to sign off on the formal trade mandate document which will frame Britain's negotiating aims, before it is published on Thursday. "The UK has made clear a number of times, and will reiterate, its ..
Read more

U.S. national security adviser denies Russia boosting Trump reelection
Yesterday, 23:06
WASHINGTON (Reuters) - U.S. President Donald Trump's national security adviser denied that U.S. intelligence officials have warned that Russia has been interfering in the U.S. presidential campaign to boost Trump's re-election chances. "I haven't seen any intelligence that Russia is doing anything to attempt to get President Trump reelected," Robert O'Brien, who was appointed by Trump to the post in September, said in an ABC ..
Read more

Lakers lobby for Davis as defensive player of year
Yesterday, 23:03
By Jahmal Corner (Reuters) - Election season is in full swing for the Los Angeles Lakers who have returned from the All-Star break with one clear campaign in mind: Anthony Davis for NBA Defensive Player of the Year. The Western Conference leaders have not-so-subtly promoted their big man as the premier defender in the league. "He's able to protect the rim, he's able to guard in the post, he switches out on guards, blocks shots when ..
Read more

U.S. blocking G20 mention of climate change: sources
Yesterday, 22:03
World financial leaders are considering including climate change as a risk factor to economic growth in the G20 communiqué, but G20 diplomats said the United States is blocking them from mentioning it. G20 sources said the U.S. was reluctant to accept language on climate change. US PRESIDENT DONALD TRUMP HAS CALLED CLIMATE CHANGE A HOAX AND HAS ROLLED BACK MANY environmental protections put in place by his Democratic predecessor Barack Obama. ..
Read more

Sanders leads as Nevada caucus goers' first choice: Edison Research Poll
Yesterday, 21:09
By Chris Kahn NEW YORK (Reuters) - U.S. Senator Bernie Sanders appears to have an early edge in the Nevada Democratic Caucus, according to polling agency Edison Research. Edison, which compiles voter polls and live election results for media organizations including ABC News, CBS News, CNN, NBC News and Reuters, said its polling of early voters and state caucus goers shows Sanders "leads in the first preference" vote. Nevada will award Democratic ..
Read more

France's Macron: unclear if EU-Britain to have trade deal by year-end
Yesterday, 21:06
PARIS (Reuters) - French President Emmanuel Macron on Saturday cast doubt over the likelihood of the European Union and Britain reaching a post-Brexit trade deal by the end of the year, saying he expected fishing talks to be very tough. "It's going to be tense because they are very tough...Boris Johnson has a card in his hand and it is fishing and with that he will try to gain access to the market," Macron told representatives of the French ..
Read more
" template="news2" category="16" available="global" from="0" limit="5" order="date" sort="desc" cache="no"}