NexusFi: Find Your Edge

Home Menu


ElCollection: Want to understand

Discussion in EasyLanguage Programming

      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 9,103 views
    2. thumb_up 5 thanks given
    3. group 3 followers
    1. forum 13 posts
    2. attach_file 0 attachments

Search this Thread

ElCollection: Want to understand

(login for full post details)
  #11 (permalink)
 ABCTG   is a Vendor
Posts: 2,426 since Apr 2013
Thanks Given: 474
Thanks Received: 1,618

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


Follow me on Twitter Reply With Quote
The following user says Thank You to ABCTG for this post:

Can you help answer these questions
from other members on NexusFi?
Request for MACD with option to use different MAs for fa …
Trader Dale [email protected] or Scammer Dale
Trading Reviews and Vendors
NT7 Indicator Script Troubleshooting - Camarilla Pivots
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Tao te Trade: way of the WLD
30 thanks
GFIs1 1 DAX trade per day journal
27 thanks
Supertradersams Thread Journal on NQ/MNQ
25 thanks
Deaddogs Stock Trading
23 thanks
Just another trading journal: PA, Wyckoff & Trends
12 thanks

(login for full post details)
  #12 (permalink)
AR Kansas
Posts: 13 since Dec 2013
Thanks Given: 0
Thanks Received: 7

This is a TradeStation programming forum. is where you will find the StreamReader and tsdata.common is what contains the TokenList. is best option for doing such things in that platform

Reply With Quote
(login for full post details)
  #13 (permalink)
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

A Special thanks to ABC. FuryTrader, JohnB

Happy Xmas
All the best for the New Year to come


Started this thread Reply With Quote
The following user says Thank You to arjfca for this post:
(login for full post details)
  #14 (permalink)
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
The following user says Thank You to StratOpt for this post:

Last Updated on December 22, 2013

© 2024 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 - Privacy Policy - Downloads - Top
no new posts