[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

=== Stop Loss



PureBytes Links

Trading Reference Links

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 written
above you will most likely come up with wrong results. It happened to me
last 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

> ----------
> 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
> 

**********************************************************************
LEGAL DISCLAIMER
**********************************************************************
The contents of this email and any transmitted files are confidential 
and intended solely for the use of the individual or entity to whom 
they are addressed. Synopsys hereby excludes any warranty and any 
liability as to the quality or accuracy of the contents of this email 
and any attached transmitted files. If you are not the intended 
recipient, be advised that you have received this email in error and 
that any use, dissemination, forwarding, printing or copying of this 
email is strictly prohibited.

If you have received this email in error please notify the Technology 
Department at Synopsys Ltd. on +44 (0)20 7250 1990.
**********************************************************************