NexusFi: Find Your Edge


Home Menu

 





EL access to Data Window entries


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one gdsrev with 3 posts (0 thanks)
    2. looks_two SMCJB with 2 posts (0 thanks)
    3. looks_3 GOE44 with 1 posts (0 thanks)
    4. looks_4 ABCTG with 1 posts (0 thanks)
    1. trending_up 2,585 views
    2. thumb_up 0 thanks given
    3. group 6 followers
    1. forum 9 posts
    2. attach_file 0 attachments




 
Search this Thread

EL access to Data Window entries

  #1 (permalink)
GOE44
Oslo Norway
 
Posts: 1 since Jan 2013
Thanks Given: 0
Thanks Received: 0

Hi,
I think it would have been convenient to access variables in Tradestation Data Window from EL.
Tradestation have access to them (as displayed in Data Window) and some of these variables are available from Tradestation like High, Low, Open Close and so on.
But other plotted variables from Indicators and ShowMe's.. are apparently (to me!) not so easily available. Can anyone please tell me how this can be achieved, or is it just not possible?
I really will appreciate your response.
In advance, Thanks.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Deepmoney LLM
Elite Quantitative GenAI/LLM
NexusFi Journal Challenge - April 2024
Feedback and Announcements
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Futures True Range Report
The Elite Circle
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
36 thanks
NexusFi site changelog and issues/problem reporting
25 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
18 thanks
  #3 (permalink)
theYATZY
Eskilstuna + Sweden
 
Posts: 2 since Jan 2013
Thanks Given: 0
Thanks Received: 0


From what ive managed to collect this is not possible. I myself started a thread entitled Accesing other indicator values.
But after asking around i simply got the reply that you copy and paste codes inbetween to give functionality to different indicators. What you can do is to extract the info to an CSV file and use that file as input into your new indicator.

Reply With Quote
  #4 (permalink)
 selnomeria 
Tbilisi + Georgia
 
Experience: None
Platform: ThinkScript,Tradestation
Trading: EUR/USD
Posts: 36 since Aug 2014
Thanks Given: 9
Thanks Received: 20

i wanted to do the same.
answer from TS was same- we cant access DATA WINDOW object.

I managed to write the data window to file on every new bar... then in another indi, i read the files.

Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
gdsrev
Phoenix, AZ
 
Posts: 3 since May 2018
Thanks Given: 0
Thanks Received: 0

How were you able to write the contents of the data window to a file at the creation of a new bar? Any help would be greatly appreciated!!

Reply With Quote
  #6 (permalink)
 
SMCJB's Avatar
 SMCJB 
Houston TX
Legendary Market Wizard
 
Experience: Advanced
Platform: TT and Stellar
Broker: Advantage Futures
Trading: Primarily Energy but also a little Equities, Fixed Income, Metals and Crypto.
Frequency: Many times daily
Duration: Never
Posts: 5,041 since Dec 2013
Thanks Given: 4,375
Thanks Received: 10,192

FileAppend

https://uploads.tradestation.com/uploads/EasyLanguage-Functions-and-Reserved-Words-Reference.pdf
PDF Page 649 / Document Page 621.

Reply With Quote
  #7 (permalink)
gdsrev
Phoenix, AZ
 
Posts: 3 since May 2018
Thanks Given: 0
Thanks Received: 0

Thanks. I found that but I am trying to figure out how to get the data from the data window to the file, specifically the data that is coming from other indicators.

Reply With Quote
  #8 (permalink)
 
SMCJB's Avatar
 SMCJB 
Houston TX
Legendary Market Wizard
 
Experience: Advanced
Platform: TT and Stellar
Broker: Advantage Futures
Trading: Primarily Energy but also a little Equities, Fixed Income, Metals and Crypto.
Frequency: Many times daily
Duration: Never
Posts: 5,041 since Dec 2013
Thanks Given: 4,375
Thanks Received: 10,192

Need to put the indicators into the Strategy first, but then

Fileappend(txtfile, NumToStr(Date,0) + "," + NumToStr(rsi(close, 10) ,2) + "," + NumToStr(Your Indicator, 0)+ Newline);

Reply With Quote
  #9 (permalink)
gdsrev
Phoenix, AZ
 
Posts: 3 since May 2018
Thanks Given: 0
Thanks Received: 0

Thanks for all of the timely responses! To clarify, the data I need from the data window comes from third party indicators so I am assuming I don't have access to that data as a variable in EL. If there is a way to access custom indicator data from the data window in EL that is really what I need. I would prefer to reference it in code, but was drawing conclusions form this thread that that is not possible so a possible solution is to write the data window data to disk and then read the file and reference it that way. Any help to this end would be much appreciated. Thanks in advance!

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


gdsrev,

as far as I am aware you can't access the data window with code. Your best bet might be to have the vendor customize a version of the indicator for your that outputs the values you need.
Alternatively you can use TS's build in data export option and manually export the bar and indicator data.

Regards,

ABCTG

Follow me on Twitter Reply With Quote




Last Updated on May 14, 2018


© 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