PureBytes Links
Trading Reference Links
|
Peter,
You absolutely can use LineArray in an indicator. Use the example in the help file as a guide.
I have seen the behavior you've described only when I was using x values based on BarIndex, and I hadn't set the barindex flag to True in the LineArray function.
Hope this helps,
Gary"PeterJ (wpq)" <pjcwebpagequery@xxxxxxxxxxx> wrote:
I want to plot lines on my indicators, eg, MACD, SlowStoch, etc, and I triedusing the LineArray function but I cannot get it to plot.Eg:LRegLn = LineArray( 1250, 15, 1330, 85, 0 );Plot(LRegLn, "LinReg Line", colorBlue );This 'flashes' a line on the chart as I click the 'apply' button in IB butit immediately disappears and the title shows "LinReg Line = {EMPTY}"indicating that there are no values to plot???I have no trouble using LineArray on the price window which leads me to thesubject question - Can LineArray() be used on indicators?_______peterjSend BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to suggest@xxxxxxxxxxxxx-----------------------------------------Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
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.
|