Studying MQL: Lesson No. 3 - Writing an Expert Advisor Based on an External Indicator

I greet you, gentlemen traders!

We continue our MQL4 lessons. And this time we will write an expert advisor that will use signals from a third-party indicator on which the "Victory" trading system is built, and we will try to automate manual work a little.

Homework

Homework lesson 3 mql

Using the knowledge that you acquired after this lesson, I ask you to remake the expert advisor in such a way that:

  • the closing of market orders takes place not at the opposite border of the channel, but at the middle line.
  • Add the signals of the "Stochastic" indicator to the expert advisor and combine them with the signals of the "TMA" indicator.
  • above/below the channel borders, place protective stop orders at some distance from the market orders in order to compensate for losses in the event of possible losses from the market orders (with mandatory placement of SL, TP).

P.S. If you have just joined us, start by watching the previous lessons:

  • Introduction to MQL
  • Loops, functions and orders in an expert advisor.

Forum thread

Best regards, Sergey aka xbms TradeLikeaPro.ru

We continue our MQL4 lessons, and this time we will write an expert advisor that uses signals from a third-party indicator on which the Victory trading system is built.