Traders' Tips from TASC Magazine
Directional Breakout
Barbara Star's article, "Directional Breakout," describes two ways of displaying charts. They require 1 expert and 3 custom indicators to reproduce in MetaStock These formulas and the steps to include them into MetaStock are below:
To enter the indicators into MetaStock:
- In the Tools menu, select Indicator Builder.
- Click New to open the Indicator Editor for a new indicator.
- Type the name of the formula.
- Click in the larger window and type in the formula.
- Click Ok
- Repeat steps 2-5 for the remaining two formulas
Name: Directional Down
Formula:
If(H<Mov(C,20,S),-2,0)
Name: Directional Up
Formula:
If(L>Mov(C,20,S),2,0)
Name: Non-Directional
Formula:
c1:=H>=Mov(C,20,S) AND L<=Mov(C,20,S);
If(c1,1,0);
If(c1,-1,0)
To enter the indicators into MetaStock:
- In the Tools menu, select Expert Advisor.
- Click New to open the Expert Editor for a new expert.
- Type a name for the expert, like "Directional Breakout"
- Click the Highlights tab.
- Click New to create a new highlight.
- Type the name of the highlight.
- Set the color to that specified.
- Click in the condition window and type in the formula.
- Click Ok
- Repeat steps 5-9 for the remaining two highlights
- Click Ok to close the Expert Editor.
Name: Directional Down
Color: Blue
Formula:
H<Mov(C,20,S)
Name: Directional Up
Color: Green
Formula:
L>Mov(C,20,S)
Name: Non-Directional
Color: Red
Formula:
L<=Mov(C,20,S) AND H>=Mov(C,20,S)
To build the first chart:
- Open a chart of the security and remove all other indicators
- Right-click in the chart and select Inner Window and then New Inner Window
- Click on the title bar of this inner window and drag it below the price window
- Plot the Non-Directional indicator in this window
- Select one of the lines and change the style to histogram and the color to red
- Select the other line and make the same changes
- Plot the Directional Down indictor in the same window
- Select the Directional Down line and change the style to Histogram and the color to blue
- Plot the Directional Up indicator in this same window
- Select the Directional Up line and change the style to Histogram and the color to green
- Plot a 20 period simple moving average of the close in the window with the prices
- Right-click in the chart and select Expert Advisor and then Attach
- Select the Directional Breakout expert and click Ok
- Right-click in the chart and select Expert Advisor and then properties
- Select the Highlights tab and remove the checks by the blue and green highlights
- Click Ok
Your chart should now look similar to the one below:
To build the first chart:
- Open a chart of the security and remove all other indicators
- Plot a 20 period simple moving average of the close in the window with the prices
- Right-click in the chart and select Expert Advisor and then Attach
- Select the Directional Breakout expert and click Ok
- Right-click in the chart and select Expert Advisor and then properties
- Select the Highlights tab and make sure all the highlights are checked
- Click Ok
Your chart should now look similar to the one below:
Since the Expert Advisor is changed to make these two charts, you will not be able to use both styles at once, unless you make a second expert and use one for one style and the other to the second style.
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