Amibroker signal to text file

yasu222

Active Member
#1
I need amibroker code which writes amibroker signals to text file either in exploration mode or as per the signals generated in Chart.
The text out put file should have all the variables in NEST TRADER order window. Please help.
 

against_tides

Well-Known Member
#2
// open file for writing
// file name depends on currently processed ticker
fh = fopen( "c:\\DataExport\\" + Name() + ".txt", "w" );

// proceed if file handle is correct
if ( fh )
{
dt = DateTime();

// write header line
fputs( "Ticker,Date/Time,Open,High,Low,Close,Volume\n", fh );
 

yasu222

Active Member
#6
that code you can write as per our requirement...
I have given the function to write file...
I need amibroker code which writes amibroker signals to text file either in exploration mode or as per the signals generated in Chart.
The text out put file should have all the variables in NEST TRADER order window. Please help.