![]() |
|||||||
|
Free Stuff From Custom EasyLanguage development to unique TradeStation indicators and utilities |
![]() |
Some Free Stuff for TradeStation. • JAM HT Pack (Free Edition) • JAM Linear Regression Pack (Free Edition) • Color Palette • Week Function • Holiday/Half Day Function • Sending TradeStation Alerts through GMail • Trader Wikis JAM HT Pack (Free Edition) The JAM HT Pack (Free Edition) contains a Simple Moving Average (SMA) indicator that calculates and displays an SMA from a higher bar interval chart/RadarScreen on a lower bar interval chart/RadarScreen. No multiple datastreams, no DLLs, no approximations. The JAM HT Avg Simple indicator is a single, simple indicator that does an EXACT calculation of a higher bar interval SMA on a lower bar interval chart. As an example, this is a 60 tick chart of Google with the JAM HT Avg Simple Indicator applied. The input to the indicator tells it to calculate and display a 240 tick SMA and that's what it is doing:
If you compare it against TradeStation's 'Mov Avg 1 Line' (SMA) indicator on a 240 tick chart you can see that the values are the same:
In the two places picked out (marked in green and cyan) the moving average values are identical. These values are identical from the first bar to the last, on historic bars and on live bars. The JAM HT Avg Simple indicator works for tick, minute, daily, weekly, monthly and yearly chart intervals. (The calculation is approximate for volume charts because of the way TradeStation calculates volume bars). It can display a minute based moving average on a tick chart, a daily moving average on a minute chart, and weekly, monthly or yearly moving averages on a daily chart. No slow and complicated DLLs . No multi-timeframe charts to mess up your chart format . JAM HT Avg Simple is just a simple (but very clever) indicator. Download JAM HT Pack (Free Edition) v3.6 (for TS 8.3 and above) Download JAM HT Pack (Free Edition) documentation v3.5 (for TS 8.3 and above) Note that v3 is different from v2 which was different from v1. If you have downloaded previous versions then please read the documentation before installing v3. If you like the JAM HT Avg Simple indicator then please have a look at the complete JAM Higher Timeframe Pack . This pack contains a number of other higher timeframe indicators than can be used in the same way. For programmers, functions are also available so that you can calculate the higher bar interval values from your strategies. This allows you to work with multiple-interval tick charts in one strategy and to use IntrabarOrderGeneration (IOG) with multiple timeframes.
JAM Linear Regression Pack (Free Edition) Color Palette The attached ELD contains a set of named colors that can be used in your indicators and strategies. TradeStation only has eight colors, and to extend this you need to use the RGB function which can be complex.It is very simple to use these colors. Wherever there is an input that requires a color, such as 'red' or 'blue'... ![]() ...you use 'color.red' or 'color.blue' (the word 'color', then a period/full stop, then the name of the color) ![]() There are 140 colors, which are part of the X11 standard. The names can be found in Wikipedia here http://en.wikipedia.org/wiki/X11_color_names. All spaces should be removed from the color names in Wikipedia, and any names that start with 'medium' have been shortened to 'med'. e.g. the color Medium Sea Green is 'color.MedSeaGreen'. Download Color functions (TS8.3 and above) Week Function TradeStation comes with a DayOfWeek function to tell you the day number (0=Sun, 1=Mon etc) and a Month function to tell you the month number (1=Jan, 2=Feb etc) but it doesn't have a Week function. This may seem like an oversight, but there is method in their madness. Defining what a week is and what the week number is can be incredibly complex, and many countries around the world have different standards. But for most traders I don't think these subtle distinctions are important. Below is a Week function that tells you the week number (1-52). It can be used to do week-by-week analysis, or can simply be used like this... if Week(date) <> Week(date)[1] then ... This detects if the current bar is the start of a new week. If your symbols starts on a Sunday then that is the start of the new week. If your symbol starts on a Monday then that is the start of a new week. If there are any holidays in-between (either on Friday or Monday etc) then that will be taken into account and a new week will still be successfully detected. Download Week function (only for TS8 and above) Someone else has also posted a week function on the TradeStation forums that uses the ISO standard. However, I don't think the ISO standard is good for Traders and my version is more useful. Here is a link to the other version. Holiday/Half Day Function Sending TradeStation Alerts through GMail TradeStation does not currently allow the sending of email alerts through a GMail account. This is because TradeStation will only send emails on TCP Port 25, and does not use SSL security. However, there is a free utility available that will setup a connection between your PC and GMail so you can use TradeStation to send emails. This utility is called Stunnel. This is a quick guide to sending emails from TradeStation via GMail using Stunnel. This is reasonably technical - you will need to get your PC's local IP address, and you will need to know how to get a command prompt on your PC.There is a discussion of Stunnel on the TradeStation Forums - https://www.tradestation.com/Discussions/Topic.aspx?Topic_ID=98576. This includes common installation problems. 1. You can download the Stunnel program here - http://mirror.bit.nl/stunnel/ You should download and install the latest executable. In this picture it is v4.37, but new versions are released regularly so just download the latest installer (the one ending in .exe).
2. Next, save this text file - gmailsmtp.txt - into the same directory as Stunnel i.e. c:\program files\stunnel 3. Now this is where you will need your PC's IP address. Edit the gmailsmtp.txt file you've just downloaded and replace the IP address with your own PC's IP address. In the file, the IP address is 192.168.0.97, so replace this.
It's very important that you leave the ':25' at the end of the IP address. 4. Next, you will need to run a command prompt and type some commands in. Bring up a command prompt and go to the c:\program files\stunnel directory. Type the following commands
Free stuff I've posted on the TradeStation Forums I will post links as I have time.
| Tools
|
| Custom Programming Coding of customized EasyLanguage indicators, functions and strategies. |
Specialist Indicators Unique indicator and utility packages. |
DLL Development Coding of C++ programs for improved integration and security. |
Strategy Automation Enhanced systems for more robust trading automation. |
Platform Conversions Conversion of indicators and strategies from other trading platforms to TradeStation. |
Copyright © JAM Strategy Trading, 2005-2012 : All Rights Reserved | Website Design
Neither TradeStation Technologies nor any of its affiliates has reviewed, certified, endorsed, approved, disapproved or recommended, and neither does or will review, certify, endorse, approve, disapprove or recommend, any trading software tool that is designed to be compatible with the TradeStation Open Platform. NOTHING ON THIS WEB SITE IS AN OFFER OR SOLICITATION OF SECURITIES OR INVESTMENT PRODUCTS OR SERVICES IN ANY JURISDICTION WHERE THEIR OFFER OR SALE OR |