TY-X Script | Introduction

The following API documentation requires TradersYard X in version 1.3.0.x
Want to learn more about the TradersYard X scripting language? We've got the resources to help you get started. Start by browsing the documentation on the list below.

Introductory Words

TradersYard X Script is TradersYard X integrated programming language. The syntax is derived from C# and thus closely resembles it.
TradersYard X Script allows you to execute any ideas/methods that are too complex for the ConditionEscort. From simple indicators to entire applications where TradersYard X is only required to run in the background, anything that can be written in .NET can be implemented.
Information contained in this help document:
You will find a detailed explanation of how TradersYard X reacts and interacts with individual bars or candles as well as various trading instruments.
TradersYard X Script is event-based and -driven. When (for example) a candle closes or a new candle opens, then an event has occurred. When a new price value is delivered by your data provider or a new order is executed by your broker, then these too are considered events. TradersYard X Script allows you to react to these events. You can read about the exact methodology in this and the following chapters.
Like every other programming language, TradersYard X Script has a set of commands that can be converted and used via Scripts. You should be relatively well versed in these if you wish to create your own indicators or trading systems.
All drawing objects that can be used within the chart can also be accessed using TradersYard X. In this way, you can turn on/off certain lines, arrows, rectangles, and other objects with specified conditions.
TradersYard X Script allows you to create your own trading strategies and execute them live within the market. Information pertaining to prerequisites and how orders are sent to the broker and managed internally can be found here.
This section provides solutions to problems of an unusual nature. To solve such problems, you need to be able to trace and understand source code and programming. More advanced programmers and users may find solutions and suggestions that could help them in their own programming.
Last modified 1yr ago