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

Re: [amibroker] Re: TrailingStop dll



PureBytes Links

Trading Reference Links

here are the indexes you asked. All have the same holes. In my databse there are 944 quotes for ^IXIC and ^NDX, QQQ has 897. To plot these graphs I used 

Index1 = scHigherValue(H,2);
Plot(C,"Close",1,64);

Plot(Index1,"Index1",5,1);

Thanks in advance and best regards,

Franco

----- Original Message ----- 
From: Stephane Carrasset 
To: amibroker@xxxxxxxxxxxxxxx 
Sent: Monday, October 07, 2002 1:07 PM
Subject: [amibroker] Re: TrailingStop dll


Franco,

I am sorry, but I am not able to reproduce the bug
I have tried to download KB but it seems in yahoo I can't have 
enough data
if you find this bug on spx or dji or ndx or qqq or ixic
I'll look

stephane

> 
> unfortunately nothing changed. As you can see in the attached new 
gifs, it's not a matter of plotting, but just of calculation: in the 
first occurrence the variable is empty, in the second one it is not. 
It seems as if the formula wasn't able to look back enough, or, 
perhaps, out of graph.
> 
> Thanks for your willingness and best regards,
> 
> Franco
> ----- Original Message ----- 
> From: Stephane Carrasset 
> To: amibroker@xxxx 
> Sent: Sunday, October 06, 2002 9:11 PM
> Subject: [amibroker] Re: TrailingStop dll
> 
> 
> I am unable to reproduce this bug,quick afl or not.
> I have check the code, in fact the code begin with i=1
> so i have initialized the "higher and Co" at empty_val for i=0
> and uploaded in third party
> download it and see if the problem is always there.
> 
> stephane
> 
> > in some cases you are certainly right, but look these two new 
> gifs. They show the same symbol shifted back and forth. As you 
can 
> see, at the same bar, the line appear and disappear.
> > 
> > Best regards,
> > 
> > Franco
> > ----- Original Message ----- 
> > From: Stephane Carrasset 
> > To: amibroker@xxxx 
> > Sent: Sunday, October 06, 2002 5:21 PM
> > Subject: [amibroker] Re: TrailingStop dll
> > 
> > 
> > I think that's because at the bar where you ask highervalue 
> you're 
> > at the highest bar since first bar loaded
> > and vice versa for lowerbars
> > 
> > 
> > stephane
> > > 
> > > please, look at the attached gifs. Why scLOWERVALUE() and 
> > scHIGHERVALUE() functions sometime are empty?
> > > 
> > > Thanks in advance and best regards,
> > > 
> > > Franco
> > 
> > 
> > Yahoo! Groups Sponsor 
> > ADVERTISEMENT
> >              
> >        
> >        
> > 
> > Post AmiQuote-related messages ONLY to: amiquote@xxxx 
> > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > 
> > Check group FAQ at: 
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> > 
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
> Service.
> 
> 
> Yahoo! Groups Sponsor 
> ADVERTISEMENT
>              
>        
>        
> 
> Post AmiQuote-related messages ONLY to: amiquote@xxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> 
> Check group FAQ at: 
http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.


Yahoo! Groups Sponsor 
ADVERTISEMENT
             
       
       

Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


------=_NextPart_001_0032_01C26E06.A6AB52A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2719.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Stephan,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>here are the indexes you asked. All have the same 
holes. In my databse there are 944 quotes for ^IXIC and ^NDX,&nbsp;QQQ has 897. 
To plot these graphs I used </FONT></DIV>
<DIV><FONT face="Courier New" size=1><FONT size=2></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=1><FONT size=2>Index1 = </FONT></FONT><FONT 
size=2><FONT face="Courier New" color=#0000ff>scHigherValue</FONT><FONT 
face="Courier New">(<B>H</B>,</FONT><FONT face="Courier New" 
color=#ff00ff>2</FONT><FONT face="Courier New" size=1>);</FONT></FONT></DIV>
<DIV><FONT size=2><FONT face="Courier New" size=1><FONT face="Courier New" 
color=#0000ff size=1>
<P><FONT size=2>Plot</FONT></FONT><FONT size=2><FONT 
face="Courier New">(<B>C</B>,</FONT><FONT face="Courier New" 
color=#ff00ff>"Close"</FONT><FONT face="Courier New">,</FONT><FONT 
face="Courier New" color=#ff00ff>1</FONT><FONT face="Courier New">,</FONT><FONT 
face="Courier New" color=#ff00ff>64</FONT><FONT 
face="Courier New">);</FONT></FONT></P><FONT size=2><FONT 
face="Courier New"><FONT face="Courier New" color=#0000ff size=1>
<P><FONT size=2>Plot</FONT></FONT><FONT face="Courier New">(Index1,</FONT><FONT 
face="Courier New" color=#ff00ff>"Index1"</FONT><FONT 
face="Courier New">,</FONT><FONT face="Courier New" color=#ff00ff>5</FONT><FONT 
face="Courier New">,</FONT><FONT face="Courier New" color=#ff00ff>1</FONT><FONT 
face="Courier New" size=1><FONT size=2>);</FONT></FONT></P>
<P><FONT face="Courier New" size=1><FONT face=Arial size=2>Thanks in advance and 
best regards,</FONT></FONT></P>
<P><FONT face="Courier New" size=1><FONT face=Arial 
size=2>Franco</FONT></P></FONT></FONT></FONT></FONT></FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV 
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
<A title=nenapacwanfr@xxxx href="mailto:nenapacwanfr@xxxx";>Stephane 
Carrasset</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=amibroker@xxxxxxxxxx 
href="mailto:amibroker@xxxxxxxxxxxxxxx";>amibroker@xxxxxxxxxxxxxxx</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, October 07, 2002 1:07 
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [amibroker] Re: TrailingStop 
dll</DIV>
<DIV><BR></DIV><TT>Franco,<BR><BR>I am sorry, but I am not able to reproduce 
the bug<BR>I have tried to download KB but it seems in yahoo I can't have 
<BR>enough data<BR>if you find this bug on spx or dji or ndx or qqq or 
ixic<BR>I'll look<BR><BR>stephane<BR><BR>&gt; <BR>&gt; unfortunately nothing 
changed. As you can see in the attached new <BR>gifs, it's not a matter of 
plotting, but just of calculation: in the <BR>first occurrence the variable is 
empty, in the second one it is not. <BR>It seems as if the formula wasn'table 
to look back enough, or, <BR>perhaps, out of graph.<BR>&gt; <BR>&gt; Thanks 
for your willingness and best regards,<BR>&gt; <BR>&gt; 
Franco<BR>&gt;&nbsp;&nbsp; ----- Original Message ----- <BR>&gt;&nbsp;&nbsp; 
From: Stephane Carrasset <BR>&gt;&nbsp;&nbsp; To: amibroker@xxxx 
<BR>&gt;&nbsp;&nbsp; Sent: Sunday, October 06, 2002 9:11 
PM<BR>&gt;&nbsp;&nbsp; Subject: [amibroker] Re: TrailingStop dll<BR>&gt; 
<BR>&gt; <BR>&gt;&nbsp;&nbsp; I am unable to reproduce this bug,quick aflor 
not.<BR>&gt;&nbsp;&nbsp; I have check the code, in fact the code begin with 
i=1<BR>&gt;&nbsp;&nbsp; so i have initialized the "higher and Co" at empty_val 
for i=0<BR>&gt;&nbsp;&nbsp; and uploaded in third party<BR>&gt;&nbsp;&nbsp; 
download it and see if the problem is always there.<BR>&gt; 
<BR>&gt;&nbsp;&nbsp; stephane<BR>&gt; <BR>&gt;&nbsp;&nbsp; &gt; in some cases 
you are certainly right, but look these two new <BR>&gt;&nbsp;&nbsp; gifs. 
They show the same symbol shifted back and forth. As you <BR>can 
<BR>&gt;&nbsp;&nbsp; see, at the same bar, the line appear and 
disappear.<BR>&gt;&nbsp;&nbsp; &gt; <BR>&gt;&nbsp;&nbsp; &gt; Best 
regards,<BR>&gt;&nbsp;&nbsp; &gt; <BR>&gt;&nbsp;&nbsp; &gt; 
Franco<BR>&gt;&nbsp;&nbsp; &gt;&nbsp;&nbsp; ----- Original Message ----- 
<BR>&gt;&nbsp;&nbsp; &gt;&nbsp;&nbsp; From: Stephane Carrasset 
<BR>&gt;&nbsp;&nbsp; &gt;&nbsp;&nbsp; To: amibroker@xxxx <BR>&gt;&nbsp;&nbsp; 
&gt;&nbsp;&nbsp; Sent: Sunday, October 06, 2002 5:21 PM<BR>&gt;&nbsp;&nbsp; 
&gt;&nbsp;&nbsp; Subject: [amibroker] Re: TrailingStop dll<BR>&gt;&nbsp;&nbsp; 
&gt; <BR>&gt;&nbsp;&nbsp; &gt; <BR>&gt;&nbsp;&nbsp; &gt;&nbsp;&nbsp; I think 
that's because at the bar where you ask highervalue <BR>&gt;&nbsp;&nbsp; 
you're <BR>&gt;&nbsp;&nbsp; &gt;&nbsp;&nbsp; at the highest bar since first 
bar loaded<BR>&gt;&nbsp;&nbsp; &gt;&nbsp;&nbsp; and vice versa for 
lowerbars<BR>&gt;&nbsp;&nbsp; &gt; <BR>&gt;&nbsp;&nbsp; &gt; 
<BR>&gt;&nbsp;&nbsp; &gt;&nbsp;&nbsp; stephane<BR>&gt;&nbsp;&nbsp; 
&gt;&nbsp;&nbsp; &gt; <BR>&gt;&nbsp;&nbsp; &gt;&nbsp;&nbsp; &gt; please, look 
at the attached gifs. Why scLOWERVALUE() and <BR>&gt;&nbsp;&nbsp; 
&gt;&nbsp;&nbsp; scHIGHERVALUE() functions sometime are 
empty?<BR>&gt;&nbsp;&nbsp; &gt;&nbsp;&nbsp; &gt; <BR>&gt;&nbsp;&nbsp; 
&gt;&nbsp;&nbsp; &gt; Thanks in advance and best regards,<BR>&gt;&nbsp;&nbsp; 
&gt;&nbsp;&nbsp; &gt; <BR>&gt;&nbsp;&nbsp; &gt;&nbsp;&nbsp; &gt; 
Franco<BR>&gt;&nbsp;&nbsp; &gt; <BR>&gt;&nbsp;&nbsp; &gt; <BR>&gt;&nbsp;&nbsp; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Yahoo! Groups Sponsor 
<BR>&gt;&nbsp;&nbsp; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
ADVERTISEMENT<BR>&gt;&nbsp;&nbsp; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>&gt;&nbsp;&nbsp; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>&gt;&nbsp;&nbsp; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>&gt;&nbsp;&nbsp; &gt; <BR>&gt;&nbsp;&nbsp; &gt;&nbsp;&nbsp; Post 
AmiQuote-related messages ONLY to: amiquote@xxxx <BR>&gt;&nbsp;&nbsp; 
&gt;&nbsp;&nbsp; (Web page: <A 
href="http://groups.yahoo.com/group/amiquote/messages/)">http://groups.yahoo.com/group/amiquote/messages/)</A><BR>&gt;&nbsp;&nbsp; 
&gt; <BR>&gt;&nbsp;&nbsp; &gt;&nbsp;&nbsp; Check group FAQ at: 
<BR>&gt;&nbsp;&nbsp; <A 
href="http://groups.yahoo.com/group/amibroker/files/groupfaq.html";>http://groups.yahoo.com/group/amibroker/files/groupfaq.html</A> 
<BR>&gt;&nbsp;&nbsp; &gt; <BR>&gt;&nbsp;&nbsp; &gt;&nbsp;&nbsp; Your use of 
Yahoo! Groups is subject to the Yahoo! Terms of <BR>&gt;&nbsp;&nbsp; 
Service.<BR>&gt; <BR>&gt; 
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Yahoo! Groups Sponsor 
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
ADVERTISEMENT<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&gt; 
<BR>&gt;&nbsp;&nbsp; Post AmiQuote-related messages ONLY to: amiquote@xxxxx 
<BR>&gt;&nbsp;&nbsp; (Web page: <A 
href="http://groups.yahoo.com/group/amiquote/messages/)">http://groups.yahoo.com/group/amiquote/messages/)</A><BR>&gt; 
<BR>&gt;&nbsp;&nbsp; Check group FAQ at: <BR><A 
href="http://groups.yahoo.com/group/amibroker/files/groupfaq.html";>http://groups.yahoo.com/group/amibroker/files/groupfaq.html</A> 
<BR>&gt; <BR>&gt;&nbsp;&nbsp; Your use of Yahoo! Groups is subject to the 
Yahoo! Terms of <BR>Service.<BR><BR></TT><BR><BR><TT>Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx <BR>(Web page: <A 
href="http://groups.yahoo.com/group/amiquote/messages/)">http://groups.yahoo.com/group/amiquote/messages/)</A><BR><BR>Check 
group FAQ at: <A 
href="http://groups.yahoo.com/group/amibroker/files/groupfaq.html";>http://groups.yahoo.com/group/amibroker/files/groupfaq.html</A></TT> 
<BR><BR><TT>Your use of Yahoo! Groups is subject to the <A 
href="http://docs.yahoo.com/info/terms/";>Yahoo! Terms of Service</A>.</TT> 
<BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_001_0032_01C26E06.A6AB52A0--

Attachment:
gif00467.gif
Description: GIF image
Attachment:
gif00468.gif
Description: GIF image

Attachment: Description: "Description: GIF image"

Attachment: Description: "gif00469.gif"

Attachment: Description: "Attachment:"