NexusFi: Find Your Edge


Home Menu

 





TS equivalent of MC's symbol_


Discussion in EasyLanguage Programming

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




 
Search this Thread

TS equivalent of MC's symbol_

  #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?
What broker to use for trading palladium futures
Commodities
How to apply profiles
Traders Hideout
Trade idea based off three indicators.
Traders Hideout
ZombieSqueeze
Platforms and Indicators
Cheap historycal L1 data for stocks
Stocks and ETFs
 
  #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


© 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