log in     sign up for free
 
In my opinion, you do not have a trading system unless you know exactly when you will get out of the market position at the time you enter it.
Van K. Tharp
 
 
Home
systems (285)
 
 
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

Mov Avg X 2_20

Formula for: TradeStation

indicator

 

 

Views:  1359

Added: June 16, 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
 


The 2/20-day Ema breakout technique is represented below as both an indicator and a system. The indicator will plot the 20-day exponential moving average as well as paint the breakout bar. The system signals entry/exit points based on the ones specified by David Landry.

Please note this indicator requires specific style settings. The Type for Plot1 (EMA) should be "Line." The Type for Plot2 (Alert) should be "BarHigh." The Type for Plot3 (Alert) should be "BarLow." Plot2 and Plot3 will be of the same color.
This code is available at Omega's Web site. The file name is 2_20EMA.ELA.

-- Gaston Sanchez, Omega Research
800 422-8587, 305 270-1095
Internet: http://www/omegaresearch.com

 

 



Code:

Type: Indicator, Name: Mov Avg X 2_20
Inputs: Price(Close), AvgLen(20);
Vars: AvgVal(0);
AvgVal = XAverage(Price, AvgLen);
Plot1(AvgVal, "EMA");

{Entry Alert Criteria}
IF (Lowest(Low, 2) > AvgVal AND Low 1 Bar Ago Crosses Above
AvgVal 1 Bar Ago) OR (Highest(High, 2) < AvgVal AND
High 1 Bar Ago Crosses Below AvgVal 1 Bar Ago) Then Begin
IF CheckAlert Then Alert = True;
Plot2(High, "Alert");
Plot3(Low, "Alert");
End;

 





Code to difficult? Find somebody to help you with coding here.

 



Author: David Landry
Source: http://www.traders.com

 

View similar (indicator for TradeStation):

MB/ADX EZ Dynamic
Confluence
Ichimoku Charts
Phase Calculation
Moving Averages with Resistance and Support
Moving Average of Volume
Time and Money Indicators
$%B I
Dunn's Density Indicator
Pivot Bar
...
 
 
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.
PayPalSecure payments by PayPal S4T™ is a part of TAURO EDUCATION NETWORK
 
Privacy note | (c) copyrights systems4trading.com 2006-2009