OPEN-SOURCE SCRIPT

[MAD] PID

Aktualisiert
This is a basic Proportional Integral Differential controller,
BUT with a modification to reduce the i portion via a recentering speed variable.

Here is its operating principle:
Place a standard MA (sma/ema,...).
Add this indicator and connect the output of the MA to the input.

The result is the "control/correction" parameter which is based on it.

Parameter:
kP = immediate effect of a change in value
kI = long-term impact of a change in value
kIc = reduction of the value at each tick
kD = value of the differential (damping)

on close = subtraction of the close from the output value
InputModule = the data source input indicator
exponent = the power factor of the output
smoother = final smoothing

You will see some updates here when I have some ideas what to do with this indicator :-)

Have fun
Versionshinweise
Direct implementation of standard MA´s for a "standalone mode"
pid_controllerTrend Analysis

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss