Trading Software
    Menu Close
    Back to all

    cTrader Microsoft C# Tutorial

    New to Microsoft C# and don't know where to start? This little introduction will help you find the information you need to create your own cTrader trading robots & indicators. Once you have a basic understanding of C#, all you need to do is get your head around the cTrader API which we will cover in another article.


    cTrader Learn C# Programming


    To start, you will need to learn C# if you wish to create your own trading robots (cBots) or indicators that will work with the cTrader trading platform, this is the programming language that Spotware chose and it is an industry-standard amongst progressional programmers with a huge amount of free training resources.


    Free tutorials, videos, courses, and more for beginner through advanced .NET developers.

    Microsoft offers a wealth of information to help traders understand how to use the programming language with hands-on examples, we suggest that you get to grips with this before you start to use the cTrader API.


    What is the cTrader API?

    Microsoft C# is the programming language that you will need to learn in order to interface with the cTrader trading platform through their Application Programmers Interface (API), so your first step is to have a basic understanding of C#, once you have this you can then start to learn the API which is very simple compared to learning C#.

    The API is provided by Spotware who created the trading platform to allow algorithmic traders to build their own trading robots, indicators and bespoke software. The full methods and properties you can use are shown below.

    If you want a more in-depth understanding of what exactly is an API just click here.


    Learning Microsoft C# - Getting Started

    Microsoft would like everybody to use their software and programming tools, so they provide excellent training tutorials to get more C# programmers on board. The following free tutorial is excellent and will help you get started.


    New to Programming - Beginners

    If you are new to programming and would like to learn the basics of C# this tutorial will give you a simple step-by-step guide. These tutorials let you explore the C# language interactively in your browser.


    Existing Programmers - New to C#

    If you've done development before, but are new to C# then this tutorial is for you, read the tour of the C# language. It covers the basic syntax and structure for the language, and you can use the language tour to contrast C# with other languages you've used. 


     cTrader Machine Learning


    Machine Learning with Microsoft .NET

    Microsoft provides a whole library dedicated to machine learning with tutorials and examples to get you started, you can use this with your automated trading systems to create artificial intelligence decisions on your trading.


    What is Machine Learning?

    Machine learning is an application of artificial intelligence (AI) that provides systems with the ability to automatically learn and improve from experience without being explicitly programmed. Machine learning focuses on the development of computer programs that can access data and use it to learn for themselves.


    How To Create Your First Trading Robot

    We have an algorithmic trading school for beginners to help traders get started using C# and cTraders API, it may be a little outdated, but we hope that it helps you.