Forum

Find average value over number of bars?

I'm trying to write a custom indicator that relies on finding the average value over a past number of bars , but I'm having trouble figuring out how to write the function, although it should be simple, but I don't see an "average" function prebuilt into mql4 and I don't think I would need to save

Running MT4 Expert Advisors - general operating questions

I'm coming from trading on MultiCharts and new to using MT4, so please bear with me... I have a few questions about running live EA's that I'm hoping someone might be able to help with. I tried searching the forums and Google for answers but am having a hard time finding specific answers, so if you