Codes

Moving Average EA for MetaTrader 4

Open and close when fast moving average line cross slow moving average line. Default parameters is for XAU H1

Forum

How to create a file

void OnTick () { string FileName = TerminalInfoString ( TERMINAL_DATA_PATH )+ "\\" + "abc.txt" ; if (MyHandle == 0 ) { Print (FileName); MyHandle= FileOpen (FileName, FILE_WRITE | FILE_TXT ); Print ( "MyHandle:" ,MyHandle); } if (MyHandle > 0 ) { FileWrite (MyHandle

How to improve the test speed in mt4?

How to improve the test speed in mt4