NexusFi: Find Your Edge


Home Menu

 





Index Reference


Discussion in TradeStation

Updated
    1. trending_up 1,156 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread

Index Reference

  #1 (permalink)
 taes7t 
Anchorage Alaska
 
Experience: Intermediate
Platform: Sierra Chart Thinkorswim
Trading: Emini ES
Posts: 8 since Oct 2017
Thanks Given: 7
Thanks Received: 2

I've read and looked all over and tried many coding attempts, but I've had no success.
How do I refer to and reference the close of $ADSPD (S&P 500 Advancing-Declining Issues) in TradeStation Easy Language?
In ToS, I make a definition of it like this: def ADIC = close(“$ADSPD”). Please help.
Thanks.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
REcommedations for programming help
Sierra Chart
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
What broker to use for trading palladium futures
Commodities
MC PL editor upgrade
MultiCharts
 
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629

Hi taes7t,

you could add the data as additional data stream to your chart and reference it within your code. Using Object Oriented EasyLanguage you could also load the data within your code directly using a PriceSeriesProvider, but this will be a lot more complex than the first approach.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
Thanked by:
  #3 (permalink)
 taes7t 
Anchorage Alaska
 
Experience: Intermediate
Platform: Sierra Chart Thinkorswim
Trading: Emini ES
Posts: 8 since Oct 2017
Thanks Given: 7
Thanks Received: 2



ABCTG View Post
Hi taes7t,

you could add the data as additional data stream to your chart and reference it within your code. Using Object Oriented EasyLanguage you could also load the data within your code directly using a PriceSeriesProvider, but this will be a lot more complex than the first approach.

Regards,

ABCTG

Excellent! I will use the first (easier) approach and look into the second approach. I probably know enough about the first approach to make it work. I was thinking in terms of thinkscrpt (ToS); thanks for the perspective!
Best regards,
Tim

Started this thread Reply With Quote




Last Updated on April 5, 2019


© 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