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

RE: [EquisMetaStock Group] Stop loss line in a graph



PureBytes Links

Trading Reference Links









I must have missed some earlier postings.  Can you
explain what EDATRFactor and TSATRFactor mean?:<font size=2
face=Arial>

 



<font size=3
face="Times New Roman">





From:<font size=2
face=Tahoma> Mike Sloane
[mailto:mfsloane@xxxxxxxxxxxxxx] 
Sent: Monday, August 16, 2004
11:18 AM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: RE: [EquisMetaStock
Group] Stop loss line in a graph



 



<span
>This is a stop loss indicator based on the
following:

<span
> 

<span
>a) an initial entry day stop set at
"EDATRFactor"% away from the entry price<font
color=blue>

<span
>b) a trailing stop loss set at
"TSATRFactor"% away from the highest high since entry.<font
color=blue>

<span
> 

<span
>When you pull the indicator onto a chart
you will be prompted for:

<span
> 

<span
>a) Entry Price: leaving it at zero will
assume that you entered at yesterday's high<span
>

<span
>b) EDATRFactor; default is 0.75%<font
color=blue>

<span
>c) TSATRFactor: default is 2.50%<font
color=blue>

<span
>d) Buy Day: enter date of purchase<font
color=blue>

<span
>e) Buy Month: enter month of purchase<font
color=blue>

<span
>f) Buy Year: enter year of purchase<font
color=blue>

<span
> 

<span
>I am sure that this will give you the
general picture; if you wish to define where your 6% stop loss is calculated
from I would be happy to modify the code for you.<font
color=blue>

<span
> 

<span
>Good trading,<font
color=blue>

<span
>Mike<span
>

<span
> 

<span
> 

<span
> 

<span
>EntryPrice:= Input("Entry Price?
(leave 0.00 for prior HIGH)",0.00,100000,0.00);

<span
>EDATRFactor:= Input("Entry Day ATR
Factor?",0.1,10,0.75);

<span
>TSATRFactor:= Input("Trailing Stop
ATR Factor?",0.1,20,2.5);

<span
>BuyDay:= Input("Day of the Month you
bought the share?",1,31,2);

<span
>BuyMonth:= Input("Month you bought
the share?",1,12,1);

<span
>BuyYear:= Input("Year you bought the
share?",1999,2020,2004);

<span
>EntryDay:= DayOfMonth()=BuyDay AND
Month()=BuyMonth AND Year()=BuyYear;

<span
>EPR:= If(EntryPrice = 0, Ref(H, -1),
EntryPrice);

<span
>SUDS:= ValueWhen(1, EntryDay, EPR -
EDATRFactor *ATR(10));

<span
>TS:= Ref(H,-1) - TSATRFactor *ATR(10);

<span
>If(EntryDay, SUDS,
HighestSince(1,EntryDay,Max(SUDS, TS)));<span
>





 





 





<span
>-----Original Message-----
From: nivelles2002be
[mailto:bs113282@xxxxxxxxx] 
Sent: Monday, 16 August 2004 6:45
PM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group]
Stop loss line in a graph





Hi,   How it is possible to have in a graph Metastock 7.21 ,
a STOP <span
>
LOSS LINE for a stock:  I buy this stock
1/2/2001 foe exemple,   My 
stop loss to sell is :6% . 
My problem is to indicate the "" buy date
" in a formula with the 
stop loss . 
Thanks for an answer .
















Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/equismetastock/ 
To unsubscribe from this group, send an email to:equismetastock-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.