OPEN-SOURCE SCRIPT

[MAD] PID

Cập nhật
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
Phát hành các Ghi chú
Direct implementation of standard MA´s for a "standalone mode"
pid_controllerTrend Analysis

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Thông báo miễn trừ trách nhiệm