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

Re: [amibroker] Is Status("Barvisible") working ?



PureBytes Links

Trading Reference Links

When I ran your code below, it didn't work until I deleted the "==DateNum()==1020903" part.

As matter of fact, I'd like to thank You, Ken and Thomas for coming up withthe code.

I can watch the all the market groupings (i.e. energy) to see how they are doing, scrolling left and right, using the left side as the "zero" point.

-CS


----- Original Message ----- 
From: Anthony Faragasso 
To: amibroker@xxxxxxxxxxxxxxx 
Sent: Thursday, October 10, 2002 6:03 PM
Subject: [amibroker] Is Status("Barvisible") working ?


Hello,

This code does not seem to work, anyone else using this function.

Is the function still operating ?

/**********************************************/
barvisible = Status("barvisible")==DateNum()==1020903;

firstvisiblebar = barvisible AND NOT Ref( barvisible, -1 );
closevisible = ValueWhen( firstvisiblebar,C) ;
Plot( Close, "Price", 2, 64 );
Plot( closevisible, "closeVisible", 4,2 );

/*********************************************/

It does not load the first bar visible as 9/03/02, and the closevisible
shows Empty.

Thanks
Anthony





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_0054_01C270BF.900B0160
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.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>The version that I run works fine.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>When I ran your code below, it didn't work until I deleted the 
</FONT><FONT size=3><FONT color=#0000ff><FONT face="Courier New" 
color=#000000>"</FONT><FONT face="Courier New">==DateNum()==1020903<FONT 
color=#000000>" <FONT face=Tahoma>part.</FONT></FONT></FONT></FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>As matter of fact, I'd like to thank You, Ken and Thomas for coming upwith 
the code.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>I can watch the all the market groupings (i.e. energy) to see 
how they are doing, scrolling left and right, using the left side as the "zero" 
point.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>-CS</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><IMG alt="" hspace=0 src="cid:005201c270fa$39fcd100$0100007f@xxxxxx"; 
align=baseline border=0></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> 
Anthony Faragasso 
</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> Thursday, October 10, 2002 6:03 
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [amibroker] Is 
Status("Barvisible") working ?</DIV>
<DIV><BR></DIV><TT>Hello,<BR><BR>This code does not seem to work, anyone else 
using this function.<BR><BR>Is the function still operating 
?<BR><BR>/**********************************************/<BR>barvisible = 
Status("barvisible")==DateNum()==1020903;<BR><BR>firstvisiblebar = barvisible 
AND NOT Ref( barvisible, -1 );<BR>closevisible = ValueWhen(&nbsp; 
firstvisiblebar,C) ;<BR>Plot( Close, "Price", 2, 64 );<BR>Plot( closevisible, 
"closeVisible", 4,2 
);<BR><BR>/*********************************************/<BR><BR>It does not 
load the first bar visible as 9/03/02, and the closevisible<BR>shows 
Empty.<BR><BR>Thanks<BR>Anthony<BR><BR><BR><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_0054_01C270BF.900B0160--

Attachment: Description: ""