log in     sign up for free
 
Dramatic and emotional trading experiences tend to be negative. Pride is a great banana peel, as are hope, fear, and greed. My biggest slip-ups occurred shortly after I got emotionally involved with positions.
Ed Seykota
 
 
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

Wallie's 20% Stop Loss Indicator

Formula for: MetaStock

indicator


 

 

Views:  85353

Added: May 22, 2008
 
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
From: Norman Walsh[SMTP:nwalsh@xxxxxxxxxxx]
Reply To: metastock@xxxxxxxxxxxxx
Sent: 13 March 2000 20:47
To: metastock-list@xxxxxxxxxxxxx
Subject: Stop Loss
Hi

As a new comer to metastock I would like to know how to plot an Indicator 20% below a line chart, as a stop loss. Also how to start it at a specific date.

Thanks in advance.
wallie.

Close - 0.2 * Close
(1 - 0.2)Close
0.8 * Close


=== Stop Loss

· To: "'metastock@xxxxxxxxxxxxx'"
· Subject: === Stop Loss
· From: "Kolade, Adeniyi"
· Date: Tue, 14 Mar 2000 12:16:51 -0000
· Reply-To: metastock@xxxxxxxxxxxxx
· Sender: owner-metastock@xxxxxxxxxxxxx

Plot Either of these end

Close - 0.2 * Close,
(1 - 0.2)*Close,
0.8 * Close,

In order to get it to start at a specific date say 12/05/1999 in dd/mm/yyyy format (sorry, I live in the uk) use the following syntax for example

(1 - 0.2)*Close
And
(
(Day >= 12 And Month >= 5 And Year = 1999)
Or/And
(Month >= 5 And Year = 1999)
Or/And)
Year >= 2000
)

(Where I have written (Or / And) try either I can't remember which is the right one to use, I think its Or.)

The syntax for date comparisions in Metastock is exasperating and I have mentioned this to Equis Support, with no reply

However, if you do not go through the 'exasperation' that I have writtenabove you will most likely come up with wrong results. It happened to melast thursday, that's why I can tell you.

I'll try and send you the code for what I was doing after lunch or tomorrow

ade Kolade
Synopsys Limited

Tel: +44 (0)0207 250 1990
Fax: +44 (0)0207 553 4713
Email: adeniyi.kolade@xxxxxxxxxxxxxxx
www http://www.synopsys.ltd.uk

[17752]

Re: Stop Loss

· To: metastock@xxxxxxxxxxxxx
· Subject: Re: Stop Loss
· From: "j seed"
· Date: Tue, 14 Mar 2000 14:57:30 GMT
· Reply-To: metastock@xxxxxxxxxxxxx
· Sender: owner-metastock@xxxxxxxxxxxxx

Wallie,
Pie of cake! First go to the Indicator Builder...click on new...name your new indicator (Wallie's 20% Stop Loss Indicator). Now the hard part...how does your original indicator plot? Is it an oscillator or a simple line study? Oscillators plot above and below a specific point usually zero. Line studies plot price values. If you are willing to accept a value that is 80% of your original indicator value then go to functions and select your indicator (ie. let's use CCI(14)...) Finally, we want a value of 80% so
we'll multiply by .80 . So here's your indicator:

W20SLI

CCI(14) * .80

You may also want to use the other side of the equation by multiplying by 120%; so your indicator would be:

CCI(14) * 1.20

You can plot both lines at the same time in the same indciator by defining them in an indicator as follows:

 

 



Code:

Wallie's 20% Stop Loss Indicator
MINUS:= CCI(14) * .80;
PLUS:= CCI(14) * 1.20;
MINUS;
PLUS;

 





Source: http://purebytes.com/archives/metastock/

 

View similar (indicator for MetaStock):

Candle - 3 Black Crows
Flat Market Indicator (FMI)
Volatility Trade In Gold
Cyclical System
Bell Ringer's StochRSI 14
Exponential Moving Average - Trade-Adjusted
Lone Ranger
Inverse Fisher Transform
Arms Ease of Movement - Normalized
Cumulative Volume (Variation) Indicator
...
 
 
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