PureBytes Links
Trading Reference Links
|
<FONT
face="Courier New">Just hadn't woken up yet... this is one solution of probably
many:
<FONT
face="Courier New">
<FONT
face="Courier New">startpoint = Status<FONT
color=#000000>("barvisible"<FONT
face="Courier New">); <FONT
color=#0000ff>Plot(StartPoint,<FONT
color=#ff00ff>"SP",<FONT
color=#ff00ff>1,<FONT
color=#ff00ff>1);
FirstBarVisible = startpoint - Ref<FONT
color=#000000>( startpoint, -1<FONT
face="Courier New"> ); <FONT
color=#0000ff>Plot(FirstBarVisible,<FONT
color=#ff00ff>"FBV",<FONT
color=#ff00ff>4,<FONT
color=#ff0000>styleArea|<FONT
color=#ff0000>styleOwnScale,<FONT
color=#ff00ff>0,<FONT
color=#ff00ff>1);
LastBarVisible = StartPoint==1<FONT
color=#000000> AND
Ref<FONT
color=#000000>(StartPoint,1<FONT
color=#000000>)==0<FONT
face="Courier New">; <FONT
color=#0000ff>Plot(LastBarVisible,<FONT
color=#ff00ff>"LBV",<FONT
color=#ff00ff>1,<FONT
color=#ff0000>styleArea|<FONT
color=#ff0000>styleOwnScale,<FONT
color=#ff00ff>0,<FONT
color=#ff00ff>1);<FONT
face="Times New Roman">
<SPAN
class=640550300-16012004>
<SPAN
class=640550300-16012004>herman.
<SPAN
class=640550300-16012004>
<SPAN
class=640550300-16012004>
<SPAN
class=640550300-16012004>
<SPAN
class=640550300-16012004>Hello,
<SPAN
class=640550300-16012004>
I need a single bar
signal during the first and last bar in my Display. I solved the first one like
this:
<SPAN
class=640550300-16012004>
<FONT
size=2>startpoint = Status<FONT
color=#000000>("barvisible"<FONT
face=Arial>); FirstBarVisible = startpoint
- Ref( startpoint,
-1 );
<SPAN
class=640550300-16012004>
Is there a similar
command to detect the last bar in the display?
<SPAN
class=640550300-16012004>
many
thanks,
<SPAN
class=640550300-16012004>herman
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
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
Yahoo! Groups Sponsor
ADVERTISEMENT
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|