log in     sign up for free
 
Your worst-case exit, which is designed to preserve your capital, should be determined ahead of time.
Van K. Tharp
 
 
Home
systems (284)
 
Special offer: buy AmiBroker and EOD+Real-Time Data
 
Formula Library
 
AmiBroker
MetaTrader
MetaStock
TradeStation
Wealth-Lab
NinjaTrader
 
add your formula
System Library
 
 
Account login
Your email:
Password:
 
Log in
New to s4t? Sign up.
If you forgot your password click here.
Search the Web
 
Custom Search

True Strength Indicator

Formula for: TradeStation

indicator


 

 

Views:  1832

Added: August 13, 2008
 
Rate this code:  Rate: 1 Rate: 2 Rate: 3 Rate: 4 Rate: 5
This formula has not been rated yet
 

email this link

 
 
Tags: TradeStation, indicator
 
Your Ad Here
True Strength Indicator
. To: Omega list
. Subject: True Strength Indicator
. From: Ross Clark
. Date: Thu, 12 Nov 1998 12:33:46 -0800
. Resent-Date: Thu, 12 Nov 1998 12:33:57 -0800
. Resent-From: omega-list@xxxxxxxxxx
. Resent-Message-ID: <"bcGFy.0.fY3.rOqIs"@mx1>
. Resent-Sender: omega-list-request@xxxxxxxxxx

I'm having problems with a divide by zero calculation my formula for the True Strength Indicator as attempted from articles I've seen in TASC. Even when I use the conplete denominator as part of the If statement it still comes up with divide by 0 problems.

This code works about 80% of the time.

Does anyone have a working version of this indicator?

 

 



Code:

Type : Indicator , Name : True Strength Indicator

{True Strength Indicator} input:
length1(34),
length2(8),
length3(5);

If(absvalue(c-c[1])<>0) then begin;
Plot1(100*(xaverage(xaverage(c-c[1],length1),length2)/
(xaverage(xaverage(absvalue(c-c[1]),length1),length2))),"Plot1");

Plot2(xaverage(100*(xaverage(xaverage(c-c[1],length1),length2)/
(xaverage(xaverage(absvalue(c-c[1]),length1),length2))),length3),"Plot2");

Plot3((0),"Plot3");
end;

 





Source: http://www.purebytes.com

 

View similar (indicator for TradeStation):

Instantaneous Trend Line
VIDYA/CDMA
SaittaTrend
Bull and Bear Balance Indicator
T3
Stochastic S&C Indicator
VIDYA
DotDisp
Support and Resistance Indicator
MACD\\Rise\\Fall
...
 
 
all formulas for TradeStation
all formulas

 

 

Email to friend

Top

 

     
However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators
and systems are submitted by anonymous users.
Therefore S4T™ does not take any responsibility for it's quality.
If you use any of this information, use it at your own risk. You are responsible for your own trading decisions.
Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade.
In no case will S4T™ be responsible for your trading gains or losses.
 
Privacy note | (c) copyrights systems4trading.com 2006-2012