NexusFi: Find Your Edge


Home Menu

 





multiple questions about tradestation.


Discussion in TradeStation

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




 
Search this Thread
  #1 (permalink)
maggtrading
quintana roo, méxico
 
Posts: 84 since Mar 2013
Thanks Given: 222
Thanks Received: 40

people, regards, i have a number of questions about tradestation and easylanguage. ts users must surely know that ts's client support is horrendous, i have already posted questions to their users fora on several occasions but in most cases their "support staff" couldn't care less and never even bother to reply. i'm hoping other users here could help me out.



i have a number of different questions, so i will post them as a list:



- ¿is there any way to create anything like a shortcut to change the last date on a chart? i always optimize strategies leaving around two years of data out of sample, so once the optimization process is finished it takes me several clicks to change the last date on a chart from, let's say, 31-12-2016 to today's date and once i'm done evaluating the results back to 2016 again. if it was possible to create a combination of keys or any other shortcut in ts to change between fixed dates and today's date that would be really cool.


- ¿is it possible to create a workaround the maxbarsback limitation? i understand how maxbarsback works, but i would prefer it if it were possible to have strategies and indicators use as much data as is available (currentbars or something similar, once there are more than 2 bars on the chart) and then once currentbars is greater than the period length i have chosen use that period length.


- ¿are there any resources and sample code for strategies that use 2 data streams? i have some ideas for strategies that would trade on minute bars (data 1, i understand) and would also incorporate signals from the same symbol on daily bars (data 2). i have already performed some searches on the ts fora and the ts help section but couldn't find helpful material.



very well, i will appreciate any information anyone could have, thanks, regards.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
What a Cool Draw/Markup Tool!
Traders Hideout
Equity Monaco download file?
Psychology and Money Management
RSI Values Scale
NinjaTrader
How to: Multi Time-Frame Volume Profile?
NinjaTrader
NinjaTrader indicator for last bar percentages
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Fighting Addiction and Stops
17 thanks
Just another trading journal: PA, Wyckoff & Trends
6 thanks
Big Mike in Ecuador
6 thanks
Crossing the Abyss: An Adventure Guide by Snax
4 thanks
Want your NinjaTrader indicator created, free?
4 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,441 since Apr 2013
Thanks Given: 491
Thanks Received: 1,634

maggtrading,

you could only walk around the max bars back "limitation", which is not really an issue but a necessity in order for computations to be correct, by rewriting your code so that it's not affected by the max bars back. There is no simple solution here as you might have to require all functions you are using to avoid that they look back X amounts of bars.

The official forum and wiki are a great resource in my opinion, but it sometimes requires a bit of digging to find what you are looking for.
This should get you going regarding multiple data streams:
https://community.tradestation.com/wiki/display/EasyLanguage/Using+EasyLanguage+-+Multiple+Data+Streams

Regards,

ABCTG

Follow me on Twitter Reply With Quote
Thanked by:
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,441 since Apr 2013
Thanks Given: 491
Thanks Received: 1,634


maggtrading,

regarding your first question you might be able to accomplish this using the command line and maybe with the help of additional macro tools:
Command Line Reference (All Commands)

Regards,

ABCTG

Follow me on Twitter Reply With Quote
Thanked by:




Last Updated on October 10, 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 - Sitemap - Downloads - Top
no new posts