Forum

FileOpen && FileWrite not generating output

Hi, Could someone please help me figure out why my code is not generating an excel spread sheet as intended. The rest of the code I will correct later, however i need to generate an excel doc first before proceeding further. #property copyright "Copyright 2023, MetaQuotes Ltd." #property link

Create Excel CSV - Price deviations from EMA Band

Hi, I was hoping someone could point me in the direction of where to read up on this or if it is even possible but essentially I want to create an ema of lets say 21 period. Then run a test using strategy tester and figure out the average pip deviation from the band over a 2/3 year period. I