if you have mq4 files from indicators it is very easy same as that example, but if you have ex4 files that are different for setting buffer for reading data from indicator