Traders' Tips from TASC Magazine
Confirming the Price Trend
Barbara Star’s article on confirming the price trend discusses using R squared and the slope of a linear regression line in conjunction with moving averages and the stochastic. All these indicators are built into MetaStock and require no custom formula to use. Below is a system based off her suggestions in her article.
Long positions are entered when:
- A 10 period moving average is above a 30 period moving average
- The Stochastic Oscillator has risen above 20
- R squared is above .2
- A 20 period linear regression lines slope is above 0
Short positions are entered when:
- A 10 period moving average is below a 30 period moving average
- The Stochastic Oscillator has fallen below 80
- R squared is above .2
- A 20 period linear regression lines slope is below 0
Positions are closed when:
- R squared is equal to .2 or less
- A 20 period linear regression lines slopes against the position
- Either the moving averages or the Stochastic Oscillator give an opposing signal
The formulas and the steps to create this system in MetaStock are listed below:
- Select Tools >
the Enhanced System Tester. - Click New
- Enter a name.
- Select the Buy Order tab and enter the following formula:
- stsig:=if(cross(stoch(14,3),20),1,if(cross(80,stoch(14,3)),-1,prev));
- mov(c,10,S)>mov(c,30,s) AND rsquared(c,20)>.2 AND
- LinRegSlope(c,20)>0 AND stsig=1
- Select the Sell Order tab and enter the following formula:
- stsig:=if(cross(stoch(14,3),20),1,if(cross(80,stoch(14,3)),-1,prev));
- rsquared(c,20)<=.2 AND LinRegSlope(c,20)<=0 AND
- (stsig=-1 OR mov(c,10,S)<mov(c,30,s))
- Select the Sell Short Order tab and enter the following formula:
- stsig:=if(cross(stoch(14,3),20),1,if(cross(80,stoch(14,3)),-1,prev));
- mov(c,10,S)<mov(c,30,s) AND rsquared(c,20)>.2 AND
- LinRegSlope(c,20)<0 AND stsig=-1
- Select the Buy to Cover Order tab and enter the following formula:
- stsig:=if(cross(stoch(14,3),20),1,if(cross(80,stoch(14,3)),-1,prev));
- rsquared(c,20)<=.2 AND LinRegSlope(c,20)>=0 AND
- (stsig=1 OR mov(c,10,S)>mov(c,30,s))
- Click OK to close the system editor.
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