This
indicator plots 'dots' on a SMA (default 20 SMA) bases on
logic defined below.
Added audio alert for 'Black
dots'.
White dots = Rising SMA + Rising Double
Stochastics (15/55 Default, this is user definable) + RSI is
greater than 50.
Yellow dots = Falling SMA + Falling
Double Stochastics (15/55 Default, this is user definable) +
RSI is less than 50.
Green dots = Rising SMA + RSI is
great than user defined input (default is 57).
Red dots
= Falling SMA + RSI is than than user defined input (default
is 43).
Black dots indicate a pull back in
trend.
Black dot logic = SMA and RSI are confirming
trend + Double Stochastic (default 10/2) has pulled back past
65 (in down trend, user definable) or 35
(uptrend).
Exported using NT7.0.1000.7
Submitted by phoenix 10-11-2011 12.39 Kbytes Hits 126
The first
instrument is the primary chart data series. The secondary
instrument is specified by the parameter "Symbol2". The
secondary instrument does not need to be plotted on the chart,
but if it is, then "Symbol2" may be left blank and if will
default to the second instrument displayed on the
chart.
The Parameters "Qty1" and "Qty2" are multipliers
which are applied to each instrument's price before adding the
two; default values are "Qty1=1" and "Qty2=-1" which will
simply plot the difference between the two instruments
(P1-P2). They may be set to other values, for example in pairs
trading where the quantities might be set for roughly equal
dollar amounts for each instrument. Also useful with
Interactive Brokers' "Generic Combo" orders.
The Spread
indicator may be used as the input to other indicators such as
Bollinger Bands, to plot its relationship to its recent
volatility.
The "UseMultiplier" parameter defaults to
"true" to incorporate the contract multiplier into the
calculation.
Default behavior is "CalculateOnBarClose =
false" for real-time display; set to "true" if not
needed.
See also my "Index" indicator which can plot
spreads of any number of instruments.
Exported using NT
version 7.0.1000.3
Submitted by kdoren 06-29-2010 7.52 Kbytes Hits 791
This
3-instrument indicator is an example that shows how to make
multi-instrument indicators. It can be modified for your own
calculations, and to allow as many instruments as desired
(code for a 4th instrument is included in the comments). It is
heavily commented explaining its use.
The Indicator
calculation contained is the summation of the price of each
instrument multiplied by its "Qty" (which may be negative).
Optionally, each instruments Contract Multiplier (Point Value)
may be applied (which will plot the spread of the dollar
values of the specified number of contracts).
The code
contains synchronization methods which are used to synchronize
multiple instruments to the primary chart instrument. This
ensures that multi-instrument calculations are always
comparing bars which occurred at the same time.
Synchronization is ensured in all cases (real time and
historical, with CalculateOnBarClose == true or false).
Lookbacks are also synchronized. It will scale to large
numbers of instruments if CalculateOnBarClose ==
true.
In a multi-instrument indicator, how to handle
missing bars is an issue. This indicator has a parameter which
selects between repeating the previous bar's output, and
producing "no output" (but be warned that an instrument which
produces "no output" should not be used as input to another
indicator).
See also my "Index" indicator, which can
plot spreads of any number of instruments.
Exported
using NT version 7.0.1000.3
Submitted by kdoren 09-27-2010 9.67 Kbytes Hits 496
Description The
Ermanometry and TdSequential scripts were published in the
September 2011 S&C article authored by Andrew Coles, PhD,
titled "Td Sequential and Ermanometry".
To
Import 1. Download the attached file to your
desktop 2. From the Control Center window select the menu
File > Utilities > Import NinjaScript 3. Select the
downloaded file
Description The
Spearman indicator was published in the February 2011 S&C
article authored by Dan Valcu titled "The Spearman indicator
for Technical Analysis".
To Import 1.
Download the attached file to your desktop 2. From the
Control Center window select the menu File > Utilities >
Import NinjaScript 3. Select the downloaded file
This colors
3 different time zones. It allows for timezones that cross
date boundaries and shows overlapping timezones by merging the
2 time zone colors. It also display the name of the timezone
or names of overlapping time zones. It is an update of the
ColoredTimeRegions indicator.
TSI is an
indicator designed to identify true trend strength. A high TSI
value indicates that short-term trend continuation (=follow
through) is more likely than short-term trend reversal (=mean
reversion), e.g. NASDAQ100 stocks with a value of greater than
1.65 indicate a healthy trend environment. The creator of
TSI is Frank Hassler from Engineering Returns in cooperation
with David Varadi from CSS Analytics.
Description: This
indicator allows you to specify the interval of vertical
lines. It's advisable to use this with Ninja's vertical line
plot turned off.
Can customize the interval of lines,
linestyle, color, width.
To Import 1.
Download the attached file to your desktop 2. From the
Control Center window select the menu File > Utilities >
Import NinjaScript 3. Select the downloaded file
Description The
Volume Zone Oscillator indicator was published in the May 2011
S&C article authored by Walid Khalil and David Steckler
titled "In The Volume Zone".
To Import 1.
Download the attached file to your desktop 2. From the
Control Center window select the menu File > Utilities >
Import NinjaScript 3. Select the downloaded file
To Import 1. Download the attached file
to your desktop 2. From the Control Center window select
the menu File > Utilities > Import NinjaScript 3.
Select the downloaded file