EL Collections - EasyLanguage Programming | futures io social day trading
futures io futures trading


EL Collections
Updated: Views / Replies:975 / 1
Created: by Chuck6475 Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

EL Collections

  #1 (permalink)
Elite Member
Long Beach
 
Futures Experience: None
Platform: tradestation
Favorite Futures: ES
 
Posts: 11 since Dec 2015
Thanks: 3 given, 0 received

EL Collections

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.

 
Code
using elsystem.collections ;
using elsystem ;
Inputs:

		string SetName ("Testit");
Vars:
	Inputfile("C:\Temp\xx23csv.csv"),
	Outputfile ("C:\Temp\xx25csv.csv"),
	MyMapID (MapSC.New),
	RowMapID (MapSN.New),
	CHID(ListS.New),
	ColList (0), RowNum(0), count (0), IsThere (false), number(0), index(0),rowindex(0),
	elsystem.collections.GlobalDictionary myGridDict(null),
	elsystem.collections.Vector GridName (null),
	SymbolSet(MapSN.share(SetName)), // create map or share it if it exists
	DistMap(MapNN.share("Distribution")), 
	tempList(0),Sym("");
	

	

method void AnalysisTechnique_Initialized( elsystem.Object sender, elsystem.InitializedEventArgs args ) 
begin
	Value1 = MapSc.ReadFile(MyMapID, InputFile);
	IsThere= MapSC.exists(MyMapID,"Symbol");
	Value1 = MapSC.BuildRowMap(MyMapID, RowMapID, "Symbol");
	
	Value1 = ListS.ReadHeadings(CHID, Inputfile);

	isthere=false;
	IsThere= MapSC.exists(MyMapID,"Dip");
	ColList = MapSC.get(MyMapID,"Dip");   // get the Dip column
	isthere=false;
	IsThere= MapSn.exists(RowMapID,"QQQ");
	RowNum = MapSN.get (RowMapID, "QQQ");
	Print ( ListN.get (ColList, RowNum));
	 
			count = ListS.count (CHID);
	
	Value1 = ListS.rewind(CHID);
		
	end;

	

	
method void AnalysisTechnique_UnInitialized( elsystem.Object sender, elsystem.UnInitializedEventArgs args ) 
begin

end;



method void AnalysisTechnique_WorkspaceSaving( elsystem.Object sender, elsystem.WorkspaceSavingEventArgs args ) 
begin


	end;
	
Begin
	// 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;
	end;
	end;

Reply With Quote
 
  #2 (permalink)
Quick Summary
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.


Reply



futures io > > > > > EL Collections

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Prohibiting Trading in EL time88 EasyLanguage Programming 2 October 24th, 2015 11:23 AM
Multiple MACD in EL Saraf64 TradeStation 4 March 19th, 2014 07:13 PM
EL translation solotrader Sierra Chart 0 September 22nd, 2013 01:29 PM
Help converting old EL to MC olobay MultiCharts 4 July 7th, 2012 10:33 PM
EL Book Recommendation/s? TonyB EasyLanguage Programming 4 March 24th, 2012 05:19 AM


All times are GMT -4. The time now is 06:36 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-12 in 0.06 seconds with 19 queries on phoenix via your IP 54.145.51.250