Forex books

Here is a selection of books that will help you learn trading basics and feel confident on the market. Notice that all the books on the list are in English.
If you are short of time and need a quick yet sufficient summary about trading essentials, you can always read articles in our Forex guide book.

Expert Advisor Programming for MetaTrader 5: Creating automated trading systems in the MQL5 language

Expert Advisor Programming for MetaTrader 5: Creating automated trading systems in the MQL5 language

Andrew R. Young

Newly updated for hedging accounts, the first guide to programming in MQL5 is here! Expert Advisor Programming for MetaTrader 5 is a practical guide to creating automated trading strategies in the MQL5 language. Take advantage of MetaTrader 5's new features and take your trading to the next level! You'll learn how to program expert advisors quickly and easily using a ready-made framework created by an experienced MQL programmer. This book will teach you the following concepts:

  • Learn the basics of MQL5, including variables and data types, operators, functions, event handlers, and object-oriented programming.
  • Place, modify and close market and pending orders.
  • Calculate, verify and add stop loss and take profit prices to an open position.
  • Add a flexible trailing stop and/or break even stop to your strategy.
  • Manage your trade risk with money management.
  • Use pending orders to scale in and out of positions.
  • Use price, time and indicator data in your expert advisors.
  • Control program execution by trading on new bar open, and add flexible trade timers to your strategies.
  • Walk through the creation of several basic trading strategies from start to finish.
  • Inform the user with dialog boxes, email alerts, mobile notifications and sounds.
  • Draw trend lines, arrows and text labels on the chart.
  • Read and write data to CSV files.
  • Learn the basics of creating indicators, scripts and libraries in MetaEditor.
  • Debug, test and optimize your trading strategy.
  • And much more!

Whether you're an experienced programmer moving from MQL4, or a novice just starting with MQL5, this book will give you the foundation to quickly program fully-featured and robust trading systems. All programs and source code files featured in the book are available for download at the book’s official website at http://www.expertadvisorbook.com.

Find us on social media

Learn more

Data collection notice

FBS maintains a record of your data to run this website. By pressing the “Accept” button, you agree to our Privacy policy.

ফেসবুকে আমাদের ফলো করুন

কলব্যাক

ম্যানেজার শীঘ্রই ফোন দেবে।

নম্বর পরিবর্তন করুন

আবেদন গ্রহন হয়েছে

ম্যানেজার শীঘ্রই ফোন দেবে।

Next callback request for this phone number
will be available in 00:30:00

If you have an urgent issue please contact us via
Live chat

অভ্যান্তরীন ত্রুটি দেখা দিয়েছে। অনুগ্রহ করে কিছুক্ষণ পরে আবার চেষ্টা করুন

Don’t waste your time – keep track of how NFP affects the US dollar and profit!

আপনি পুরনো ভার্সনের ব্রাউজার ব্যাবহার করছেন।

লেটেস্ট ভার্সনে আপডেট করুন অথবা অন্য একটি ব্যাবহার করুন সুরক্ষিত, আরো সুবিধাজন এবং ফলদায়ক ট্রেডের অভিজ্ঞতার জন্য।

Safari Chrome Firefox Opera