NexusFi: Find Your Edge


Home Menu

 





ElCollection: Want to understand


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one StratOpt with 6 posts (2 thanks)
    2. looks_two arjfca with 5 posts (2 thanks)
    3. looks_3 ABCTG with 2 posts (1 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 11,678 views
    2. thumb_up 5 thanks given
    3. group 3 followers
    1. forum 13 posts
    2. attach_file 0 attachments




 
Search this Thread
  #11 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,447 since Apr 2013
Thanks Given: 493
Thanks Received: 1,639

Martin,
this will only work in Tradestation as the code uses Object Oriented EasyLanguage. Something MC can't work with.

Regards,
ABCTG


Follow me on X Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
$12M Ceasefire Contract Goes Disputed as Bandar Abbas St …
Prediction Markets & Event Contracts
Tradeify 3.0 Overhauls Futures Prop Firm Model -- One-Ti …
Funded Trading Evaluation Firms
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
Irans Answer Due Today: Peace Surges to 33.5%, Invasion …
Prediction Markets & Event Contracts
Powell in 48 Hours: Word Markets Give 78% on Inflation, …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Hello Im new here
5 thanks
  #12 (permalink)
StratOpt
AR Kansas
 
Posts: 13 since Dec 2013
Thanks Given: 0
Thanks Received: 7

This is a TradeStation programming forum.

elsystem.io is where you will find the StreamReader and tsdata.common is what contains the TokenList.

MultiCharts.net is best option for doing such things in that platform


Reply With Quote
  #13 (permalink)
 arjfca 
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
Posts: 263 since Sep 2010
Thanks Given: 440
Thanks Received: 91


Just to say that I finally succeed to use ElCollection. I got a better understanding of it now.

1- The initial goal was to capture from a a chart the present trend line. Store the characteristics of them in a file

2- Redraw the trend lines on another workspace using the stored data.

While creating the tool, I created a switch button concept using mouse click event

A click on the upper corner will capture trend line
A click on the lower corner will redraw using a file of the same instrument


To prevent fatal error using Elcollection, some verification has been done

First thing first: Check if the file do exist using : Value1 = ELC.PathExists(FilePath);

Always make sure that there is at least one inscription in the file. To do so, at the creation if no trend line present, I write "EOF" in the file. If "EOF" is detected as the first string value then don't try to read further and exit.

Count the the number of line in the file using: Count = ListS.Count(TL_String_ID) ;
Make sure that we don't try to read a line above the count number

On each event: a voice message is heard
Trend line are captured
Trend line are draw
No file Exist
No Trend line to draw
etc.

A Special thanks to ABC. FuryTrader, JohnB

Happy Xmas
All the best for the New Year to come

Martin


Started this thread Reply With Quote
Thanked by:
  #14 (permalink)
StratOpt
AR Kansas
 
Posts: 13 since Dec 2013
Thanks Given: 0
Thanks Received: 7

Were you wanting to do this in TradeStation or in MultiCharts ? If in MultiCharts then why post the query within the TradeStation programming forum ? I am new here so might be confused as to how the structure of questioning and forum structure goes.

I am well familiar with ELCollections. I actually have the source code for it given to me by the creator of the DLL many years ago. As you may know the creator of the ELC is now on the programming team at TradeStation and the ELC is an integral part of the TradeStation platform.

Regardless, glad to hear you have a solution because in the end that is all that matters.


Reply With Quote
Thanked by:




Last Updated on December 22, 2013


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts