# Overview

## Overview

Welcome to the documentation for creating **custom indicators** in **Forex Tester Online (FTO)**.

This guide is designed to help developers and strategy testers understand the structure, lifecycle, and capabilities of custom scripts written for FTO. You’ll learn how to set up your environment, build your own indicators, and access key platform features via the available API.

***

### 📌 What You’ll Find Here

* [**Quick Guide**<br>](https://fto-2.gitbook.io/fto-indicators-docs/tutorial-moving-average)Get started with setting up your development environment and creating your first indicator using a simple Moving Average example.
* [**Indicator Structure**](https://fto-2.gitbook.io/fto-indicators-docs/indicators/indicator-structure)\
  Understand the lifecycle of an indicator through core functions like `Init`, `Calculate`, `Done`, and more.
* [**Working with Buffers**](https://fto-2.gitbook.io/fto-indicators-docs/visible-buffers)\
  Learn how to create and manage visible buffers to display your indicator’s values on the chart.
* [**Accessing Chart Data**](https://fto-2.gitbook.io/fto-indicators-docs/access-to-bar-arrays)\
  Understand how to retrieve bar data, price arrays, and time series to power your custom logic.
* [**Indicator Configuration**](https://fto-2.gitbook.io/fto-indicators-docs/configure_indicator)\
  Customize the behavior and appearance of indicators through parameters and configuration blocks.
* [**External Parameters**](https://fto-2.gitbook.io/fto-indicators-docs/external_parameters_definition)\
  Use external inputs to make your indicators dynamic and easily customizable by users.
* [**Getting Currency Information**](https://fto-2.gitbook.io/fto-indicators-docs/getting_information_about_currency)\
  Retrieve metadata about the active instrument, such as symbol name, point size, and tick value.
* [**Working with Dates and Time**](https://fto-2.gitbook.io/fto-indicators-docs/fto-date)\
  Use the `FTODate` structure to manage time-based logic and align calculations with bar timestamps.
* [**Other Utilities**](https://fto-2.gitbook.io/fto-indicators-docs/other)\
  Explore helper functions and additional features available to streamline development.

***

### 👨‍💻 Who is This For?

This documentation is for:

* Developers building and debugging trading indicators
* Algorithmic traders backtesting and optimizing their strategies
* Power users looking to customize and extend FTO’s capabilities

***

### 🚀 Ready to Begin?

Start with the [**Setup and Installation**](https://fto-2.gitbook.io/fto-indicators-docs/setup-and-installation) guide and move on to the [**Moving Average Tutorial**](https://fto-2.gitbook.io/fto-indicators-docs/tutorial-moving-average) to see how it all works in action.


---

# 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://fto-2.gitbook.io/fto-indicators-docs/readme.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.
