How to convert 1 min data to higher time frame ?

#1
Hi Dear Traders.

Can anyone suggest a software which can import 1 min data (ascii format)
then convert it to a higher time frame (5, 10, 15, 60 min) and export the
result to another file in ascii format ?

I really looked left and right and couldn't find anything at all. Will be extremely
gratefull for a helpful suggestion.

TIA!
jb
 

Flock

Well-Known Member
#2
Try Fcharts SE
I think it has the facility to export the data but not sure.
 

niftyrider

Well-Known Member
#4
Hi,

you can use below utility to convert time frame.

download from here -

http://www.mediafire.com/file/2riywzeigz5/MSConv.zip

Pravin
try this afl


fmkdir( "E:\\OHLC" );
fh = fopen( "E:\\OHLC\\"+Name()+".txt", "w");
if( fh )
{
fputs( "Ticker,Date,Time,Open,High,Low,Close,Volume \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,",
y[ i ], m[ i ], d[ i ] );
fputs( ds, fh );

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

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

fclose( fh );
}

Buy = 0;
 

Similar threads