## New version 18 available now

Subscription & data-feed pricing Class schedule

Margin rates Stock & option commissions

 Previous Topic · Next Topic Watch this topic · Print this topic ·
SweetAndSour
 Posted : Tuesday, October 31, 2017 1:13:29 PM
Gold Customer

Joined: 5/26/2017
Posts: 22

I wanted to ask whether someone can translate this TDI from Ninjatrader into an Indicator in TC2000?

double stdDevNumber = 1.62;

DYNRSI = RSI(Input, 20, 1); // Input = Dataseries, 20 = Period, 1 = Smoothing
DYNPrice = SMA(DYNRSI, 7);
DYNSignal = SMA(DYNRSI, 25);
DYNAverage = SMA(DYNRSI, 34);
SDBB = StdDev(DYNRSI, 34);

avg = DYNAverage;
stdDevValue = SDBB;

Upper = (avg + stdDevNumber * stdDevValue);
Lower = (avg - stdDevNumber * stdDevValue);

The 3 lines at the bottom define the lower, middle and upper boundary.

- go long, if Priceline > 50
- go short if Priceline < 50
- consider an exit, if Priceline is above 68-5 or below 32+5
- go long if Priceline > Signalline
- go short if Priceline < Signalline
- exit if Priceline crosses Signalline
- trendfilter long, when Priceline > Midband
- trendfilter short, when Priceline < Midband
- add to long, when Priceline > BollingerBand.Upper
- add to short, when Priceline < BollingerBand.Lower

Bruce_L
 Posted : Tuesday, October 31, 2017 1:25:35 PM

Worden Trainer

Joined: 10/7/2004
Posts: 63,198

As far as I can tell, it is just a 20 period Wilder's Relative Strength Index (RSI - Wilder's) with 7, 25, and 34 period simple moving averages and 34 period Bollinger Bands added to the RSI.

There would be gray horizontal lines added to the chart at 32, 50, and 68.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
raynd
 Posted : Tuesday, October 31, 2017 2:33:46 PM
Gold Customer

Joined: 5/11/2013
Posts: 14

E-mailed shared chart...Hope it helps

SweetAndSour
 Posted : Wednesday, November 01, 2017 7:19:15 AM
Gold Customer

Joined: 5/26/2017
Posts: 22

QUOTE (raynd)

E-mailed shared chart...Hope it helps

Hi raynd,

Is the TDI configuration in your TDI chart for a daily chart? Can it be used also in a weekly chart?

Krgds

raynd
 Posted : Wednesday, November 01, 2017 1:07:46 PM
Gold Customer

Joined: 5/11/2013
Posts: 14

Works in all timeframes.

Users browsing this topic
Guest-1

 Forum Jump Customer Training & Support - Ask a Trainer - TC2000 version 12/18 - Ask a Trainer - TC2000 version 7 - Ask a Trainer - StockFinder 5.0 - PCFs, EasyScan and Custom Indicators General Discussions - Stock and Market Talk - TC2000 version 12 or 18 - TC2000 version 7 - StockFinder 5.0 - RealCode for StockFinder 5.0 Tutorial Videos - TC2000 version 12 tutorial videos - TC2000 version 7 tutorial videos You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot delete your posts in this forum. You cannot edit your posts in this forum. You cannot create polls in this forum. You cannot vote in polls in this forum.