|
|||||||||||||||||||||||||||||||
| Special offer: buy MetaStock (try for free) | Reuters QuoteCenter Real-Time Data (get a free month) | EOD Data |
|
Last month, Tim Tillson provided a smoother way of using moving averages in his article "Smoothing techniques for more accurate signals." Here are two studies for use with TradeStation or SuperCharts that are based on the smoothing techniques discussed by Tillson. The indicators are called T3 and IE/2. T3 plots a smoothed moving average line whose value falls anywhere between the double exponential moving average calculation (DEMA) and an exponential moving average (EMA). IE/2 plots a moving average that is derived from evenly splitting a combination of the integral of the linear regression slope (ILRS) and the endpoint moving average (EPMA). Both indicators include a basic alert criteria that is triggered when the close crosses above/below the smooth plotted value. The basis of the calculation for the T3 indicator occurs in a function referred to as GD. This function handles the calculation known as generalized DEMA. The T3 indicator will handle the multiple smoothing of the generalized DEMA. As with any indicator that's based in part on a function, we must first begin by creating the function. Type: Function, Name: GD Inputs: Price(Numeric), Period(Numeric), vFactor(Numeric); Vars: X1(0), X2(0), Dema1(0); X1= XAverage(Price, Period) * (1 + vFactor); X2= XAverage(XAverage(Price, Period), Period) * vFactor; GD = X1 - X2; Once the GD function has been created and verified in the Power Editor, the T3 indicator can then be created. Type: Indicator, Name: T3 Inputs: Price(Close), Period(6), vFactor(.7); Vars: T3(0); T3 = GD (GD ( GD(Price, Period, vFactor), Period, vFactor), Period, vFactor); Plot1(T3, "T3"); IF Close Crosses Above Plot1 OR Close Crosses Below Plot1 Then Alert = True; The scaling for the T3 indicator should be set to "Same as price data." This code is also available at Omega Research's Web site. The name of the file is "Smooth.ELA." Note that all Traders' Tips posted at Omega Research's Web site can be utilized by both TradeStation and SuperCharts. Whenever possible, the posted techniques include both the Quick Editor and Power Editor formats. Gaston Sanchez, Omega Research 800 422-8587, 305 270-1095 Internet: http://www/omegaresearch.com Code:
all formulas for TradeStation all formulas
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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. |
||
|
||
|