Studying Mql - Lesson No. 2 "Loops, Functions, and Orders in an Advisor"
Author: Sergey aka xbms

And hello again, forex traders!
We continue the cycle of lessons on MQL, and this time, having finished getting acquainted with the basics (we will look at loops and functions), we will write our first expert advisor with you. And although this is one of the simplest experts, it can still claim to become the basis for your future profitable trading systems.
Homework

Using the knowledge that you acquired after watching this video, I ask you to finish the expert advisor that we examined in the video material as follows:
- It is necessary to add an external variable Indent, which will serve as an offset (above/below) from the price extremes, and taking this parameter into account already place the limit orders.
- Above/below the extremes, at a distance of PipStop (add an external variable), place stop orders, taking into account the StopLoss and TakeProfit specified in the expert advisor parameters.
P.S. If you have just joined us, start by watching the previous lesson Introduction to MQL.
Best regards, Sergey aka xbms TradeLikeaPro.ru
#mql#expert advisors#video
We continue the cycle of lessons on MQL, and this time we will write our first advisor.