Is possible to export in a single file (named symbol.kkk) automatically, "ONLY" a list of symbols (stored in a watchlist) using an Exploration (Automatic Analysis)?
Oh yes I can already to do this: WL >>> Export in a file. But if there is a way to do this (after an exploration) automatically, is better for me.
Important: the list of symbol must be all one "below" other and not one "after" other.
1. Is OK:
A
B
C
D
2 Not OK : A B C B
I've found this (formula below)but is not OK because symbol follow other symbol:
A,B,C,D etc...
--------------------------------------------------
WatchListNo = Param("WatchListNo", 0, 0, 63, 1);
fh = fopen( "C:\\Temp\\myfile.kkk", "w");
list = CategoryGetSymbols( categoryWatchlist, 1 );
for( i = 0; ( symbol = StrExtract( list, i ) ) != ""; i++ )
{
fputs( symbol + ",", fh );
}
fclose( fh );
------------------------------------------------------
I don't know if is clear my question but for better explanation I wait your reply.
Could anyone help me with a sample formula?
Thank in advance for help...
Oh yes I can already to do this: WL >>> Export in a file. But if there is a way to do this (after an exploration) automatically, is better for me.
Important: the list of symbol must be all one "below" other and not one "after" other.
1. Is OK:
A
B
C
D
2 Not OK : A B C B
I've found this (formula below)but is not OK because symbol follow other symbol:
A,B,C,D etc...
--------------------------------------------------
WatchListNo = Param("WatchListNo", 0, 0, 63, 1);
fh = fopen( "C:\\Temp\\myfile.kkk", "w");
list = CategoryGetSymbols( categoryWatchlist, 1 );
for( i = 0; ( symbol = StrExtract( list, i ) ) != ""; i++ )
{
fputs( symbol + ",", fh );
}
fclose( fh );
------------------------------------------------------
I don't know if is clear my question but for better explanation I wait your reply.
Could anyone help me with a sample formula?
Thank in advance for help...
Last edited: