NexusFi: Find Your Edge


Home Menu

 





TS equivalent of MC's symbol_


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #1 (permalink)
 fork4k 
London
 
Experience: Intermediate
Platform: Ninjatrader
Posts: 5 since Nov 2010
Thanks Given: 2
Thanks Received: 6

I'm playing with EL on a MC trial at the moment and don't have my hands on TS in order to find out for myself.

In MC, you can use symbol_close, symbol_high etc to access all bar data (useful when an indicator is being calculated on historical prices). Does TradeStation have the equivalent keywords / functions to access all price data currently available or are you always restricted to the current bar data and already processed bar data?

Thanks!


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
The June 15 Resolution Trap: Irans Agreed Text Still Pri …
Prediction Markets & Event Contracts
MyForexFunds Begins Returning Frozen Funds After CFTC Ca …
Funded Trading Evaluation Firms
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
197 thanks
Sober Journey With S&P
27 thanks
30 Sessions
20 thanks
BERN ALGOS algo trading journal
8 thanks
Volume Indicators
8 thanks
  #3 (permalink)
The9000
Chicago, IL
 
Posts: 6 since Oct 2015
Thanks Given: 0
Thanks Received: 3



fork4k View Post
I'm playing with EL on a MC trial at the moment and don't have my hands on TS in order to find out for myself.

In MC, you can use symbol_close, symbol_high etc to access all bar data (useful when an indicator is being calculated on historical prices). Does TradeStation have the equivalent keywords / functions to access all price data currently available or are you always restricted to the current bar data and already processed bar data?

Thanks!

Can you give a quick example of what you're trying to do?


Reply With Quote
  #4 (permalink)
 fork4k 
London
 
Experience: Intermediate
Platform: Ninjatrader
Posts: 5 since Nov 2010
Thanks Given: 2
Thanks Received: 6

I am currently modifying my code ... I got my hands on TS since my first post and so far it seems like there isn't an equivalent.

Anyways, what I was doing was drawing S/R lines ... except, I only draw what was resistance below and what was support above (below and above relative to the most current close on the chart). My original code did this as each bar was processed since I knew what the most current (a.k.a future most) bars close is at all times ... now, I (am going to) simply draw in all S/R lines and once I am on the last bar, I will go back and erase all S/R lines that don't fit the criterion specified earlier.


Started this thread Reply With Quote
  #5 (permalink)
The9000
Chicago, IL
 
Posts: 6 since Oct 2015
Thanks Given: 0
Thanks Received: 3


fork4k View Post
I am currently modifying my code ... I got my hands on TS since my first post and so far it seems like there isn't an equivalent.

Anyways, what I was doing was drawing S/R lines ... except, I only draw what was resistance below and what was support above (below and above relative to the most current close on the chart). My original code did this as each bar was processed since I knew what the most current (a.k.a future most) bars close is at all times ... now, I (am going to) simply draw in all S/R lines and once I am on the last bar, I will go back and erase all S/R lines that don't fit the criterion specified earlier.

So you code generates a number for support and a number for resistance and you want to it before the current bar closes?


Reply With Quote




Last Updated on February 26, 2016


© 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