# Сonditions and Scripts disappeared

There are several ways to solve this issue:

* Download and install the latest release of AgenaTrader. Download link [**here**](https://agenatrader.com/download/AgenaTrader_Setup.exe)
* Please go to **Strategie Handling->Scripting** and click on **Compile** button

<figure><img src="https://docs.agenatrader.com/~gitbook/image?url=https%3A%2F%2F2805764894-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-legacy-files%2Fo%2Fassets%252F-MKZSsJBtSP9L4sqIe_q%252F-MQwPCScTa47vxWsw7R-%252F-MQwSPttYe-vLXDqb4wR%252Fcompile.png%3Falt%3Dmedia%26token%3D311797e0-68a8-475e-8f2e-b0f805d221f5&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=a1a5bb32&#x26;sv=2" alt=""><figcaption></figcaption></figure>

**Important!** In some cases, User can get compiling errors. Please find details about how to solve this on page [**Compile Errors**](https://docs.agenatrader.com/create-your-own-trading-strategy/scripting#Compile_Errors)

* Please check the destination of script files. They should be located: **C:\Users\\'User\_name'\Documents\AgenaTrader\UserCode\ folders: Indicators, Scanns, ScriptedConditions, Strategies or AlertHandlers** (depends on Script type). In case you find them in other location, just copy them to the destination folder and click **Compile** button.

<figure><img src="https://docs.agenatrader.com/~gitbook/image?url=https%3A%2F%2F2805764894-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-legacy-files%2Fo%2Fassets%252F-MKZSsJBtSP9L4sqIe_q%252F-MQwPCScTa47vxWsw7R-%252F-MQwSWK4SBrzzYyYCWzy%252FUserCode.png%3Falt%3Dmedia%26token%3D642aec75-d030-42b9-9941-2f2a80b1943b&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=8a9b76c&#x26;sv=2" alt=""><figcaption></figcaption></figure>

* Conditions might disappear because your packages were not updated to the latest version. In this case please select **Tools -> Packages -> Imported Packages** from the main menu.

<figure><img src="https://docs.agenatrader.com/~gitbook/image?url=https%3A%2F%2F2805764894-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-legacy-files%2Fo%2Fassets%252F-MKZSsJBtSP9L4sqIe_q%252F-MQwPCScTa47vxWsw7R-%252F-MQwSaeyb9-W5KlGufP6%252FPAckage.png%3Falt%3Dmedia%26token%3D384a26ca-f4ee-4e2a-8938-e9f6a2ad4ea8&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=a8067279&#x26;sv=2" alt=""><figcaption></figcaption></figure>

In open tab please check version of your add on. **Up-to-date** button means that your addon is already updated.

<figure><img src="https://docs.agenatrader.com/~gitbook/image?url=https%3A%2F%2F2805764894-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-legacy-files%2Fo%2Fassets%252F-MKZSsJBtSP9L4sqIe_q%252F-MQwPCScTa47vxWsw7R-%252F-MQwSl293RFC8DJc-JDz%252F1.png%3Falt%3Dmedia%26token%3D8a1c5d78-7cd0-4278-96d4-1880241546a3&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=b7afd05f&#x26;sv=2" alt=""><figcaption></figcaption></figure>

**Update Available** means that you add on version is obsolete.

<figure><img src="https://docs.agenatrader.com/~gitbook/image?url=https%3A%2F%2F2805764894-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-legacy-files%2Fo%2Fassets%252F-MKZSsJBtSP9L4sqIe_q%252F-MQwPCScTa47vxWsw7R-%252F-MQwSpp-WmkFnvcFC3zs%252Fupdate.png%3Falt%3Dmedia%26token%3D19ccea19-5675-4ec3-9286-5090a5018de0&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=304d23dd&#x26;sv=2" alt=""><figcaption></figcaption></figure>

To update add on please click on **Update Available** button and in open dialog click button **Yes**

<figure><img src="https://docs.agenatrader.com/~gitbook/image?url=https%3A%2F%2F2805764894-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-legacy-files%2Fo%2Fassets%252F-MKZSsJBtSP9L4sqIe_q%252F-MQwPCScTa47vxWsw7R-%252F-MQwSuTucB9H3XV1ht-U%252FUpdate_routine.png%3Falt%3Dmedia%26token%3Dbb2aca7d-541b-4d37-952b-5af1ba490a82&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=84fcd1e9&#x26;sv=2" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.agenatrader.com/introduction/faq/top-faq/sonditions-and-scripts-disappeared.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
