Watch how to download trading robots for free
Find us on Twitter!
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
Indicators

Pan PrizMA Sin leverage 72 - indicator for MetaTrader 5

Views:
13277
Rating:
(24)
Published:
2019.04.06 06:32
Updated:
2020.06.27 13:21
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The indicator builds a sliding line based on interpolation by a polynomial of 4 degrees. The constructed line is extrapolated as a section of a given function by a sinusoid and its axial near the constant  line_power = 2, or near the inclined straight line_power = 3 (redrawn to visualize the plot).

From the built sinusoids and axial one value is removed on each bar and a line of extrapolated values is built, which does not redraw .

MT4

External variables:

line_power - the degree of the extrapolated line;

leverage - shoulder removal values for the resulting line. Set from the backward slid first line;

multiplier - multiplier. If it is equal to zero, then the value is removed from the axial, if it is equal to one, then from the sinusoid, if it is equal to minus one, then from the point of the mirror sinusoid through the axial one. May take any values.

line4_SHIFT - offset of the resulting line of extrapolated values;

interval - multiples multiple averaging.

Refinement of the indicator from the topic: Difference calculus, examples.

Possible development of indicator potential


    MQL_Easy MQL_Easy

    A cross platform library/framework

    Exponential moving average Exponential moving average

    Exponential moving average

    Balance Graph HTML Balance Graph HTML

    Display interactive HTML graph of the account balance inside the web browser.

    CPairedDealInfo Class CPairedDealInfo Class

    A class to reconstruct closed trades (paired in/out deals) from history sorted by close time.