How to write a script for Metatrader 5
Dear colleagues, friends Forex traders, hello! We continue our MQL5 lessons.
Today we will practice writing scripts and write one universal script to open a position, delete a grid of limit and stop orders, change Stop Loss and Take Profit for orders in the market. The presence of such scripts in the trader’s arsenal greatly simplifies the work on the forex market and simply must be available. So, let's get started ...
- Write for the script the function of opening a sell position.
- Add to the script the function of closing all work orders in the market.