log in     sign up for free
 
There are many different classifications of exits other than your initial stop loss. These include exits that produce a loss but reduce your initial risk, exits that maximize profits, and exits that keep you from giving back too much money, and psychological exits.
Van K. Tharp
 
 
Home
systems (284)
 
Special offer: buy MetaStock (try for free)   |   Reuters QuoteCenter Real-Time Data (get a free month)   |   EOD Data
 

Buy

MetaStock

     (special offer)
 
 
 

Buy

EOD data for MetaStock

     (special offer)
 
 
 

Buy

Realtime data for MetaStock

     (special offer)
 
 
 
Formula Library
 
AmiBroker
MetaTrader
MetaStock
TradeStation
Wealth-Lab
NinjaTrader
 
add your formula
System Library
 
 
Account login
Your email:
Password:
 
Log in
New to s4t? Sign up.
If you forgot your password click here.
Search the Web
 
Custom Search

Relative Performance Charting

Formula for: MetaStock

indicator


 

 

Views:  1666

Added: December 16, 2007
 
Rate this code:  Rate: 1 Rate: 2 Rate: 3 Rate: 4 Rate: 5
This formula has not been rated yet
 

email this link

 
 
Tags: MetaStock, indicator
 
Your Ad Here
Performance charts, as described in "Relative Performance Charting" by Phil Doyle elsewhere in this issue, can be recreated in MetaStock by the following means:
Open the charts you wish to compare, designating one of the charts as your baseline chart.
Select "Tile" from MetaStock's Window menu to make all charts visible.
Plot the performance indicator into a new inner window in each of the open charts. You will want to change the color of each of the indicators so that you can differentiate between them when they are in the same chart.
In a chart other than your baseline chart, select the performance indicator. From here, you will need to either copy and paste or drag and drop (whichever you prefer) the performance indicator on top of the performance indicator in the baseline chart. If prompted, select the "merge with scales on right" option. Repeat the above steps with all the other charts until your baseline chart contains all the other charts' performance indicators.
For better viewing, maximize your baseline chart.

To plot the performance of several securities using a different symbol as the base, use these steps:
Create the following custom indicator:
Name: Baseline performance

Formula: P-Per()


Open the charts you wish to compare, designating one of the charts as your baseline chart. For this example, let's open EBAY, MSFT, and CSCO, choosing CSCO as our baseline chart.
Select "Tile" from MetaStock's Window menu to make all charts visible.
Plot the performance indicator into a new inner window in each of the open charts. You will want to change the color of each of the indicators so that you can differentiate between them when they are in the same chart.
Drag the performance indicator from Ebay's chart, and place it on top of the performance indicator in your baseline chart (CSCO).
Plot the baseline performance indicator directly on top of EBAY's performance indicator in Csco's chart.
Move the resulting plot to the chart in which you wish to compare the relative performance in. Close EBAY's chart.
Repeat steps 5 through 7 for all other securities.
You should be left with a single chart containing all of the baseline performance plots.
In MetaStock Professional version 7.0 and above, the procedure can be simplified by using the Security () function instead of the p variable. However, a separate custom formula needs to be created for each symbol you wish to use as the baseline chart. The formula is written after the following model:

Baseline Performance with .SPX

Per()-Security(".SPX", Per())

This formula uses the ticker symbol .SPX as the baseline. To use a different symbol, just change .SPX to the desired symbol. In addition, the formula assumes that the ticker symbol of the baseline is located in the same folder as the symbol you are plotting the formula on. If the location is different, you will need to change the formula to include the correct path. For example, if the ticker symbol .SPX were located in the folder C:MetaStock Dataindex, the formula would be written as:

Formula: Per()-Security("C:MetaStock Dataindex.SPX", Per () )

Using the above formula, MetaStock Pro users can plot this indicator instead of the performance indicator following these directions:

Create a custom indicator using the formula listed above.
Open the charts you wish to compare, designating one of the charts as your baseline chart.
Select "Tile" from MetaStock's Window menu to make all charts visible.
Plot the custom indicator into a new inner window in each of the open charts. You will want to change the color of each of the indicators so that you can differentiate between them when they are in the same chart.
In a chart other than your baseline chart, select the performance indicator. From here, you will need to either copy and paste or drag and drop (whichever you prefer), the performance indicator on top of the performance indicator in the baseline chart. If prompted, select the "merge with scales on right" option. Repeat the above steps with all of the other charts until your baseline chart contains all of the other charts' performance indicators.
6 For better viewing, maximize your baseline chart.

--Cheryl C. Abram, Equis International, Inc.

 

 



Code:

Baseline Performance with WIG

Per()-Security("NAME", Per())

 






Author: Phil Doyle
Source: http://www.traders.com

 

View similar (indicator for MetaStock):

MACD Modified - Time Series Forecast
Stochastic RSI - Various Options
Timed Exit
ATR Trailing Stop Loss I
Breakout Range2
ATR Based Stops
High and Low of the First Hour
VIC 5 Day\'s Price Disparity Oscillator
Haesler's ATR
Durmmond's PLdot
...
 
 
all formulas for MetaStock
all formulas

 

 

Email to friend

Top

 

     
However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators
and systems are submitted by anonymous users.
Therefore S4T™ does not take any responsibility for it's quality.
If you use any of this information, use it at your own risk. You are responsible for your own trading decisions.
Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade.
In no case will S4T™ be responsible for your trading gains or losses.
 
Privacy note | (c) copyrights systems4trading.com 2006-2012