Hangover, I couldn't find

FileWrite(handle,"Date,Time,Open,High,Low,Close,Volume,MACD");

FileWrite(handle, date1, time1, iOpen(ccy,tf,i), iHigh(ccy,tf,i), iLow(ccy,tf,i), iClose(ccy,tf,i), iVolume(ccy,tf,i), iMACD(ccy,tf,12,26,9,PRICE_CLOSE,MODE_MAIN,i));

Then, I recompiled it, and dragged to gdpusd daily graph. And then, I exported the history from the history center, but I didn't see MACD values on my excel sheet. Therefore, where did I make mistake?

**folder, but I found***.....experts\scripts***folder. Therefore, I copied your code into that file. Then, I tried to adjust the heading section and FileWrite section of your code as it is below.***.....MQL4\scripts*FileWrite(handle,"Date,Time,Open,High,Low,Close,Volume,MACD");

FileWrite(handle, date1, time1, iOpen(ccy,tf,i), iHigh(ccy,tf,i), iLow(ccy,tf,i), iClose(ccy,tf,i), iVolume(ccy,tf,i), iMACD(ccy,tf,12,26,9,PRICE_CLOSE,MODE_MAIN,i));

Then, I recompiled it, and dragged to gdpusd daily graph. And then, I exported the history from the history center, but I didn't see MACD values on my excel sheet. Therefore, where did I make mistake?