> For the complete documentation index, see [llms.txt](https://fto-2.gitbook.io/fto-strategies-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fto-2.gitbook.io/fto-strategies-docs/readme.md).

# Overview

Welcome to the documentation for creating custom strategies in Forex Tester Online (FTO).\
This guide is designed to help developers and traders understand the structure, lifecycle, and capabilities of custom trading strategies written for FTO. You'll learn how to set up your environment, build your own trading strategies, and access key platform features via the available API.

## 📌 What You'll Find Here

* [**Quick Guide**](/fto-strategies-docs/tutorial-open-and-upload-strategy.md)\
  Get started with setting up your development environment and creating your first strategy
* [**Strategy Structure**](/fto-strategies-docs/strategies/strategy-structure.md)\
  Understand the lifecycle of a strategy through core methods like `Init()`, `OnTick()`, `Done()`, and more.
* [**Working with Parameters**](/fto-strategies-docs/strategies/options.md)\
  Learn how to create and register configurable parameters that users can adjust in the strategy interface.
* [**Accessing Market Data**](/fto-strategies-docs/strategies/market-info.md)\
  Understand how to retrieve bar data, price information, and indicators to power your trading logic.
* [**Order Management**](/fto-strategies-docs/strategies/trade-operations.md)\
  Learn how to open, modify, and close trading positions programmatically through your strategy.
* [**Getting Currency Information**](/fto-strategies-docs/strategies/current-symbol.md)\
  Retrieve metadata about the active instrument, such as symbol name, point size, and tick value.
* [**Working with Dates and Time**](/fto-strategies-docs/strategies/date-time.md)\
  Manage time-based logic and align trading decisions with bar timestamps.
* **Other Utilities**\
  Explore helper functions and additional features available to streamline development.

## 👨‍💻 Who is This For?

This documentation is for:

* Developers building and debugging trading strategies
* Algorithmic traders backtesting and optimizing their systems
* Traders looking to automate their trading methodology
* Power users looking to customize and extend FTO's capabilities

## 🚀 Ready to Begin?

Start with the [Setup and Installation](/fto-strategies-docs/tutorial-open-and-upload-strategy.md) to get started and move to [Cursor tutorial](/fto-strategies-docs/tutorial-create-strategy-with-cursor-ide.md) to learn how to create your first strategy using powerful Cursor IDE.

## Download Strategy Examples

Get started quickly by downloading our example strategy from [this section](#download-strategy-examples)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://fto-2.gitbook.io/fto-strategies-docs/readme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
