A new blank chart TJ with simply 'price' dragged & dropped on top... then the line of code you suggested added.
In fact the code makes no difference. The first two lines of the interpretation window change also... so i actually don't need any code to see that it is doing it. the selector line stays where it is. --- In [email protected], "Tomasz Janeczko" <[EMAIL PROTECTED]> wrote: > > Do you try that on "independent" or "linked" chart ? > > Best regards, > Tomasz Janeczko > amibroker.com > ----- Original Message ----- > From: "sidhartha70" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Tuesday, October 07, 2008 5:18 PM > Subject: [amibroker] Re: Interpretation Window > > > > For reference it does exactly the same on a different database. > > > > I'm happy to liase with Marcin on this TJ if you'd prefer...? > > > > --- In [email protected], "sidhartha70" <sidhartha70@> wrote: > >> > >> TJ, > >> > >> I just pasted the following code into a new chart, > >> > >> Plot( C, "Close", ParamColor("Color", colorWhite ), styleNoTitle | > >> ParamStyle("Style") | GetPriceStyle() ); > >> WriteVal( SelectedValue( DateTime() ), formatDateTime ); > >> > >> And i get exactly the same issue. It shows the selector line info > >> breifly and the immediately diverts to the current live data feed info. > >> > >> Any ideas what I can do here...? I'm running 5.19. > >> > >> > >> --- In [email protected], "Tomasz Janeczko" <groups@> wrote: > >> > > >> > I can't reproduce the problem you are having. It works OK for me. > >> > See the following code: > >> > > >> > WriteVal( SelectedValue( DateTime() ), formatDateTime ); > >> > > >> > It will display selected value timestamp. Works fine on my end. > >> > > >> > Best regards, > >> > Tomasz Janeczko > >> > amibroker.com > >> > ----- Original Message ----- > >> > From: "sidhartha70" <sidhartha70@> > >> > To: <[email protected]> > >> > Sent: Tuesday, October 07, 2008 2:48 PM > >> > Subject: [amibroker] Re: Interpretation Window > >> > > >> > > >> > > Bill, > >> > > > >> > > Thanks. Well, I'm using it from a chart into the interpretation > > window > >> > > so it 'should not' be returning (after a second or two) from the > >> > > selectedvalue() of the selector line to that of barcount-1. > >> > > > >> > > TJ, can you comment...? I did email support yesterday about this. > >> > > > >> > > TIA > >> > > > >> > > --- In [email protected], "wavemechanic" <timesarrow@> > > wrote: > >> > >> > >> > >> See discussion in Help: > >> > > http://www.amibroker.com/guide/afl/selectedvalue.html > >> > >> > >> > >> Bill > >> > >> ----- Original Message ----- > >> > >> From: sidhartha70 > >> > >> To: [email protected] > >> > >> Sent: Tuesday, October 07, 2008 5:20 AM > >> > >> Subject: [amibroker] Re: Interpretation Window > >> > >> > >> > >> > >> > >> Can anyone help with this...? Is this behaviour expected or > > is it a > >> > >> bug...? > >> > >> > >> > >> TIA > >> > >> > >> > >> --- In [email protected], "sidhartha70" <sidhartha70@> > >> wrote: > >> > >> > > >> > >> > Hi All, > >> > >> > > >> > >> > I'm trying to use the interpretation window to display detailed > >> > >> > information about the currently 'selected' bar (i.e. currently > >> > >> > selected with selector line). > >> > >> > I use code in the following form, > >> > >> > > >> > >> > if(SelectedValue(Condition1)) printf("Buy Here\n"); > >> > >> > if(SelectedValue(Condition2)) printf("Sell Here\n"); > >> > >> > > >> > >> > It works fine. Except, that every time the price 'ticks' > > (i.e. I > >> > > get a > >> > >> > new live price into the chart - which is set every 2 seconds > >> in my > >> > >> > preferences), the interpretation window immediately changes to > >> > > display > >> > >> > the current bars information - the current bar now being that > >> at the > >> > >> > right hand edge of the chart rather than that selected by the > >> > > selector > >> > >> > bar. > >> > >> > > >> > >> > Is there a way of stopping this behaviour...? > >> > >> > > >> > >> > Many Thanks > >> > >> > > >> > >> > >> > >> > >> > >> > >> > >> ------------------------------------ > >> > >> > >> > >> **** IMPORTANT **** > >> > >> This group is for the discussion between users only. > >> > >> This is *NOT* technical support channel. > >> > >> > >> > >> ********************* > >> > >> TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail > >> > > directly to > >> > >> SUPPORT {at} amibroker.com > >> > >> ********************* > >> > >> > >> > >> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > >> > >> http://www.amibroker.com/devlog/ > >> > >> > >> > >> For other support material please check also: > >> > >> http://www.amibroker.com/support.html > >> > >> > >> > >> ********************************* > >> > >> Yahoo! Groups Links > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > > > >> > > ------------------------------------------------------------------------------ > >> > >> > >> > >> > >> > >> > >> > >> No virus found in this incoming message. > >> > >> Checked by AVG - http://www.avg.com > >> > >> Version: 8.0.173 / Virus Database: 270.7.6/1711 - Release Date: > >> > > 10/6/2008 5:37 PM > >> > >> > >> > > > >> > > > >> > > > >> > > ------------------------------------ > >> > > > >> > > **** IMPORTANT **** > >> > > This group is for the discussion between users only. > >> > > This is *NOT* technical support channel. > >> > > > >> > > ********************* > >> > > TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail > >> directly to > >> > > SUPPORT {at} amibroker.com > >> > > ********************* > >> > > > >> > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > >> > > http://www.amibroker.com/devlog/ > >> > > > >> > > For other support material please check also: > >> > > http://www.amibroker.com/support.html > >> > > > >> > > ********************************* > >> > > Yahoo! Groups Links > >> > > > >> > > > >> > > > >> > > >> > > > > > > > > ------------------------------------ > > > > **** IMPORTANT **** > > This group is for the discussion between users only. > > This is *NOT* technical support channel. > > > > ********************* > > TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to > > SUPPORT {at} amibroker.com > > ********************* > > > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > > http://www.amibroker.com/devlog/ > > > > For other support material please check also: > > http://www.amibroker.com/support.html > > > > ********************************* > > Yahoo! Groups Links > > > > > > >
