Questions tagged [tradestation]

Questions about your interfacing to Trade Station products.

TradeStation offers trading technology and online electronic brokerage services to active traders worldwide. The company’s platform provides access to all major U.S. exchanges and market centers.

Trade Station enables clients to design, test, optimize, monitor and automate their own custom equities, options and futures trading strategies.

Web API
For third-party trading applications to access TradeStation’s real-time and historical market data, fast order-execution capabilities, and account and position information.

16 questions
9
votes
2 answers

C++ Monitoring variable for changed value

I'm converting a TradeStation EasyLanguage indicator code to a C++ DLL. Using the TradeStation API it's possible to access market data in the C++ DLL like so: double currentBarDT = pELObject->DateTimeMD[iDataNumber]->AsDateTime[0]; My question…
GoFaster
  • 835
  • 1
  • 12
  • 23
5
votes
3 answers

How to manipulate a price series (indicator) oscillate around a Center Value?

I’m no expert programmer, but I’m attempting to change the way in which some technical indicators are displayed in a financial charting package called TradeStation (not that the specific charting supplier is relevant). Here is the problem: Most…
4
votes
1 answer

Getting started with Tradestation webAPI

I want to build an application that can pull stock data (high, low, volume, etc) from the past ten years in intervals of five minutes using the Tradestation webAPI. I am looking at: http://tradestation.github.io/webapi-docs/# and I seem to be in…
user2327814
  • 523
  • 3
  • 8
  • 18
3
votes
1 answer

Reverse Engineering a Programming Language or 'Unsupervised Learning of Languages'

I need to build a "translator" (is cross-compiler the right word?) between Tradestation's EasyLanguage into C++. However, there isn't any complete documentation on the grammar of EasyLanguage (which I could find). As a more general question, given a…
1
vote
0 answers

How can I create a loop in prinescript?

I am a beginner to coding world let alone pinescript. I have this indicator I want to use but it is not inbuilt in tradingview. I have a script written for that indicator in "TradeStation Language" which I cannot write successfully in pinescript. I…
1
vote
0 answers

Intermittent issues with pywinauto.type_keys() going out of focus

I have a piece of pywinauto code which attempts to delete an Item from an ItemList. Occasionally the type_keys() isn't working, as if the window is going out of focus. Interestingly enough, if I click on the Command Prompt window where the python…
jersey bean
  • 3,321
  • 4
  • 28
  • 43
1
vote
0 answers

Candlestick Chart Tradestation Data

I am very new to python and I am trying to produce a candlestick chart from CSV files downloaded from tradestation. The data in the csv is Symbol, Date, O, H, L, C, Volume I am using matplot lib and I have create a dataframe to read the CSV shown…
user7669093
  • 71
  • 1
  • 8
1
vote
0 answers

Does TradeStation provide API

I know that TradeStation can invoke custom DLL functions from within an EasyLanguage document. At the moment I need to create a stand-alone VisualC++ application which should obtain both real-time and historical market data via TS. Is there any TS…
Rom098
  • 2,445
  • 4
  • 35
  • 52
0
votes
0 answers

Error 1; Description: Numerical expression expected here; EasyLanguage

I am new to EasyLanguage and still trying to learn. I have a momentum indicator code that calculates the oscillator values using the True Momentum Oscillator formula and moving averages. Not sure why I am getting this error:Error 1; Description:…
Sam.H
  • 193
  • 2
  • 14
0
votes
0 answers

Easy Language - 5 Day Average Volume

Rather new to easy language, and I am trying to find the 5-day average volume for stock on my radarscanner. So creating an indicator to do this. But how do I set the indicator to always being looking at daily bars, even if my charts are on other…
bahamutcog
  • 11
  • 2
0
votes
0 answers

Converting Pinescript v5 to Tradestation's EasyLanguage

I have been trying to convert Pinescript v5 code to EasyLanguage, but am not sure how. Can someone please help convert this for me? I have used many resources I could find online and have tried manually doing this as well, but nothing seems to…
0
votes
0 answers

What's the meaning of this pine-script code?

I find this script smo_Num(mom_Num, Input2, Input3) => smo1_Num = ema(mom_Num, Input2) smo2_Num = ema(smo1_Num, Input3) dsm1_Num = smo_Num(mom_Num, Input2, Input3) dsm2_Num = smo_Num(abs(mom_Num), Input2, Input3) tsi_Num = 100 *…
0
votes
0 answers

Translating Tradingview Pine Script trading strategy to EasyLanguage for TradeStation

I have been trying to convert a trading strategy written in PineScript to EasyLanguage. As background, Tradingview uses PineScript and TradeStation uses EasyLanguage. Here is a link that does a very good job describing what the strategy is doing.…
0
votes
1 answer

How do you restart a streaming HTTP request on an error

I am accessing an API that streams (RFC2616 for HTTP/1.1) the response. The stream never ends, but from time to time it throughs an error requiring the program to restart the request. I can't figure out how in NodeJS to restart the request without…
Scott Taylor
  • 25
  • 1
  • 7
0
votes
1 answer

Two questions of TradeStation charts

I am evaluating which one to choose, TWS from IB or TS. TWS has a demo account but TS does not. I have two questions about TS stock chart. premarket data in charts start from 4am, or later? TWS starts from 4am. I know TS only allows trades after…
1
2