Automated Trading Using Lua | Lesson 2.1 – Coding a Basic Strategy

Learn how to automate your trading strategy on FXCM’s Trading Station desktop platform using Lua coding language.

In this video you will learn how to…

◾ Translate strategy logic from English to Lua
◾ Use Simulation Mode to test strategy code
◾ Add custom functions to open, close, and manage trades

*️⃣ Source code for the strategy example coded in the video can be found at

**Additional Resources**

GitHub: Visit the GitHub repository for API documentation and resources for creating and backtesting your algorithmic trading strategy

API Trading: FXCM offers APIs ideal to automate your trading strategy. Learn more about our REST API, FIX, JAVA, and ForexConnect offering

FXCM Python Wrapper: is a convenient pythonic way to interact and expose all the capabilities of our REST API with different Python classes

Market Data: Access historical bid/ask prices, volume, trader sentiment, and other ready-to-go trading tools

Disclaimer: 76.88% of retail client accounts lose money when trading FX/CFDs with FXCM LTD. Consider if you can afford the high risk of losing money.


3 thoughts on “Automated Trading Using Lua | Lesson 2.1 – Coding a Basic Strategy”

Leave a Reply

Your email address will not be published. Required fields are marked *