Started: March 6th, 2016 (01:16 PM) by Chuck6475 Views / Replies: 342 /
Last Reply: March 6th, 2016 (01:16 PM) Attachments:
Welcome to futures.io.
This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.
We are fundamentally different than most other trading forums:
We work extremely hard to keep things positive on our forums.
We do not tolerate rude behavior, trolling, or vendor advertising in posts.
We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
We expect our members to participate and become a part of the community. Help yourself by helping others.
You'll need to
in order to view the content of the threads and start contributing to our community.
It's free and simple, and we will never resell your private information.
-- Big Mike
March 6th, 2016, 01:16 PM
1 ( )
Futures Experience: None
Favorite Futures: ES
Posts: 9 since Dec 2015
Thanks: 1 given,
Well I'm trying to understand EL Collections. I've managed to read in a .csv file and index a specific cell in the matrix (using the examples provided in the documentation).
I understand that Tradestation stores the columns of data in "alpha" order by their header. So I built a "readheadings" ListS collection so I could duplicate the actually input order.
I can find the "row" in the matrix I want the value for but I seem to be currently stumped on how to get the values for each column in that row. The row will have both strings and numbers in it, I actually only want the numbers.
Any help would be greatly appreciated.
using elsystem.collections ;
using elsystem ;
string SetName ("Testit");
ColList (0), RowNum(0), count (0), IsThere (false), number(0), index(0),rowindex(0),
elsystem.collections.Vector GridName (null),
SymbolSet(MapSN.share(SetName)), // create map or share it if it exists
method void AnalysisTechnique_Initialized( elsystem.Object sender, elsystem.InitializedEventArgs args )
Value1 = MapSc.ReadFile(MyMapID, InputFile);
Value1 = MapSC.BuildRowMap(MyMapID, RowMapID, "Symbol");
Value1 = ListS.ReadHeadings(CHID, Inputfile);
ColList = MapSC.get(MyMapID,"Dip"); // get the Dip column
RowNum = MapSN.get (RowMapID, "QQQ");
Print ( ListN.get (ColList, RowNum));
count = ListS.count (CHID);
Value1 = ListS.rewind(CHID);
method void AnalysisTechnique_UnInitialized( elsystem.Object sender, elsystem.UnInitializedEventArgs args )
method void AnalysisTechnique_WorkspaceSaving( elsystem.Object sender, elsystem.WorkspaceSavingEventArgs args )
// Read the file and the column headings
// Process data
If templist <1 then begin
// Write the map to a file using the same column order
Value1 = MapSC.setcolumnorder(MyMapID, CHID);
Value1 = MapSC.writeFile(MyMapID, Outputfile);
tempList = templist +1;
March 6th, 2016, 01:16 PM
2 ( )
Quick Summary Post
Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.
All times are GMT -4. The time now is