Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Interpolation - MetaTrader 5 Script - MQL5 #1662 | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

Interpolation - indicator for MetaTrader 5

Real author:

Lagrangian interpolating polynomials are used to determine functions at specified points. In fact, the indicator takes the price point coordinates between the input int ibegin and the input intention (they are plotted in the chart with red and blue lines) and calculates the coordinates of the next point with the help of a Lagrangian interpolation polynomial.

Indicator input parameters:

 //+------------------------------------------------------------------------+
//| Indicator input parameters |
//+------------------------------------------------------------------------+
Input unit inumPrognoz= 2 ; // Number of predicted bars
Enter unit i start = 0 ; // Starting bar for analysis
Enter unit i end = 5 ; // Last bar analyzed

The indicator was first implemented in MQL4 and published in the code base of mql4.com on November 15, 2008.

Interpolation - indicator for MetaTrader 5

Figure 1 Interpolation indicator


Attachment download

📎 interpolation.mq5 (8.28 KB)

Source: MQL5 #1662

Verification code Refresh