Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
1093
Rating:
(13)
Published:
2025.04.04 10:53
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The indicator creates a sliding line based on interpolation by a 4 degree polynomial. The constructed line extrapolates with a sine wave and itsline_poweraxial or nearly constant, or close to the slant line power_line= 3 ( redrawn to visualise the graph).

From the constructed and axial sinusoids, one value in each bar is removed and a line of extrapolated values is constructed,which is not redrawn.

External variables:

line_power - the degree of the extrapolated line;

leverage: leverage the elimination values for the resulting line. It is set from the first sliding line shifted backwards;

multiplier - multiplier. If equal to zero, then value is removed from axial, if equal to one, then from sinusoid, if equal to minus one, then from mirror sinusoid point through axial. It can take any value.

line4_SHIFT - line shift resulting from extrapolated values;

interval - increase the average multiple.

Refinement of the indicator from the subject:calculation of differences, examples.



Translated from Spanish by MetaQuotes Ltd.
Original code: https://www.mql5.com/es/code/25229

MA Trend 2 MA Trend 2

Trading system by iMA indicator (Moving Average, MA). Development of MA Trend.

Back kick Back kick

Algorithm cycle: when there are no open positions, open two opposite positions. Wait for both positions to close.

MultiTester MultiTester

Multiple runs/optimisations in Tester.

Display optimised for console-type chart text output Display optimised for console-type chart text output

This library allows you to create displays to easily output text information to the chart at the most optimal rate