Traders' Tips from TASC Magazine
Trade the Swing Price
Barbara Star's, "Trade the Swing Price" uses a 5-period linear regression indicator as the basis for buy and sell signals. The formulas for the reversal indicator and the system based on it are below.
To enter this indicator into MetaStock;
click on Tools | Indicator Builder. Click New and type the name of the formula. Then click in the larger window and type in the actual formula.
Name: Linear Regression Reversal Indicator
Formula:
If( LinearReg(C,5)>(Ref( LinearReg(C,5),-1)),+1,
If( LinearReg(C,5)<(Ref(LinearReg(C,5),-1)),-1,0))
Here is the system test to go with it. To add this to MetaStock;
open the system tester. Click New and enter the name of the test. Then enter the following formula in the respective areas. Please note, MetaStock 8.0 will have a slightly different name for these areas, but the formulas are the same. Also, the article suggested a trailing stop for the exit conditions, but did not recommend how tight to set the stop. Therefore, this tip makes not recommendation. After entering the formulas, click on stops and enable the trailing stop for both long and short positions. Set the trailing stop at a value you are comfortable with and click Okay. The system test is now ready to use.
Name: Linear Regression Reversal
Enter Long:
LRR:=If( LinearReg(C,5)>(Ref( LinearReg(C,5),-1)),+1, If( LinearReg(C,5)<(Ref(LinearReg(C,5),-1)),-1,0));
Ref(LRR,-1)=1 AND C>
Ref(C,-1)
Enter Short:
LRR:=If( LinearReg(C,5)>(Ref( LinearReg(C,5),-1)),+1, If( LinearReg(C,5)<(Ref(LinearReg(C,5),-1)),-1,0));
Ref(LRR,-1)=-1 AND C<
Ref(C,-1)
William Golson
Equis International
Contents
- Affine transformation
- Anticipating Moving Average Crossovers
- At Last! A Trend-Friendly Oscillator
- Average True Range or Standard Deviation
- Balance of Market Power
- Between Price and Volume
- Bollinger Band Targets
- BONUS ISSUE: Mutual Fund Screen
- Boosting Profitability - the AIM Indicator
- Breakout_Range2
- Bridging the Gap, Linking Point & Figure and Bar Charts
- Buff Up Your Moving Averages
- Bull and Bear Balance Indicator
- Candlestick Filtering
- Coding Candlesticks (II)
- Confirming the Price Trend
- Creating Multi-Colored Indicators in MetaStock
- Darvas-Style Trading and Something Darvas
- Deviation Oscillator
- Directional Breakout
- Ehlers Filters
- Elastic Volume Weighted Moving Average
- Finding Key Reversals
- Fisher Transform
- FVE - %b
- FVE - lin reg slope
- FVE - Storz's divergence
- FVE w/ linear regression slope
- High Low Strategy
- High Tech Mesa Adaptive Moving Averages
- Hilbert Indicators Tell You When to Trade
- Holding Overnight Positions
- Hot Zones
- How Smooth is Your Data Smoother
- Ichimoku Charts
- Index of Chart Sentiment
- Laguerre Filter
- Laguerre RSI
- MACD of Relative Strength
- Moving Average Crossovers
- Moving Average: Long on Talk, Sort on Action
- Normalization
- Now's The Time To Trade Crude
- Pivot point Strategy
- Profit with ETFs
- Quicken Your Averages
- Red-Green Strategy
- Refining the Hilbert Indicator
- Regularization
- Relative Performance Charting
- RSI Bands
- Squelch Those Whipsaws
- sRSI - Original
- sRSI - Using Wilders
- Stochastics
- Tandem Studies on Market Movement
- Targeting Your Pattern
- TC 2000 Scans
- The Average Peak Excursion
- The Cocked Gun Revisited
- The Inverse Fisher Transform
- The Self-Adjusting RSI
- The Truth about Volatility
- The Wilson Relative Price Channel
- Thrust Oscillator
- Trade Against the Gap
- Trade Into the Gap
- Trade the Swing Price
- Trend Continuation Factor
- Trend Quality Indicator
- Trend Trigger Factor
- TrendIV & Volume - Buy Signal
- TrendIV & Volume - Sell Signal
- Triggering Your Trading System
- Using Money Flow to Stay with the Trend
- Using Volume to Detect Shifts In Power
- Volatility System
- VWAP for Support and Resistance
- When and When not to Trade