|
Free Stuff
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) v2.4
Download JAM HT Pack (Free Edition) documentation v2.4
Note that v2 is somewhat
different from v1. If you have previous installed v1 then please
read the documentation before installing v2.
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.
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.
Free stuff I've posted on
the TradeStation
Forums
I will post links as
I have time.
| |
* |
Utility to output a complete list of your indicators and strategies
(with a link to a utility that makes a text backup of them). |
| |
* |
suri.Chartshow - this was code I posted to be able to step
through a series of charts, with the list of symbols specified in
a text file. The original intention was to do calculations
on each chart, but Suri used the idea slightly differently.
Some more up-to-date versions of the code are available. |
| |
* |
Constant Range Bar (CRB) charts - this is a big topic for many
TradeStation users. An extended version of this can run
real-time with the bars plotted properly, but TradeStation have
indicated that CRBs will be in a future release, so no further
development has been done. |
| |
* |
Oscillators by John Ehlers - a list of indicators taken from
John Ehlers' books. |
| |
|
... |
I have also made
extensive contributions to TradeStation's
Trader Wikis.
|