MQL4 Reference https://docs.mql4.com/Tutorial Book https://book.mql4.com/Custom indicators https://docs.mql4.com/customindCreation of custom indicators https://book.mql4.com/samples/icustom