> For the complete documentation index, see [llms.txt](https://docs.cdzv.com/code-zero-visual-trading_en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cdzv.com/code-zero-visual-trading_en/cdzv-toolkit/indicators/timer.md).

# TIMER

Code Zero Visual Trading for TradingView

{% hint style="success" %}
**Association**

**TIMER** is a countdown from one event to the next.
{% endhint %}

**TIMER** is an indicator that works as a timer that is activated by an input signal and sends a signal when the countdown of this timer is completed. It can be configured to send a signal after a user-defined number of bars, allowing you to automate actions such as closing a trade after a certain amount of time.

The signal from **TIMER** is transmitted to other modules of the system to perform operations set by the trader.

<figure><img src="https://754838710-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYAV7aJldax3OC32dTSHO%2Fuploads%2FEz6ZtiYBLeeRrJW5EdZa%2Fimage.png?alt=media&amp;token=4e1cd8cf-45f2-4eed-8d11-a5d3d232ba7c" alt="" width="558"><figcaption></figcaption></figure>

The **TIMER** module has **one outpu**t, which signals on the required bar that it's time to do something.

<figure><img src="https://754838710-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYAV7aJldax3OC32dTSHO%2Fuploads%2FwnQ9mHqZWLSMRokDxbOI%2Fimage.png?alt=media&amp;token=466ec883-14d6-40ca-b995-e9574343cd8b" alt="" width="563"><figcaption></figcaption></figure>
