log in     sign up for free
 
My percentage of winners is only about 50/50, because I cut my losers very quickly. The maximum loss I allow is 7 percent, and usually I am out of a losing stock a lot quicker. I make my money on the few stocks a year that double and triple in price.
David Ryan
 
 
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

Trend Continuation Factor

Formula for: TradeStation

indicator


 

 

Views:  1808

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
Here is the code I wrote for Trend Continuation Factor from TASC 2005 Bonus Issue. How to interpret it: when values are above 0 go short/long. That is it :)

 

 



Code:

Type : Indicator, Name : Trend Continuation Factor

input: Length(35);
input: AveLength(35);

var:
plus_change(0),
minus_change(0),
plus_cf(0),
minus_cf(0),
plus_tcf(0),
minus_tcf(0);

plus_change = close - close[1];
if plus_change < 0 then plus_change = 0;

minus_change = close[1] - close;
if minus_change < 0 then minus_change = 0;

if plus_change <> 0 then
plus_cf = plus_change + plus_cf[1]
else
plus_cf = 0;

if minus_change <> 0 then
minus_cf = minus_change + minus_cf[1]
else
minus_cf = 0;

plus_tcf = Summation(plus_change, Length) - Summation(minus_cf, Length);
minus_tcf = Summation(minus_change, Length) - Summation(plus_cf, Length);

{oryginal:
plot1(0, "0");
plot2(plus_tcf, "+ TCF");
plot3(minus_tcf, "- TCF");

plot4(WAverage(plus_tcf, AveLength), "+ Ave TCF");
plot5(WAverage(minus_tcf, AveLength), "- Ave TCF");
}

plot1(plus_tcf, "+ TCF");
plot2(minus_tcf, "- TCF");

plot3(WAverage(plus_tcf, AveLength), "+ Ave TCF");
plot4(WAverage(minus_tcf, AveLength), "- Ave TCF");

 





Source: https://www.tradestation.com

 

View similar (indicator for TradeStation):

One Point Two Eight
## Retr Indicator
Standard Error Bands
Pivot Point Average
R - Squared
Double Smoothed Exponential Moving Average
VIDYA/CDMA
Adaptive Moving Average
Simple Futures MA Indicator
Finite Volume Element (FVE)
...
 
 
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