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

Re: [amibroker] Selecting a ticker from AFL



PureBytes Links

Trading Reference Links

If you are needing to display different idicators for different
symbols have you thought of writing the AFL to change the chart
depending on the symbol
if( name()=="XYZ")
{
display chart 1
}
if( name()=="ABC'
{
display chart 2
}
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
On 12/18/05, Gordon Sutherland <gosuth@xxxxxxxxxx> wrote:
>
>
>
> Certainly Sheets (tabs) within Layouts apply the same primary ticker so just click at the bottom of the window on the Sheet tabs won't achieve what you want. I would either type in a new ticker in the 'select symbol' box at the top of the screen or create a set of Layouts each one named after the object index so that you only need to double click on each layout as you go through your screening. Sorry, I can't think of an easier solution without using some advanced macro/scripting.
>
>
>
> Regards,
>
>
>
> Gordon Sutherland
>
>
>
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Geo Singleman
> Sent: Sunday, 18 December 2005 7:19 a.m.
> To: amibroker@xxxxxxxxxxxxxxx
>
> Subject: Re: [amibroker] Selecting a ticker from AFL
> Subject: Re: [amibroker] Selecting a ticker from AFL
>
>
>
>
>
>
>
> lol ...  No problem. What I want is a specific symbol preselected per chart page. The rest of the charts on this page are all derived AddToComposite data and forced to display only those with Foreign AFL function. So by design, they show the same thing no matter what ticker is chosen for the main price display. All I want is when I select the tab, the main price chart is for the predetermined symbol which matches the indicators on the page. e.g. I have a layout for McClellan indicators. Let us say I have 3 chart pages each with 3 panes. Tab 1 is DJI. Pane 1 is DJI prices. Pane 2: DJ McClellan Breadth Oscillator. Pane 3: is DJ Breadth Summation Index. Tab 2 is RUT and so on. This way, all I need is to select the tab to review DJI and RUT without also having to select the ticker and never have mismatched charts. Watchlist or favorite list will not do the job.
>
>
>
>
>
> Geo
>
>
>
> ----- Original Message -----
>
>
> From: Dave's Laptop
>
>
> To: amibroker@xxxxxxxxxxxxxxx
>
>
> Sent: Saturday, December 17, 2005 12:46 PM
>
>
> Subject: RE: [amibroker] Selecting a ticker from AFL
>
>
>
>
> Geo,
>
>
>
> I am a newbie with the software so go easy on me as I am trying to understand what you are looking to accomplish.
>
>
>
> Are you trying to provide a quick and easy way to access certain symbols?   Have you thought of using a watch list or the favorites?
>
>
>
> Or are you trying to show the price of a stock as compared to the ^DJI?
>
>
>
> Dave
>
>
>
> ________________________________

>
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Geo Singleman
> Sent: Saturday, December 17, 2005 9:33 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] Selecting a ticker from AFL
>
>
>
>
> I had tried this. However I needed to create a layout for each ticker. More cumbersome than just selecting the ticker for the correct combination. If it can be done via AFL or script, then I can have 10 or more tabs each fixed to one ticker. And save this as one special layout for this application.
>
>
>
>
>
> Geo
>
>
>
> ----- Original Message -----
>
>
> From: Gordon Sutherland
>
>
> To: amibroker@xxxxxxxxxxxxxxx
>
>
> Sent: Saturday, December 17, 2005 02:04 AM
>
>
> Subject: RE: [amibroker] Selecting a ticker from AFL
>
>
>
>
> Save "^DJI" chart window as a layout. Each time you load this layout it will use "^DJI" as the default ticker and any studies previously charted and saved to the Sheet/Layout.
>
>
>
> Regards,
>
>
>
> Gordon Sutherland
>
>
>
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Geo Singleman
> Sent: Saturday, 17 December 2005 6:50 p.m.
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Selecting a ticker from AFL
>
>
>
>
> Is there a way to automatically select a ticker from AFL? I would like to fix the price chart display in a given pane to say ^DJI. I can force the display by using SetForeign. However, AB still uses the currently active ticker to store studies I create in the indicators in that chart page. So this does not work for me. I need an equivalent to selecting a ticker from the Symbols list.
>
>
>
>
>
> Geo
>
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
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:
    http://docs.yahoo.com/info/terms/