Is it that difficult to make your own function to do the same?
Unfortunately, newbies think that they can learn MQL programming in just a minutes, hours or days. You don't get this kind "freebie" attitude to learning in other computer languages, but the "greed" of "making it big" and "getting rich quickly", somehow mushes everyone's brains into thinking that they don't need to study hard, do plenty of research and practice continuously.
I have said time and time again - trading (including coding EAs), is just like any other job or career, like an architect, engineer, doctor, accountant, or whatever - you need many years of education and experience.
Newbies must just get that into their heads - neither trading nor coding is easy - it takes brains, skill and talent, and requires dedication, patience and commitment!