Archives

MQL4

This tag is associated with 7 posts

Do mql4 AND and OR operators have short circuit evaluation?

Some background on short circuit evaluation (skip this if you already know what it is): Examine this if statement with a logical OR operator: If there is short circuit evaluation(“SCE”), as long as the leftmost condition fulfills, the entire if OR statement fulfills and passes control to the next line. If there is no SCE, … Continue reading

Maximum Relative Drawdown in MT4

This post is split into 3 parts. Part 1 explains how MT4 records Relative Drawdown, which is not well understood. Part 2 will show my code to calculate Relative Drawdown against Balance just prior to a trade, which I inherently find much more useful. Part 3 shows the mql4 code for calculating and displaying this … Continue reading

Archives

Visitors

Flag Counter