log in     sign up for free
 
The more disciplined you can get, the better you are going to do in the market. The more you listen to tips and rumors, the more money you're likely to lose.
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

TrendArea_2 Indicator

Formula for: TradeStation

indicator


 

 

Views:  1476

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


Code:

Type : Indicator, Name : TrendArea_2 Indicator

{ TrendArea_2 Indicator WAV 9/15/04
9/16/04 added FastLen and SlowLen inputs
}

inputs: ThresholdArea(25),FastLen(15),
SlowLen(50);

vars: BarCount(0),SlowMA(0),FastMA(0),
color(0),area(0);

SlowMA = average(close,SlowLen);
FastMA = average(close,FastLen);

{ see if we have a new possible trend starting }
if FastMA crosses above SlowMA or
FastMA crosses below SlowMA then
BarCount = 0;

BarCount = BarCount + 1;

{ multiply each individual area by its barcount }
area = BarCount * (FastMA - SlowMA);

color = IFF(area > area[1] and area > 0,green,yellow);
if color = yellow and area < area[1] then
color = DarkGreen;
color = IFF(area < area[1] and area < 0,red,color);
if color = yellow and area > area[1] then
color = DarkRed;

plot1(area,"Area",color);
plot2(0,"zero line");
plot3(ThresholdArea,"+Thresh");
plot4(-ThresholdArea,"-Thresh");


 





Source: https://www.tradestation.com

 

View similar (indicator for TradeStation):

Phase Calculation
Mov Avg X 2_20
Tether Line
Pivot Point Average
R - Squared
eKam CCI
Triangle Pattern Indicator
MFI Convergence Divergence
SMI Oscillator
Better Bollinger Bands
...
 
 
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