3.5 Requesting out-of-band updates

There are circumstances where your indicator may need to re-plot its values without a new market price. For example, you may request external data, and then need to update your indicator's output when that data is received.

You can use the function UDI.requestUpdate() to force an immediate recalculation of your indicator. This will generate an asynchronous but immediate call to UDI.onCalculate().

Last updated