S samjesse Active Trader Aug 30, 2011 118 0 27 Oct 24, 2011 #1 Hi I am not sure if I am doing this right. MQL5: int filehandle=FileOpen("alosh.csv",FILE_WRITE|FILE_CSV); // and inside the loop if(TimeToString(_Period) == "M1") FileWrite(filehandle,Y); Last edited by a moderator: Sep 28, 2015
Hi I am not sure if I am doing this right. MQL5: int filehandle=FileOpen("alosh.csv",FILE_WRITE|FILE_CSV); // and inside the loop if(TimeToString(_Period) == "M1") FileWrite(filehandle,Y);
Enivid Administrator Staff member Nov 30, 2008 18,530 1,355 144 Odesa www.earnforex.com Oct 24, 2011 #2 Yes, it looks correct to me.
S samjesse Active Trader Aug 30, 2011 118 0 27 Oct 24, 2011 #3 where is it file located? I searched for no avail.
Enivid Administrator Staff member Nov 30, 2008 18,530 1,355 144 Odesa www.earnforex.com Oct 24, 2011 #4 For demo/real trading: /MQL5/Files/ For backtesting: /tester/<agent name>/MQL5/Files/
S samjesse Active Trader Aug 30, 2011 118 0 27 Oct 24, 2011 #5 I don't have Files under MQL5 in my Window 7 installation. I further searched MQL5 for the file for no avail. FileIsExist() reports true. hummm
I don't have Files under MQL5 in my Window 7 installation. I further searched MQL5 for the file for no avail. FileIsExist() reports true. hummm
Enivid Administrator Staff member Nov 30, 2008 18,530 1,355 144 Odesa www.earnforex.com Oct 25, 2011 #6 Do you run backtest or a forward demo test?
S samjesse Active Trader Aug 30, 2011 118 0 27 Oct 25, 2011 #7 none. just launching an indicator with an member function of one object using the File writing stuff.
none. just launching an indicator with an member function of one object using the File writing stuff.
Enivid Administrator Staff member Nov 30, 2008 18,530 1,355 144 Odesa www.earnforex.com Oct 25, 2011 #8 How are you launching it?
S samjesse Active Trader Aug 30, 2011 118 0 27 Oct 25, 2011 #9 in debugging mode, hitting the run button on the tool bar. or attaching the indicator to a chart.
Enivid Administrator Staff member Nov 30, 2008 18,530 1,355 144 Odesa www.earnforex.com Oct 25, 2011 #10 Hmmm... I don't know where the file is saved in the Debug mode. Try searching for "alosh.csv" file via Windows.
Hmmm... I don't know where the file is saved in the Debug mode. Try searching for "alosh.csv" file via Windows.