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

RE: [amibroker] Study - Vertical line - How to determine BarIndex of - using AFL



PureBytes Links

Trading Reference Links

Sorry, did not read properly

xBar = ValueWhen( Cross(BarIndex(),Study("BB")), BarIndex() );

If your line is on the built-in price chart, if on a another chart use the
ChartID that you can find in the top right corner of the IB edit window

xBar = ValueWhen( Cross(BarIndex(),Study("BB")), BarIndex() , 1234 ); //for
ChartID 1234

Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia 

-----Original Message-----
From: Graham [mailto:gkavanagh@xxxxxxxxxxxxx] 
Sent: Wednesday, 22 October 2003 6:38 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Study - Vertical line - How to determine BarIndex
of - using AFL


Try this 

xBar = ValueWhen( Cross(BarIndex(),Study("UP")), BarIndex() );

Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia 

-----Original Message-----
From: aequalsz [mailto:aequalsz@xxxxxxxxx] 
Sent: Tuesday, 21 October 2003 11:45 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Study - Vertical line - How to determine BarIndex of -
using AFL


A study ID of BB has been assigned to a VERTICAL LINE study drawn on a
chart.  Is there a way to determine the BarIndex at which this vertical line
has been drawn?  

So far I have only been able to reference the BarIndex of TRENDLINE studies
using the cross function.  Would prefer to use vertical line if possible.  

a









 



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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/Tq9otC/XP.FAA/3jkFAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/