Traders' Tips from TASC Magazine
Trend Trigger Factor
M. H. Pee's article, "Trend Trigger Factor," introduces an indicator of the same name. The formula for this indicator and the steps to include it into MetaStock are below:
To enter this indicator 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 following formula.
Name: Trend Trigger Factor
Formula:
x:=Input("number of periods",2,100,15);
bp:=HHV(H,x)-Ref(LLV(L,x),-x);
sp:=Ref(HHV(H,x),-x)-LLV(L,x);
((bp-sp)/(0.5*(bp+sp)))*100
As Mr. Pee's article also included the signals to trade this indicator, it is possible to construct a system test and an expert advisor for it. These formulas and the procedure for creating them follow.
To create the system test:
- In the Tools menu, select the Enhanced System Tester
- Click New to open the system tester editor
- Select the Buy Order tab and insert this formula:
x:=15;
bp:=HHV(H,x)-Ref(LLV(L,x),-x);
sp:=Ref(HHV(H,x),-x)-LLV(L,x);
ttf:=((bp-sp)/(0.5*(bp+sp)))*100;
Cross(ttf,100)
- Select the Sell Order tab and insert this formula:
x:=15;
bp:=HHV(H,x)-Ref(LLV(L,x),-x);
sp:=Ref(HHV(H,x),-x)-LLV(L,x);
ttf:=((bp-sp)/(0.5*(bp+sp)))*100;
Cross(-100,ttf)
- Select the Sell Short Order tab and insert this formula:
x:=15;
bp:=HHV(H,x)-Ref(LLV(L,x),-x);
sp:=Ref(HHV(H,x),-x)-LLV(L,x);
ttf:=((bp-sp)/(0.5*(bp+sp)))*100;
Cross(-100,ttf)
- Select the Buy to Cover Order tab and insert this formula:
x:=15;
bp:=HHV(H,x)-Ref(LLV(L,x),-x);
sp:=Ref(HHV(H,x),-x)-LLV(L,x);
ttf:=((bp-sp)/(0.5*(bp+sp)))*100;
Cross(ttf,100)
Click Ok to close the editor.
To create the expert advisor:
- In the Tools menu, select the Expert Advisor
- Click New to open the expert editor
- Select the Highlights tab
- Click New to make a new highlight
- Enter the name as: Long
- Set the color to Green
- Enter the following formula for the condition:
x:=15;
bp:=HHV(H,x)-Ref(LLV(L,x),-x);
sp:=Ref(HHV(H,x),-x)-LLV(L,x);
ttf:=((bp-sp)/(0.5*(bp+sp)))*100;
ttf>100
- Click ok to close the highlight editor
- Repeat steps 4-8 to make the short highlight listed below
- Select the Symbols tab
- Click New to make a new symbol
- Enter the name as Buy
- Enter the following formula for the condition:
x:=15;
bp:=HHV(H,x)-Ref(LLV(L,x),-x);
sp:=Ref(HHV(H,x),-x)-LLV(L,x);
ttf:=((bp-sp)/(0.5*(bp+sp)))*100;
Cross(ttf,100)
- Select the Graphics tab
- Set the symbol to the up arrow and the color to green
- Click Ok to close the symbol editor
- Repeat steps 11-16 to make the sell symbol listed below
- click Ok to close the expert editor
Name: Short
Color: Red
Condition:
x:=15;
bp:=HHV(H,x)-Ref(LLV(L,x),-x);
sp:=Ref(HHV(H,x),-x)-LLV(L,x);
ttf:=((bp-sp)/(0.5*(bp+sp)))*100;
ttf<-100
Name: Sell
Condition:
x:=15;
bp:=HHV(H,x)-Ref(LLV(L,x),-x);
sp:=Ref(HHV(H,x),-x)-LLV(L,x);
ttf:=((bp-sp)/(0.5*(bp+sp)))*100;
Cross(-100,ttf)
Symbol: Sell Arrow
Color: Red
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