how i clear it....

sr114

Well-Known Member
#4
Dear Trash

I can t remove this line in quote editor.
that s y i put image of quote editor.

is any other way...
Do the following:
before doing all the operation take a backup of ur database

1. export the quotes as quotes.csv
2. open the csv in ms excel to delete the relevant invalid date time quote and save as quote.csv
3.also the symbol from amibroker
4. import the quote into ami

this will clear ur invalid date time quote from ur symbol

rgds
subroto
 
Last edited:

sr114

Well-Known Member
#6
can u share how to export it to csv here.

it is intraday data.
use this for exporting intraday data

/*
Export intraday data to CSV files
One file for each stock
In the first line insert the directory you want to save them to, make sure the directory exists
Select your charts to export with the "Apply to" filter in AA window
Select the timeframe period you want to save as using the AA "Settings"
Press Scan button
by Graham Kavanagh 05 Feb 2004
*/

fh = fopen( "c:\\SaveData\\"+Name()+".csv", "w");
if( fh )
{
//fputs( "Ticker,Date,Time,Open,High,Low,Close,Volume,OI \n", fh );
y = Year();
m = Month();
d = Day();
r = Hour();
e = Minute();
n = Second();

for( i = 0; i < BarCount; i++ )
{
fputs( Name() + "," , fh );
ds = StrFormat("%02.0f-%02.0f-%02.0f,",
d[ i ], m[ i ], y[ i ] ); // in dmy, to get ymd set it as y,m, d;
fputs( ds, fh );

ts = StrFormat("%02.0f:%02.0f:%02.0f,",
r[ i ],e[ i ],n[ i ] );
fputs( ts, fh );

qs = StrFormat("%.4f,%.4f,%.4f,%.4f,%.0f,%.0f\n",
O[ i ],H[ i ],L[ i ],C[ i ],V[ i ], OI[ i ] );
fputs( qs, fh );
}

fclose( fh );
}

Buy = 0;


normal settings is dmy , if u want ymd then change the required fileds in the comment part

rgds
subroto
 
Last edited:
#9
i export data and to import it again i delete symbol and import new symbol

but it have only some days data

so i lost my old data:mad:

i have copy of ami database but can t know how import from it:(
 
#10
thanks for ur support but i got my data:thumb:

but still i have many quaries to solved regarding ami


pls share ur email here or pm me

thanks again