TWM Wiki

Description

Chart Window

Chart Data

The chart window launches with the Data Series configuration dialog, as a chart cannot be opened without available data. For details on acquiring data, refer to the Market Data section.

Once the chart is initialized, TWM will wait for the first tick to arrive before dismissing the Go To Live loader. This process may take longer for instruments with low liquidity.

If you prefer to work solely with historical data, it is recommended to disconnect after the initial data download has completed successfully. This ensures that all subsequent data is loaded directly from the local hard drive.


Image



Drawing Tools

In order to access drawing tool please click on the drawing tools icon in the chart toolbar (1) and select the desired tool in the drawing tools menu (2). TWM is prepacked with the following drawing tools:

  1. line
  2. vertical line
  3. horizontal line
  4. ray
  5. text
  6. rectangle
  7. ruler
  8. risk reward
Image


Once a drawing tool has been added to the chart, you can modify its default settings by selecting it from the Drawing Tools list (5). After selecting the desired tool, its configurable options will appear in the Settings Panel below (4). Alternatively, you can predefine properties such as color, size, and line width before placing the tool on the chart by using the Tool Options Menu located beneath the tool selector (2).



Indicators

To access indicators on the chart, you can either click the Indicators button in the toolbar or open the context menu by right-clicking anywhere on the chart.

TWM includes a set of default indicators that are completely free and open source. For more information on customizing or developing indicators, please refer to the Indicators section in the Code documentation.

Image


To add an indicator to a chart, select the desired indicator from the list and either double-click it or click the plus (+) button at the bottom of the window. Once added, the indicator will appear in the lower section of the dialog.

You can add multiple indicators simultaneously; however, indicators and strategies cannot run at the same time. If you attempt to do so, a warning will appear. In such cases, you must remove either the indicator or the strategy to proceed. To remove an indicator from the chart, simply click the remove (×) icon next to it.


Image




Strategies

Strategies are added to the chart in much the same way as indicators. To access the list of available strategies, either click the Strategies button in the toolbar or right-click on the chart to open the context menu.

TWM includes a set of default strategies that are completely free and open source. For more details on customizing or developing strategies, refer to the Strategies section in the Code documentation.


Image


When enabling a strategy, ensure that the Enabled checkbox is selected before clicking OK. This instructs TWM to begin executing the strategy immediately after confirmation.

Alternatively, you can choose to enable the strategy later via the Admin Panel.


Image



Image


Another critical setting for strategies is selecting the Account on which the strategy will execute. Available options may vary depending on the selected connection provider:

  1. Local Paper – Executes orders using TWM’s local order matching engine.
  2. Server Paper – Uses the exchange’s built-in simulator, if available.
  3. Broker – Sends live orders directly to the connected exchange.

If a strategy is running and the user closes the chart window, the window will visually disappear but will not be closed entirely. It can be restored by double-clicking the strategy entry in the Admin Panel's strategy list. This behavior ensures that strategy execution continues uninterrupted during live market conditions, even when the chart is closed.

When a strategy is not enabled, the Performance icon in the toolbar remains inactive. Once enabled, the icon becomes active, allowing access to the Strategy Performance window where you can review performance metrics in detail.

Image


Strategy Positions vs Account Positions

It is important to clearly understand the distinction between strategy positions and account positions.

Strategy positions are specific to each individual strategy. For example, two strategies trading the same instrument may hold opposing positions—one long and one short—resulting in a net account position of zero, even though both strategies are actively trading.

Strategy positions are visible in the Strategies tab of the Admin Panel. Keep in mind that the position displayed there reflects the state of the strategy itself and does not necessarily match your current account position.

Spot and Futures

When a user places a buy order using Chart Trader on a futures market, a position is opened on the exchange and displayed as such. However, when trading on a spot market, placing a buy order does not create a formal position. Instead, it simply increases the amount of the purchased asset in the account.

For example, buying BTCUSDT on the futures market will result in a visible position. In contrast, buying BTCUSDT on the spot market will increase the BTC balance, which can be viewed in the Assets tab, but no position will appear.

This behavior differs slightly when using scripted strategies. In the case of a strategy buying BTCUSDT on the spot market, the BTC asset will still increase as expected. However, TWM treats this as a strategy-level position, even though it will not appear in your account positions. This internal position is fully accessible within the strategy logic, allowing you to handle spot trading in strategies similarly to futures trading, including position management and tracking.

Additionally, the behavior on strategy deactivation differs between market types:

  1. On futures markets, if a strategy is disabled, TWM will attempt to close any open positions associated with the strategy and cancel all of its working orders.
  2. On spot markets, disabling a strategy will only cancel the strategy’s open orders. It will not liquidate the acquired assets.
  3. For instance, if a strategy buys BTC and sets both a stop-loss and a take-profit order to convert it back to USDT, disabling the strategy will cancel both orders, but the BTC will remain in your asset balance.


Chart Trader

Manual order placement is done through Chart Trader, which can be accessed via the toolbar within the chart window.

To place an order:

  1. Right-click below the current price to place a Limit Buy or Stop Market Sell order.
  2. Right-click above the current price to place a Limit Sell or Stop Market Buy order.
  3. Use the Market Order buttons to place immediate buy or sell orders.

On futures markets, a Close button is available to quickly close any open positions. Note that positions are only created on futures markets and in Local Paper mode for spot market simulations. When using a live broker connection on spot markets, no positions will be shown—only the asset balances will be updated.

Use the Account Selector to choose the desired environment (Local Paper, Server Paper, or Broker) for order execution.

Image





This website uses cookies to enhance your browsing experience. By continuing to use our website, you agree to our Privacy Policy

Necessary cookies help make a website usable by enabling basic functions such as page navigation and access to protected areas of the site.

  • Necessary cookies

    .AspNet.Consent

    Indicates whether the user has consented to the use of necessary cookies.

    Maximum storage duration: 1 Year | Type:Necessary cookies
    .AspNetCore.Antiforgery

    Used to prevent CSRF attacks and protect user data.

    Maximum storage duration: Session | Type: Necessary cookies
    .AspNetCore.Cookies

    Used to manage authentication information and the user's session.

    Maximum storage duration: 1 Year | Type: Necessary cookies
    .AspNetCore.Culture

    Used to store user's language preferences.

    Maximum storage duration: 1 Year | Type: Necessary cookies
    __Secure-OSID

    Security cookie set by Google to authenticate users and prevent fraudulent use of login credentials.


    Maximum storage duration: 6 Months | Type: Necessary cookies
    __Host-3PLSID

    Ensures you stay connected to your Google accounts across various services.

    Maximum storage duration: 2 Years | Type: Necessary cookies
    AEC

    Used to verify your Google account and ensure that requests in sessions come from you.

    Maximum storage duration: 6 Months | Type: Necessary cookies
    HSID

    Security cookie used by Google to authenticate users and prevent fraudulent use of login credentials, protecting user data.

    Maximum storage duration: 2 Years | Type: Necessary cookies
    SEARCH_SAMESITE

    This cookie prevents the browser from sending the cookie along with cross-site requests, helping to mitigate the risk of cross-origin information leakage.

    Maximum storage duration: 6 Months | Type: Necessary cookies
    SID

    Important for Google's security and to ensure that Google can authenticate the account and block fraudulent access attempts.

    Maximum storage duration: 2 Years | Type: Necessary cookies
    SIDCC

    Security cookie to protect user data from unauthorized access.

    Maximum storage duration: 1 Year | Type: Necessary cookies
    __Host-1PLSID, __Host-3PLSID

    Crucial cookies to ensure that you remain securely logged into your Google accounts while accessing various Google services.

    Maximum storage duration: 2 Years | Type: Necessary cookies

Functional cookies allow the website to provide enhanced functionality and personalization. They may be set by the website owner or by third parties whose services have been added to the pages.

  • Functional Cookies

    LSOLH

    Used by Google to store session information and enhance the user's experience on Google services.


    Maximum storage duration: Session | Type: Functional Cookies
    COMPASS

    Used by Google to improve user navigation by remembering preferences and information, such as preferred language.

    Maximum storage duration: 6 Months | Type: Functional Cookies
    ACCOUNT_CHOOSER

    Remembers which accounts have been used to log into Google services on the device.

    Maximum storage duration: 1 Year | Type: Functional Cookies
    APISID

    Used by Google to store user preferences and information when viewing pages with Google maps.

    Maximum storage duration: 2 Years | Type: Functional Cookies
    LSID

    Used by Google to store user preferences while viewing pages that incorporate Google services.

    Maximum storage duration: 2 Years | Type: Functional Cookies
    NID

    Used by Google to remember user preferences, such as preferred language, to provide a more personalized experience.

    Maximum storage duration: 6 Months | Type: Functional Cookies
    SAPISID

    Used by Google to collect information about visitors for videos hosted on YouTube or maps integrated with Google Maps.

    Maximum storage duration: 2 Years | Type: Functional Cookies
    __Host-GAPS

    Used by Google to store user preferences and information when pages containing maps or Google services are viewed.

    Maximum storage duration: 2 Years | Type: Functional Cookies

Statistical cookies help website owners understand how visitors interact with the site by collecting and transmitting information anonymously.

  • Statistical Cookies

    CLID

    Unique identifier used to track user interactions and maintain unique sessions.


    Maximum storage duration: 1 Year | Type: Statistical Cookies
    MR

    Microsoft cookie that collects data on user interactions to improve services.

    Maximum storage duration: 7 days | Type: Statistical Cookies
    SM

    Used by the Microsoft Clarity analytics suite to maintain the user's session.

    Maximum storage duration: Session | Type: Statistical Cookies

Marketing cookies are used to track visitors on websites. The intent is to display relevant and engaging ads for the individual user.

  • Marketing Cookies

    AID

    Used by Google to link your activity across devices if you have logged in with the same Google account.


    Maximum storage duration: 1 Year | Type: Marketing Cookies
    ANONCHK

    Used by Microsoft Advertising to check the anonymity of data sent by tracking cookies.

    Maximum storage duration: 10 minutes | Type: Marketing Cookies
    MUID

    Microsoft cookie used to track user interactions across Microsoft domains.

    Maximum storage duration: 13 Months | Type: Marketing Cookies
    __Secure-3PSID, __Secure-3PAPISID, __Secure-3PSIDTS, __Secure-3PSIDCC

    Google cookies designed to build a profile of your preferences and show you relevant ads on other sites, protecting the Google account.

    Maximum storage duration: 2 Years | Type: Marketing Cookies
    ADS_VISITOR_ID

    Used by Google to identify and track visitors across various websites to display personalized advertising.

    Maximum storage duration: 2 Years | Type: Marketing Cookies
    OTZ

    Used by Google to personalize ads on Google properties, like Google Search.

    Maximum storage duration: 1 Month | Type: Marketing Cookies
    __Secure-1PAPISID, __Secure-1PSID

    Used by Google to deliver more relevant ads and protect the security of your preferences and Google account information.

    Maximum storage duration: 2 Years | Type: Marketing Cookies

Cookies are small text files that can be used by websites to make the user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies, we need your permission. This means that cookies classified as necessary are processed under Article 6(1)(f) of the GDPR. All other cookies, namely those belonging to the categories of preferences and marketing, are processed under Article 6(1)(a) of the GDPR.

This site uses different types of cookies. Some cookies are placed by third-party services that appear on our pages.

You can change or revoke your consent at any time from the Cookie Statement on our website.

Learn more about who we are, how you can contact us, and how we process personal data in our Privacy Policy.

Specify your consent ID and the date you contacted us regarding your consent.