Lagrange’s Interpolation Polynomial

Lagrange’s Interpolation Polynomial


A good trend indicator suitable for any timeframe.

Thank you for reading this post, don't forget to subscribe!


Lagrange’s interpolation polynomial is used for the determination of the function on the basis of the given points. In point of fact, the indicator takes the coordinates of the points located between extern int begin and extern int end (marked with the red and blue lines on the chart), and calculates the coordinates of the next points using the Lagrange’s interpolation polynomial.


begin – the number of the bar the selection of points’ coordinates for the interpolation is begun with. It is marked with the red line;

end – the number of the bar the selection of points’ coordinates for the interpolation is finished with. It is marked with the blue line;

numPrognoz – the number of the points located to the left and to the right of the begin and end, that are calculated using the Lagrange’s interpolation polynomial.



  • (end-begin)=the degree of the polynomial. I.e. if the distance between “begin” and “end” is equal to two, then the chart will appear as a parabola, if it is equal to three, then it will be a hyperbola, etc.
  • (begin-numPrognoz) must be greater than zero, because the numbers from the “begin” to “begin-numPrognoz” determine the number of bars the function will be drawn for. By the way, does anybody know how to draw on the -1-st bar?

MT4 Indicators – Download Instructions

Lagrange’s Interpolation Polynomial is a Metatrader 4 (MT4) indicator and the essence of the forex indicator is to transform the accumulated history data.

Lagrange’s Interpolation Polynomial provides for an opportunity to detect various peculiarities and patterns in price dynamics which are invisible to the naked eye.

Based on this information, traders can assume further price movement and adjust their strategy accordingly.

How to install Lagrange’s Interpolation Polynomial.mq4?

  • Download Lagrange’s Interpolation Polynomial.mq4
  • Copy Lagrange’s Interpolation Polynomial.mq4 to your Metatrader Directory / experts / indicators /
  • Start or restart your Metatrader Client
  • Select Chart and Timeframe where you want to test your indicator
  • Search “Custom Indicators” in your Navigator mostly left in your Metatrader Client
  • Right click on Lagrange’s Interpolation Polynomial.mq4
  • Attach to a chart
  • Modify settings or press ok
  • Indicator Lagrange’s Interpolation Polynomial.mq4 is available on your Chart

How to remove Lagrange’s Interpolation Polynomial.mq4 from your Metatrader 4 Chart?

  • Select the Chart where is the Indicator running in your Metatrader Client
  • Right click into the Chart
  • “Indicators list”
  • Select the Indicator and delete

MT4 Indicators Download below:

Lagrange’s Interpolation Polynomial