One could overlook anything about MQL's language and also have an excellent strategy - while another a person may very well be a code guru which has a MACDSample-like strategy. But you can use a macd or even a transferring ordinary as a starting point, and perfectionnate it ; https://r.valery.digital/content-3-2