Add a trailing stop to your expert – and other things
This is the third part in an introduction to writing expert advisors for MT4 and MT5.
This is the third part in an introduction to writing expert advisors for MT4 and MT5.
Next in a series on writing a complete expert advisor for MT4 and MT5 this will address a common problem of detecting if the market is currently open or closed before trying to place a trade.
This is an introductory tutorial on writing an expert for MT4. The expert uses a simple moving average cross as a template example.
This is an introductory tutorial on writing an expert for MT5. The expert uses a simple moving average cross as a template example.
An explanation of how to use OnChartEvent with examples, including some events that normally do not fire and custom events.
If you want to set your expert to only trade within specified time ranges this code will help.
Part 2 in a series on writing indicators beginning with the basics. This part covers creating an indicator that alternates colours with the trend.
Part 2 in a series on writing indicators beginning with the basics. This part covers creating an indicator that alternates colours with the trend.
You often see in my videos that I write for loops to count down from the end to zero.
This is something I use all the time and I give a quick explanation in other videos but don’t cover the topic completely.