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 9,252 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

  #11 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,431 since Apr 2013
Thanks Given: 481
Thanks Received: 1,623

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 Twitter Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
Deepmoney LLM
Elite Quantitative GenAI/LLM
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Futures True Range Report
The Elite Circle
 
  #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


© 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