Important
Before proceeding with this reference manual, it is strongly recommended
that the comprehensive VSTpro instructional video from LearnMetaStock.com
first be viewed in its entirety. The thorough eight-section
VSTpro instructional video is the product of exemplary MetaStock trainer
Kevin Nelson, founder of LearnMetaStock.com.
Please login to LearnMetaStock.com now, go to the VSTpro section, and
watch the instructional video in order to get up and running with the
VSTpro in no time.
Note:
Due to the VSTpro's tightly integrated nature, it is strongly recommended
that only complete VSTpro templates be applied to charts.
Single indicators dragged down from the indicator quicklist (or altering/removing
template indicators) may not display as intended.
Overview
The VSTpro templates can be divided into two main categories:
CRE-type (Change/Refresh/Experiment)
templates;
X-type (Exploration control panel) templates.
Each template category is composed of a Long and Short template.
Change Refresh Experiment (CRE) Long/Short templates
There are seven interconnected VSTpro components within the two CRE
templates, and VSTpro processing flows in the following order:
Index path indicators
MTF
Bands
SmartStop
Profit
Risk
Expert signals & commentary.
Parameter changes to the MTF will
affect the Bands/SmartStop/Profit/Risk indicators and Expert Signals/Commentary
outputs that follow.
Parameter changes to the Bands
indicator on the chart, will only affect the SmartStop/Profit/Risk indicators
and Expert Signals/Commentary.
Parameter changes to the SmartStop
on the chart, will only affect the Profit/Risk indicators and Expert
Signals/Commentary outputs.
Parameter changes to the Profit
indicator in the first window, will only affect the Risk indicator and
Expert Signals/Commentary outputs.
Parameter changes to the Risk indicator
in the second window, will only affect the Expert Signals/Commentary
outputs.
The Market Trend Filter (MTF) can operate on a stand-alone basis, but
all other VSTpro indicators are required on the chart at all times in
order for the complete VSTpro setup to operate correctly.
Let's begin by introducing the VSTpro Long CRE template's six main chart
components (the same applies to the Short version):

| |
1) Market Trend Filter (MTF)

2) VST Bands indicator

3) SmartStop

4) Profit indicator

5) Risk indicator

6) Expert commentary,
signals & highlights |
Double-click on each of the five chart indicators
to access their parameters.
Please refresh chart (button or Alt+V, R) after any parameter changes.
3 Market Trend Filter (MTF) parameters

Overview
The MTF's main purpose is to override VST band timing signals when market
conditions are unfavorable.
On Long setups, a green MTF (bullish trend) will allow entry/exit Long
signals to go through as normal.
A red MTF (bearish trend) closes
any open Long positions, and rejects any new Long trades.
On Short setups, a red (bearish) MTF will allow entry/exit Short signals
to go through as normal.
A green (bullish) MTF closes any
open Short positions, and rejects any new Short trades.
1- MTF Type
The first MTF parameter field offers a choice between two distinctively
different methods of detecting the market trend.
[1] Sharp: attempts to catch market
trends as they turn, by searching for key market events.
A brief explanation for each of the Sharp MTF components is available
as comments within the MTF indicator code.
[2] Traditional: advanced trend-following
mode, lags at market turns, approx 6 times less active than Sharp mode.
Note: the MTF traditional mode is not suitable for intraday charts -
please use the MTF sharp mode for these.
2 - MTF Mode
[1] Normal: standard Long/Short
MTF.
[2] Reverse: Long=Short, Short=Long.
[3] OnlyMTF: bypasses band timing
signals for pure MTF signals only; produces identical signals for all
securities.
[4] NoMTF: disables Market Trend
Filter, allowing pure band timing signals to be tested.
3 - MTF periods
Periods used for Sharp/Traditional Market Trend Filter.
For the MTF Sharp type, it is recommended that only 14/15 periods be
applied.
For the MTF Traditional type, the default 15 periods works best overall,
but I suggest experimenting within the 4-260 period range.
6 Signals/Bands parameters

Overview
This indicator generates the VSTpro's timing signals, based on volatility
bands with different price crossover conditions.
Signal conditions can be altered through 30 different band/price combinations,
for a total of 108 strategy combinations when including the three MTF
options available (Sharp/Traditional/Disabled).
1 - Entry conditions
[1] Price crosses above bottom
band;
[2] Price crosses above midline;
[3] Price crosses above top band;
[4] Price crosses below bottom
band;
[5] Price crosses below midline;
[6] Price crosses below top band.
2 - Exit conditions
1~6 identical to the entries, with this additional condition:
[0] No exit band conditions - exits
depend on SmartStop and/or MTF.
Note that no signals are possible when identical conditions are selected
for both entry and exit (i.e., signals cancel each other out).
3 - Volatility bands spread - ATR multiplier
This setting controls the spread of the volatility bands.
Depending on the security's volatility, this parameter may have a great
influence on the timing signals.
4 - ATR average periods
Sets the ATR average periods for the bands spread above.
The ATR averaging is based on MetaStock's default method, based on Wilder's
smoothing of ATRs over the past x periods.
5 - MidLine periods
Periods used for the MidLine, on which the ATR bands are based.
6 - Price
This sets the price used by both the bands and entry/exit conditions:
[1] Open;
[2] High and Low (whole bar);
[3] Close (default);
[4] Weighted Close: (H+L+Cx2)/4.
5 SmartStop parameters

Overview
The SmartStop is a hybrid volatility & fixed % visual stop which
reacts with initial and trailing stops to the chart signals.
The stops are only visible on a chart while a trade is active, and thus
won't skew the chart's scale with remnants of any previous trade.
The SmartStop is disabled by default in order to determine the system's
profitability prior to adding any stops.
Some
strategies benefit from a suitable combination of initial and trailing
stops, while other strategies with efficient exits may suffer from unwanted
interference from any stops.
Please note the following limitation: stops cannot signal an exit or
restart on the immediate bar following an entry/exit/stop signal, i.e.:
After an entry signal on the first
bar, the stop's first exit signal is only possible on the third bar
(or thereafter).
After an exit or stop signal on
the first bar, the stop can only restart its plot on the third bar (or
thereafter).
1 - Stop switch
[1] Enables stop;
[0] Disables stop - it still plots
on the chart, but stops are ignored by the system platform.
2 - Initial Stop parameter
Input number of ATRs (+), or a fixed % amount(-).
For example, a "3" indicates that the Initial Stop will plot
3 ATRs below (above for Short) the entry signal price, and a "-5"
indicates that the Initial Stop will plot 5% below the entry signal
price.
3 - Trailing Stop parameter
Input number of ATRs (+), or a fixed % amount (-).
For example, a "4" indicates that the Trailing Stop will track
price 4 ATRs away from price, and a "-6" input will track
price 6% away from price.
4 - ATR average periods
Number of periods used for the averaging of ATR used above.
The averaging is based on a Simple Moving Average of ATRs over the past
x periods.
This alternative smoothing method is more responsive and suitable for
stops, as opposed to MetaStock's default ATR-smoothing method used in
the bands.
5 - SmartStop trigger
This parameter determines where the stop will get triggered.
[1] Intrabar - triggers the stop
if any point of the price bar hits the stop;
[2] Close - triggers the stop only
if the Close hits the stop.
If the trigger on the Close is selected, the stops are based off the
Close price.
For Long stops triggered on Intrabar (i.e., the Low touches/breaches
the stop Long), the stops are based off the lowest point of that bar,
the Low.
For Short stops triggered on Intrabar (i.e., the High touches/breaches
the stop Short), the stops are based off the highest point of that bar,
the High.
More on stops
From experience, stops should only be thought of as a safety net of
last resort in case the real exits fail or are non-existing.
To use an analogy, car drivers usually apply the brakes (stops) only
in hazardous situations, and generally steer their car out of any potential
trouble rather than brake in every adverse situation.
However, depending on stops to take us out of a bad trade when most
of the damage has already been done is akin to depending on seatbelts
or airbags to come to a safe stop after an accident.
In other words, we should aim to steer our way out of bad trades through
timely exits, rather than getting stopped-out at what is often the worst
time.
A good example of being stopped out at a bad time is the market
meltdown of May 6, 2010, when massive slippage in many cases took
out stopped trades at a fraction of the security's normal price.
If stop losses are hit more than 20-30% of the time in trading, then
the exit strategies (and ideally there should be several to cater for
different market conditions) are simply not working too well.
If stops are hit 100% of the time, then obviously there is no exit strategy
at all. Depending purely on stops to exit trades is akin to your
broker taking massive commissions out of every single trade - win or
lose.
6 Profit parameters

Overview
Profit is measured for each individual trade, and then accumulated to
show overall profitability.
Whenever viewing the profit and risk equity curves, it is recommended
that the chart be fully zoomed out (Zoom reset button or Alt+V, Z, R).
This allows for a rapid appreciation of the system's profit/risk characteristics.
Although the most important statistic in any system is the Profit/Risk
ratio (more on this below), it is important to see if the profit curve
is steady and progressive, or if the profit has been derived from one
or two erratic lucky trades.
1 - Trade leverage (margin)
Default 1: no leverage.
Above 1: x:1 leverage.
e.g., "3" would use x3 trade leverage.
$10,000 would control $30,000 worth
of shares in a trade, with a resulting x3 increase in both profit and
risk.
Below 1: similar to position % sizing.
e.g., "0.5" would use only 50%
of available trade capital.
$10,000 would control $5,000 worth
of shares in a trade, with a resulting 50% decrease in both profit and
risk.
2 - Entry price
[1] Calculates profit and risk
based on entry signal bar's Open price.
[2] Calculates profit and risk
based on entry signal bar's Close price.
3 - Exit price
[1] Calculates profit and risk
based on exit signal bar's Open price.
[2] Calculates profit and risk
based on exit signal bar's Close price.
Open trades use the current Close for calculation of profit and risk.
[3] No exit - i.e., Buy and Hold.
4 - Entry/Exit signal delay periods
[xx] 1st digit: entry delay periods(0-9); 2nd digit: Exit delay periods(0-9).
Note that since it is not possible to trade the Open of a signal based
on the Close of the same bar, VSTpro does not allow any combination
not possible in the real markets, i.e., trade delays are automatically
set to a minimum of 1 period if buying/selling on the Open.
5 - Total transaction costs
Input your estimated total entry and exit transaction % costs here.
The total transaction cost % is based on a percentage of the full trade
position or contract size, regardless of any leverage (margin) used.
Leverage and position size do not affect costs when calculated in this
way.
The total transaction costs differ from one security to the next, but
an average approximation works fine.
Example - IBM stock trade with no margin lending:
| |
Trade position size:
|
|
$10,000 (83 shares @ $120 e/a) |
| |
Actual trade (irrelevant):
|
|
$10,000 |
| |
Entry & exit brokerage:
|
|
$10 x2 = $20 |
| |
Avg entry & exit slippage:
|
|
$0.02 x83 shares x2 = $3.32 |
| |
Total entry & exit costs:
|
|
$23.32, approx 0.23% of trade position size |
Example - Crude Oil futures trade at 10:1 leverage:
| |
Contract size:
|
|
$80,000 (1 contract of 1000 barrels @ $80/barrel) |
| |
Actual trade (irrelevant):
|
|
$8,000 (10:1 leverage) |
| |
Entry & exit brokerage:
|
|
$22 x2 = $44 |
| |
Avg entry & exit slippage:
|
|
$0.01 x1000 barrels x2 = $20 |
| |
Total entry & exit costs:
|
|
$64, approx 0.08% of contract size |
6 - Indicator display output
These parameters only affect the Profit display:
[1] Cumulative profit;
[2] Individual trade profit;
[3] Cumulative risk;
[4] Individual trade risk;
[5] Trade signals.
3 Risk parameters

Overview
Drawdown is measured from the beginning of each trade, and then accumulated
to display overall risk.
Whenever viewing the profit and risk equity curves, it is recommended
that the chart be fully zoomed out (Zoom reset button or Alt+V, Z, R).
This allows for a rapid appreciation of the system's overall profit/risk
characteristics.
1 - Maximum risk % target [0-100%]
This parameter allows the custom target of any specific risk level by
selecting the maximum risk % tolerated.
Used only for Leverage and Position Size calculations.
2 - Maximum recommended leverage displayed [0-1000]
This is necessary in order to avoid a large leverage recommendation
when based on a small sample of data with little or no risk.
3 - Indicator display output
These parameters only affect the Risk display:
[1] Cumulative risk;
[2] Individual trade risk;
[3] Recommended leverage;
[4] Recommended position size at
currently selected leverage;
[5] Profit/Risk ratio (output capped
at 50:1).
Expert signals and Commentary window
 |
|
Overview
(SmartStop is enabled in this example)
The commentary window allows the display of all current signal parameters
and statistics for either the current or any other chosen bar.
In order to view the current VSTpro values, please refresh chart after
any parameter changes in any of the four indicators.
Please take special note of the very important Profit/Risk Ratio statistic
after any changes.
|
Explorer control panel Long/Short templates
The VSTpro explorations are part of a comprehensive backtesting engine.
The purpose of the VSTpro Explorer templates is to control the 22 parameters
referenced by the VSTpro explorations.
Use the above CRE templates to experiment and quickly find promising
strategy combinations, and then apply those parameters to the exploration
templates prior to running the associated explorations.
The exploration parameters are hard-coded within the template's indicators,
so these need to be edited within each indicator formula in order for
the exploration changes to take effect.
No refresh is necessary after any changes.
There are six interconnected VSTpro components within the two Explorer
templates, and their processing flows in the following order:
Index path indicators
MTF/Bands
SmartStop
Profit
Risk
Expert signals & commentary
Parameter edits to the MTF/Bands
will affect the SmartStop/Profit/Risk indicators and Expert Signals/Commentary
outputs that follow.
Parameter edits to the SmartStop
on the chart, will only affect the Profit/Risk indicators and Expert
Signals/Commentary outputs.
Parameter edits to the Profit indicator
in the first window, will only affect the Risk indicator and Expert
Signals/Commentary outputs.
Parameter edits to the Risk indicator
in the second window, will only affect the Expert Signals/Bands/Commentary
outputs.

| |
1) MTF/VST bands indicator

2) SmartStop

3) Profit indicator

4) Risk indicator

5) Expert commentary,
signals, trend, highlights |
Double-click on each of the five chart indicators
to access their parameter values within the Formula tab.
Explorer control panel - Overview
All parameters in each of the four VSTpro X template indicators are
identical in construction and operation to the CRE (global template)
versions, but they require formula editing (within the Formula tab)
for any permanent changes, rather than the simpler input changes found
in the CRE templates.
Double-click on any of the four template indicators, click on the Formula
tab, edit parameters, and save (Ok) - no need to refresh chart.
Please note that any edit changes to any indicators are permanent -
a reminder of original settings can be found within each indicator's
formula, as well as in the Expert Commentary window.
Please do not alter any code beyond the parameters section - if any
indicator code is corrupted by inapropriate editing, it is then best
to shut down MetaStock and quickly re-install VSTpro.
Example - MTF/Bands indicator parameters
The main VSTpro X band indicator incorporates the MTF as well as generating
the VSTpro's timing signals.
The MTF is incorporated into the Band indicator in order to speed up
exploration execution.
Edit Band/MTF parameters to desired values prior to running any of the
VSTpro's Explorations.
(Formula tab window elongated for clarity purposes)
In the above indicator, the only values that should be edited are
these:
type:= 1 ; (change "1" to "2", i.e., type:= 2 ;)
mode:= 1 ; (change "1" to "2" or "3" or "4")
Mpds:= 15 ; (change period value to suit)
... prc:= 3 ;- do not edit any values past this line
Exploration parameter edit examples, based on the MTF/Bands (VSTpro
X Long) indicator:
| |
Section |
|
Parameter |
|
Original |
Description |
|
New |
|
Description |
| |
MTF type |
|
type |
|
1
|
Sharp style MTF |
|
2
|
|
Traditional style MTF |
| |
MTF mode |
|
mode |
|
1
|
Normal |
|
3
|
|
MTF only |
| |
MTF periods |
|
Mpds |
|
15
|
15 MTF periods |
|
14
|
|
14 MTF periods |
| |
Entry |
|
in |
|
5
|
Price below midline |
|
6
|
|
Price below top band |
| |
Exit |
|
ex |
|
3
|
Price above top band |
|
1
|
|
Price above bottom band |
| |
ATR bands spread |
|
sprd |
|
3.5
|
3.5 ATRs |
|
2.5
|
|
2.5 ATRs |
| |
ATR periods |
|
Apds |
|
6
|
6 periods for ATR |
|
5
|
|
5 periods for ATR |
| |
Midline periods |
|
pds |
|
12
|
12 SMA periods |
|
7
|
|
7 SMA periods |
| |
Price |
|
prc |
|
3
|
Close |
|
4
|
|
Weighted Close |
Commentary window
 |
|
Overview
(In this example the SmartStop is disabled by default
- enabling it will produce identical results to the CRE setup above)
After any indicator edits, please check for the following on the commentary
window:
1) Parameters have been changed and saved
as desired;
2) Exploration report values match the CRE
template's with identical parameters.
|
Extracting meaningful information from VSTpro
explorations
The main purpose of the six VSTpro explorations is to collect all
relevant system stats and extract representative values for each universe
of securities tested.
The best representative statistic is the median (middle) value, rather
than the average. Imagine a room with ten people, nine of
which earn $100K/year and one earns $10Mill/yr. The average
of this group's income ($1.09Mill/yr) is not representative of anyone
in that room because the 10th person's income skews the average - the
median ($100K/yr) represents the majority in that group much better.
And so is the case with exploration statistics - the median result represents
a basket of securities much better than the average. This
middle value can be extracted manually for each column as explained
in the VSTpro instructional video, or it can be extracted quickly and
more efficiently with the aid of the included Median.xls spreadsheet
and these three simple steps:
1 - Run any MetaStock Exploration, right-click anywhere in the Exploration
report, select "Copy" from report drop-down menu.
2 - Open VSTpro's companion Median.xls spreadsheet.
3 - Paste (Ctrl+V) into green spreadsheet cell (A6) and see median representative
results for each column immediately.
New: System profit Robustness
stats
Now available to all VSTpro platform templates and explorations
Notes on curve-fitting
Curve-fitting of system parameters often leads to overly-optimistic
backtest results, a problem which arises whenever any strategy is optimized
to a particular data set. The tighter the optimized parameter
fit is to past historical data, the less likely those optimal results
will repeat in the future.
In order to determine the robustness of any strategy on the VSTpro platform
and avoid curve-fitting, VSTpro applies two significant factors to its
unique system robustness indicators and robustness-adjusted profit/risk
ratio:
1) Statistical Significance
Optimal backtest results based on a low number of total trades are generally
statistically unreliable. The robustness % factor is penalized
on a sliding (2nd order polynomial) scale when the total trades in the
backtest period is less than 20. This factor also penalizes
strategies that approach buy & hold as a result of poor exits.
2) Profit variance from mean
Performance results are more reliable when they are based on a consistently
gradual profit curve, rather than based on a few "lucky" trades
that often results in an irregular profit curve which may or may not
repeat in the future.
The VSTpro's Robustness process measures the profit variance between
the historical profit curve and its Linear Regression trendline, compares
this variance to the profit's scale, and penalizes irregular results
on an appropriate 0-100% scale. The Profit/Risk ratio is
then adjusted accordingly.
Irregular profit curve = inconsistent and unreliable system
Smooth and regular profit curve = trustworthy and reliable system
The VSTpro's unique Robustness process takes the guesswork out of building
and testing solid trading strategies.
Select Date & Time for VSTpro backtest range
MTF blacked-out for clarity purposes - click on
chart to expand

The two Long and Short templates incorporate time-base filters which
allow the selection of a backtest date range for EOD charts, and a date
and time range for intraday charts.
Click on the upper gold band to select start & end dates, and on
the band below it (only appears on intraday charts) to select a time
range for each trading session. All signals and stats are
restricted to the selected period.
For more information, please view the VSTtime instructional material
at LearnMetaStock.com