Lesson 17 - Your First Script
It was a long path for you to reach this lesson, Congratulations!
You learnt the basics of MQL4 language then you wrote your first indicator and your first expert advisor.
I hope you enjoyed the journey and interested to continue the road with me.
Today we will create our first script which will simply set the stoploss and takeprofit values for all the already opened orders on the chart.
It’s useful if you are lazy to set manually your stoploss and takeprofit values from the Modify or Delete Orders window for every order.
What are we waiting for? Let’s script!
|