Strategy Structure

This section provides documentation for the core methods that define the structure and lifecycle of a custom strategy in Forex Tester Online. These methods control how your strategy initializes, processes market data, and cleans up resources.

Core Methods

Strategy Lifecycle

  • Init: Initializes the strategy, sets up parameters and configurations

  • OnTick: Processes each price update and implements the strategy's trading logic

  • Done: Performs cleanup when the strategy is disabled by user

Last updated