NexusFi: Find Your Edge


Home Menu

 





running auto-strats on a list of stocks (TradeStation?)


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one sam028 with 1 posts (0 thanks)
    2. looks_two nicbizz with 1 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 ktrader with 1 posts (1 thanks)
    1. trending_up 2,706 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread

running auto-strats on a list of stocks (TradeStation?)

  #1 (permalink)
nicbizz
Penang
 
Posts: 3 since Aug 2011
Thanks Given: 0
Thanks Received: 0

Hi,

I'm hoping to get recommendations on a trading software that will allow me to code a custom indicator, and then apply it to a list of stocks (> 100). When the indicator generates a signal (say "myVariable == true"), it'll auto execute a custom strategy that will enter, and manage, orders for the stock. Ideally, this list can be displayed in a window, with real time quotes, as well as the indicator values displayed.

I'm using NinjaTrader now, and it is quite a powerful platform, but it does have a serious limitation of not being able to run automated strategies off the Market Analyzer (i.e. NT's version of a WatchList). Instead, you'll have to open a separate chart for each stock, which is really not feasible when you're dealing with a large list.

Does anyone know if TradeStation is able to do this? I've looked through their site, and it appears to be quite a comprehensive platform, with the added bonus of EasyLanguage being quite easy to learn.

Any input is appreciated. Thanks!

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
What broker to use for trading palladium futures
Commodities
Trade idea based off three indicators.
Traders Hideout
About a successful futures trader who didnt know anythin …
Psychology and Money Management
REcommedations for programming help
Sierra Chart
MC PL editor upgrade
MultiCharts
 
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629


It's possible to do that with NT, and you don't need to open 100 charts:
- add your 100 stocks in an "Instrument list"
- in the "Strategies" tab, just add your strategy, and tell it to run on the list previously defined.

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote
  #4 (permalink)
 
ktrader's Avatar
 ktrader 
glostrup, denmark
 
Experience: Advanced
Platform: Custom platform
Broker: CQG
Trading: Futures, Options, Stocks
Posts: 249 since Aug 2011
Thanks Given: 152
Thanks Received: 275


nicbizz View Post
Hi,

I'm hoping to get recommendations on a trading software that will allow me to code a custom indicator, and then apply it to a list of stocks (> 100). When the indicator generates a signal (say "myVariable == true"), it'll auto execute a custom strategy that will enter, and manage, orders for the stock. Ideally, this list can be displayed in a window, with real time quotes, as well as the indicator values displayed.

I'm using NinjaTrader now, and it is quite a powerful platform, but it does have a serious limitation of not being able to run automated strategies off the Market Analyzer (i.e. NT's version of a WatchList). Instead, you'll have to open a separate chart for each stock, which is really not feasible when you're dealing with a large list.

Does anyone know if TradeStation is able to do this? I've looked through their site, and it appears to be quite a comprehensive platform, with the added bonus of EasyLanguage being quite easy to learn.

Any input is appreciated. Thanks!

One way to do it is create an indicator that places the orders and add this indicator to the radarscreen containing the list of symbols you want to trade.

Example:

 
Code
Input: account("");
var: openpos(0); 
	
openpos = GetPositionQuantity(symbol, account); 
value1 = MarketOrder("OncePerBar", account, "Sell", "Future", symbol, 1); 
If (value1=-1) then
	print("order was not placed"); 

Plot1(openpos,"open");
Notice you have to supply the account so if you mix security-types you need to add logic to use the right account

You need to check the "Enable RunCommand Easylanguage keyword" in format indicators for it to be able to place orders (you can choose if you want confirmation to be on or off).

The indicator can use the LimitOrder, MarketOrder style of macros (there's a few see here: MarketOrder (Function))

You can achieve the same by using the OrderTicket style of objects from the toolbox.

--ktrader

Reply With Quote
Thanked by:




Last Updated on November 3, 2011


© 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