Main Features
Intro
This lesson is available with subscription.
Included with a TWM subscription
OnTickUpdate
This lesson is available with subscription.
Included with a TWM subscription
Strategy Plots
This lesson is available with subscription.
Included with a TWM subscription
Multiple Data Series
This lesson is available with subscription.
Included with a TWM subscription
On Render
This lesson is available with subscription.
Included with a TWM subscription
Custom Buttons
This lesson is available with subscription.
Included with a TWM subscription
Scale In Scale Out
This lesson is available with subscription.
Included with a TWM subscription
This lesson is available with subscription.
Included with a TWM subscription
TWM
Courses
COURSE
Advanced System Design
Start Designing Complex Trading Strategies
Advanced System Design course is built for developers who already feel at home inside the TWM scripting environment and are ready to move beyond standard indicators and basic execution logic.
This course focuses on advanced, production-level techniques used to build scripts that behave correctly in real-time conditions, handle complex data relationships, and provide deeper control over execution and visualization.
You’ll learn how to work with tick-level logic, manage multiple data series, render custom visuals directly on the chart, and extend scripts with interactive controls such as custom buttons and mouse-driven logic. The course also covers scale-in and scale-out execution patterns, helping you design scripts that reflect real-world position management instead of simplified examples.
Advanced System Design course is not about shortcuts or abstractions — it’s about understanding how the platform works under the hood and using that knowledge to create robust, predictable, and extensible scripts suitable for live and simulated environments.
Recommended for:
Users who already build indicators or scripts in TWM and want to level up their technical depth, execution control, and chart interaction capabilities.
Description
Advanced System Design is a technically focused course that dives into advanced scripting mechanics available in the TWM platform. It is designed for developers who already understand the basic script lifecycle and want to build more precise, interactive, and execution-aware scripts.
This course does not re-explain fundamentals. Instead, it concentrates on how and when advanced platform hooks are executed, how different data contexts interact, and how to safely implement logic that must operate in real-time conditions.
You’ll learn how OnTickUpdate behaves in live and simulated environments, why it does not execute in historical mode, and how to safely use it for logic that requires per-tick evaluation. Practical examples include trailing stops, dynamic condition recalculation, and execution logic that cannot rely on bar-close events.
Key topics:
This section shows how to embed indicator logic directly inside a strategy, including how to expose and render plots from within a strategy context. You’ll learn how strategy-level plots differ from indicator plots and how to use them for debugging, visualization, and execution feedback.
Key topics:
You’ll work with multiple data series to create scripts that operate on one timeframe while consuming data from another. A practical example demonstrates a strategy executing on a 5-minute series, while using a 1-hour series for higher-timeframe context.
Key topics:
This section explores OnRender, allowing you to bypass standard drawing tools and render custom visuals directly on the chart. You’ll learn how to draw lines, connect points, place text, and manage coordinate transforms.
A practical example walks through building a simple volume profile derived from 1-minute bars, rendered on a daily chart.
Key topics:
You’ll learn how to extend scripts with interactive UI elements, including custom buttons for manual control and mouse-driven chart interaction.
This section also clearly explains the difference between strategy position and account position, a critical concept often misunderstood by developers.
Key topics:
The course concludes with practical examples of scale-in and scale-out execution models. You’ll see how to design strategies that manage partial entries and exits, rather than relying on simplified single-entry logic.
Key topics:
This course is intended for:
If you want next, I can:
Main Features
Tick-Level Execution with OnTickUpdate
Implement logic that reacts on every tick in live and simulated environments, enabling precise trailing stops, real-time recalculations, and execution logic that cannot rely on bar-close events.
Indicators Embedded Inside Strategies
Create and render plots directly from strategy scripts, allowing deeper visualization, debugging, and tighter coupling between calculation and execution logic.
Multi-Timeframe Data Series Integration
Combine multiple data series within a single script, such as executing on a 5-minute timeframe while consuming and plotting data from a higher-timeframe series.
Cross-Series Logic Coordination
Safely synchronize calculations across different BarsInProgress contexts and use higher-timeframe data to influence lower-timeframe execution decisions.
Custom Chart Rendering with OnRender
Draw fully custom visuals on the chart, including lines, connected points, text, and advanced overlays such as a custom volume profile.
Interactive Script Controls and Mouse Input
Add custom buttons and mouse-driven interactions to strategies, enabling manual control, dynamic zones, and direct chart interaction.
Clear Strategy vs Account Position Handling
Understand and correctly manage the distinction between strategy position and account position to avoid execution mismatches and unintended behavior.
Scale-In and Scale-Out Execution Models
Design strategies with partial entries and exits, enabling realistic position management and advanced execution workflows.
FAQ
Do you have any more questions about our Course? Let's see if we already have the answer.
Please read the FAQ below.
Still have a question?
For assistance, please visit our Support page. Our dedicated team is ready
to help you 24/7.
Testimonials
Check out here what the other users have to say about this Course!
"“This is the first TWM course that actually explains why things behave differently in live execution versus historical runs. The OnTickUpdate section alone saved me weeks of trial and error.”"
"“Custom buttons and mouse interaction were always a mystery to me. This course breaks it down in a way that actually makes sense and feels safe to implement.”"
"“I’ve written plenty of scripts before, but I was clearly abusing execution flow. This course helped me clean up my logic and build scripts that behave predictably in real time.”"
"“Scale-in and scale-out examples are realistic, not academic. This feels like how real scripts should be designed, not toy examples.”"
"The explanation of strategy position vs account position should be mandatory viewing. It explains so many issues I’ve seen but never fully understood.”"
"“The OnRender section was eye-opening. I didn’t realize how much control you can have over chart visuals until I saw the volume profile example built from scratch.”"
"Finally a course that treats multi-timeframe logic properly. The BarsInProgress explanations and cross-series examples are clear, practical, and immediately usable.”"
"“Advanced System Design course feels like the missing link between ‘I can code scripts’ and ‘I can trust my scripts in live conditions.’ Highly recommended for serious users.”"
Similar courses
TWM users have the opportunity to create their own strategies and indicators using the C# coding language.
We use necessary cookies to make our site work. We also use optional cookies for functionality, analytics, advertising, campaign measurement, and service integrations.
You can choose to accept only necessary cookies or customize your preferences.
Clicking the “X” at the top right will apply the same choice as “Only necessary”.
Necessary cookies help make the website usable by enabling basic functions such as consent storage, security protection, language preferences, authentication, and preserving the active navigation context.
Necessary cookies
Technical identifier used to manage and persist cookie consent preferences.
Maximum storage duration: 12 Months | Type: Necessary cookiesStores your cookie consent choices and selected preferences.
Maximum storage duration: 12 Months | Type: Necessary cookiesPreserves the active navigation context, for example keeping the user in the standard website flow or the Start Trading flow when shared navigation elements are used.
Maximum storage duration: Up to 30 Days | Type: Necessary cookiesIndicates whether the user has provided cookie consent.
Maximum storage duration: 1 Year | Type: Necessary cookiesUsed to prevent CSRF attacks and protect form submissions and user data.
Maximum storage duration: Session | Type: Necessary cookiesUsed to manage authentication information and signed-in sessions.
Maximum storage duration: 1 Year | Type: Necessary cookiesStores the user’s language and localization preferences.
Maximum storage duration: 1 Year | Type: Necessary cookies
Functional cookies allow the website to remember preferences and support enhanced features or integrations such as Google services, maps, embedded media, or account-related personalization.
Functional Cookies
Used by Google to store session information and support service-related functionality.
Used by Google to remember settings and improve navigation across integrated services.
Maximum storage duration: 6 Months | Type: Functional CookiesRemembers which Google accounts have been used on the device.
Maximum storage duration: 1 Year | Type: Functional CookiesUsed by Google to store preferences and information when using integrated Google services such as Maps.
Maximum storage duration: 2 Years | Type: Functional CookiesUsed by Google to store preferences while viewing pages that incorporate Google services.
Maximum storage duration: 2 Years | Type: Functional CookiesUsed by Google services to support embedded content, maps, and account-related personalization.
Maximum storage duration: 2 Years | Type: Functional CookiesUsed by Google to support service preferences and related functionality on pages integrating Google services.
Maximum storage duration: 2 Years | Type: Functional Cookies
Statistical cookies help us understand how visitors interact with the site, measure traffic, and improve services. Data is processed in aggregated or pseudonymized form by providers such as Google and Yandex.
Statistical Cookies
Google Analytics cookies used to distinguish users and sessions for traffic measurement and site usage analysis.
Google Analytics cookie used to distinguish users within a single day session.
Maximum storage duration: 24 Hours | Type: Statistical CookiesYandex Metrica unique visitor identifier used to distinguish users across sessions.
Maximum storage duration: 1 Year | Type: Statistical CookiesYandex Metrica cookie that stores the date of the user's first visit.
Maximum storage duration: 1 Year | Type: Statistical CookiesYandex Metrica cookie used to detect whether the user has an ad blocker enabled.
Maximum storage duration: 2 Days | Type: Statistical CookiesYandex Metrica Webvisor cookie used to record and replay user sessions for usability analysis.
Maximum storage duration: 30 Minutes | Type: Statistical Cookies
Marketing cookies are used for advertising, campaign attribution, conversion tracking, personalization, and cross-platform measurement by providers such as Google, Microsoft, Meta, and TikTok.
Marketing Cookies
Used by Google to link activity across devices and improve ad attribution.
Used by Microsoft Advertising to validate and support ad-related requests.
Maximum storage duration: 10 Minutes | Type: Marketing CookiesMicrosoft advertising identifier used to recognize browsers across Microsoft domains.
Maximum storage duration: 13 Months | Type: Marketing CookiesGoogle advertising and personalization cookies used to build preference profiles and support ad delivery.
Maximum storage duration: 2 Years | Type: Marketing CookiesUsed by Google to identify visitors for advertising and attribution purposes.
Maximum storage duration: 2 Years | Type: Marketing CookiesUsed by Google to support ad personalization and service optimization.
Maximum storage duration: 1 Month | Type: Marketing CookiesGoogle cookies used to support more relevant ads and account-related ad security.
Maximum storage duration: 2 Years | Type: Marketing CookiesDoubleClick / Google Ads cookies used for campaign attribution, ad delivery, and remarketing.
Maximum storage duration: Varies by cookie | Type: Marketing CookiesMeta / Facebook cookies used for browser recognition, security, ad measurement, and personalization across Meta services and partner sites.
Maximum storage duration: Varies by cookie | Type: Marketing CookiesTikTok identifier used for session-level event attribution, conversion tracking, and advertising measurement.
Maximum storage duration: Varies by configuration | Type: Marketing CookiesTikTok pixel-specific session cookie used for conversion attribution and advertising performance reporting.
Maximum storage duration: Varies by configuration | Type: Marketing CookiesTikTok cookie used for campaign attribution, browser recognition, and advertising performance measurement.
Maximum storage duration: Varies by cookie | Type: Marketing CookiesTikTok cookie used for event attribution and campaign linkage across sessions.
Maximum storage duration: Varies by cookie | Type: Marketing CookiesTikTok browser identifier used for attribution, advertising measurement, and remarketing support.
Maximum storage duration: Varies by cookie | Type: Marketing CookiesGoogle cookies that may support ad personalization, localization, and service preference handling depending on the integration and browser state.
Maximum storage duration: Varies by cookie | Type: Marketing CookiesGoogle cookie used to support secure cookie handling across requests and service interactions.
Maximum storage duration: 6 Months | Type: Marketing CookiesThis website uses cookies and similar technologies to ensure its proper functioning and, with your consent, to support functionality, measure usage, improve performance, and provide advertising, attribution, or personalized content. The legal basis for the use of necessary cookies is the legitimate interest of the data controller (Art. 6(1)(f) GDPR), while functional, statistical, and marketing cookies are used only upon your explicit consent (Art. 6(1)(a) GDPR).
Cookies are small text files stored on your device to make the website work efficiently and improve your experience. Some cookies are placed directly by us, while others may be set by third-party services integrated into our pages.
Your cookie preferences are stored locally in a cookie named consent, valid for 12 months, and pseudonymously
on our systems using a technical identifier (UserUUID), which does not allow direct identification of the user.
A technical cookie named site_mode may also be used to preserve the current navigation context across pages.
You may change or withdraw your consent at any time via the cookie settings button visible at the bottom left of the site.
Some cookies are provided by third-party services such as Google, Microsoft, Meta, TikTok, and Yandex. These third parties may act as independent controllers for the data collected through their own technologies and services.
You can withdraw or modify your consent at any time, delete cookies through your browser settings, and exercise your rights under Articles 15–22 GDPR (access, rectification, deletion, limitation, opposition, portability) by contacting us via the details provided in the Privacy Policy.
This Cookie Policy is aligned with Regulation (EU) 2016/679 (GDPR) and the ePrivacy Directive.