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

[amibroker] Re: Jscript question? How to save off multiple 15 minute charts?



PureBytes Links

Trading Reference Links

I've spent a week of hours on this and finally gave up and emailed 
earlier to see if I could get a version of software with 20 and 30 
minute built-in interval for the Database Settings.  

Richard

--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxx> wrote:
>
> Have you tired template instead of layout?
> 
> -- 
> Cheers
> Graham Kav
> AFL Writing Service
> http://www.aflwriting.com
> 
> 
> On 03/11/2007, dingo <dingo@xxx> wrote:
> > try loading the layout and then the symbol.
> >
> > d
> >
> > > -----Original Message-----
> > > From: amibroker@xxxxxxxxxxxxxxx
> > > [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of murthysuresh
> > > Sent: Friday, November 02, 2007 10:57 PM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: [amibroker] Re: Jscript question? How to save off
> > > multiple 15 minute charts?
> > >
> > > TJ: I thought it was working properly. but aparrently not.
> > > here is the problem
> > >
> > > oADoc=application.Documents.open( tradeObj.Symbol) opens my 
symbol
> > > application.LoadLayout("C:\\Program
> > > Files\\AmiBroker\\Layouts\\DailyLayout.awl")- loads my layout.  
this
> > > replaces the symbol with the symbol that was in the saved 
layotu.
> > >
> > > now how do i open a specific symbol with a particular layout.
> > >
> > > seede
> > >
> > >
> > >
> > > --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@>
> > > wrote:
> > > >
> > > > Hello,
> > > >
> > > > You can do this by using LoadLayout() function (from 
Application
> > > object).
> > > >
> > > > 1. Define separate layout for each interval you want to use
> > > > 2. Call LoadLayout() to display given interval.
> > > >
> > > > Best regards,
> > > > Tomasz Janeczko
> > > > amibroker.com
> > > > ----- Original Message -----
> > > > From: "murthysuresh" <money@>
> > > > To: <amibroker@xxxxxxxxxxxxxxx>
> > > > Sent: Saturday, October 27, 2007 3:54 AM
> > > > Subject: [amibroker] Re: Jscript question? How to save off 
multiple
> > > 15 minute charts?
> > > >
> > > >
> > > > > TJ
> > > > > How do you then programatically open chart in other 
timeframes
> > > other
> > > > > than base interval. Is there any specific function. If you 
do
> > > > > AB.Documents.Open(ticker), it will always open the chart in 
base
> > > > > interval.
> > > > >
> > > > > If --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" 
<groups@>
> > > > > wrote:
> > > > >>
> > > > >> Hello,
> > > > >>
> > > > >> Base time interval is something that you should set at 
database
> > > > > creation time and
> > > > >> leave untouched. It is a "base" of all other timeframes 
you may
> > > need
> > > > >> to use, therefore we strongly recommend to use base time
> > > interval
> > > > > of 1-minute
> > > > >> as it allows then to view/analyse ANY X-minute interval or 
X-
> > > hour
> > > > > interval
> > > > >> (where X is user definable).
> > > > >>
> > > > >> Best regards,
> > > > >> Tomasz Janeczko
> > > > >> amibroker.com
> > > > >> ----- Original Message -----
> > > > >> From: "murthysuresh" <money@>
> > > > >> To: <amibroker@xxxxxxxxxxxxxxx>
> > > > >> Sent: Saturday, October 27, 2007 12:40 AM
> > > > >> Subject: [amibroker] Re: Jscript question? How to save off
> > > multiple
> > > > > 15 minute charts?
> > > > >>
> > > > >>
> > > > >> > you cannot do it. however you can manuplate the intraday
> > > interval
> > > > >> > using preferences/ intraday /custom time intervals to 
whatever
> > > > >> > settings u want.
> > > > >> >
> > > > >> > --- In amibroker@xxxxxxxxxxxxxxx, "rlfoxworth2006"
> > > > >> > <rlfoxworth2006@> wrote:
> > > > >> >>
> > > > >> >> BTW that worked great! Now, how do I change the Base 
Interval
> > > > > say
> > > > >> > to
> > > > >> >> 20 minutes?  The Base Time Interval only has 1, 5, 15 
minute
> > > > > listed.
> > > > >> >>
> > > > >> >>
> > > > >> >> Thanks,
> > > > >> >>
> > > > >> >> RichardF.
> > > > >> >>
> > > > >> >>
> > > > >> >>
> > > > >> >> --- In amibroker@xxxxxxxxxxxxxxx, "murthysuresh" 
<money@>
> > > wrote:
> > > > >> >> >
> > > > >> >> > NO. it only means that there is a bar for every 15 
minutes.
> > > > > the
> > > > >> >> data
> > > > >> >> > in the bar would be refreshed based on the properties 
u
> > > ahve
> > > > >> > setup
> > > > >> >> in
> > > > >> >> > the refresh times in preferences.
> > > > >> >> > the 1 minute indicates the lowest resolution of the 
data
> > > > > stored
> > > > >> > in
> > > > >> >> > ab. so if you goto quote editor, it will show the 
data in 1
> > > > >> > minute
> > > > >> >> > frequency.
> > > > >> >> >
> > > > >> >> >
> > > > >> >> > --- In amibroker@xxxxxxxxxxxxxxx, "rlfoxworth2006"
> > > > >> >> > <rlfoxworth2006@> wrote:
> > > > >> >> > >
> > > > >> >> > > If the Base Time Interval is 1 Minute and you 
change it
> > > to
> > > > > 15
> > > > >> >> > minutes
> > > > >> >> > > does that mean the data coming in updates every 15
> > > minutes
> > > > > and
> > > > >> >> > there
> > > > >> >> > > is no pulling charts less than 15 minute intervals?
> > > Example
> > > > > of
> > > > >> >> > > looking at charts say 3 min , 5 min, 10 min...?
> > > > >> >> > >
> > > > >> >> > > Is there some way to tell the program to use 15 
minutes
> > > > > instead
> > > > >> >> of
> > > > >> >> > > default?
> > > > >> >> > >
> > > > >> >> > > Thanks....
> > > > >> >> > >
> > > > >> >> > > RichardF.
> > > > >> >> > >
> > > > >> >> > >
> > > > >> >> > > --- In amibroker@xxxxxxxxxxxxxxx, "murthysuresh" 
<money@>
> > > > > wrote:
> > > > >> >> > > >
> > > > >> >> > > > AB.Documents.Open opens the chart in the base time
> > > frame.
> > > > >> >> > > >
> > > > >> >> > > > -- In amibroker@xxxxxxxxxxxxxxx, "rlfoxworth2006"
> > > > >> >> > > > <rlfoxworth2006@> wrote:
> > > > >> >> > > > >
> > > > >> >> > > > > Hi,
> > > > >> >> > > > >
> > > > >> >> > > > > Jscript question? How to save off multiple 15 
minute
> > > > > charts?
> > > > >> >> > > > >
> > > > >> >> > > > > I've tried this code that was posted on the 
board and
> > > it
> > > > >> >> seems
> > > > >> >> > to
> > > > >> >> > > > > work and save the files just fine.  But having 
an
> > > active
> > > > >> >> window
> > > > >> >> > > > > selected and with a 15 minute interval 
selected, the
> > > > >> > program
> > > > >> >> > > loads
> > > > >> >> > > > up
> > > > >> >> > > > > and saves off only one minute charts instead of 
the
> > > 15
> > > > >> >> minutes
> > > > >> >> > > > charts.
> > > > >> >> > > > >
> > > > >> >> > > > > Help please and thanks... Been searching all 
evening
> > > for
> > > > >> >> answer
> > > > >> >> > > > > before asking....
> > > > >> >> > > > >
> > > > >> >> > > > > RichardF.
> > > > >> >> > > > >
> > > > >> >> > > > > -------------------------
> > > > >> >> > > > >
> > > > >> >> > > > > Save file as jscript file and run and place 
tickers
> > > in
> > > > >> >> > Watchlist
> > > > >> >> > > 0.
> > > > >> >> > > > > ------------------
> > > > >> >> > > > >
> > > > >> >> > > > > iWatchList = 0; /* you can define watch list num
> > > > >> > operations.
> > > > >> >> > ber
> > > > >> >> > > > here
> > > > >> >> > > > > */
> > > > >> >> > > > >
> > > > >> >> > > > > AB = new ActiveXObject("Broker.Application");
> > > > >> >> > > > > AW = AB.ActiveWindow;
> > > > >> >> > > > >
> > > > >> >> > > > > Qty = AB.Stocks.Count;
> > > > >> >> > > > >
> > > > >> >> > > > > for( i = 0; i < Qty; i++ )
> > > > >> >> > > > > {
> > > > >> >> > > > > Stk = AB.Stocks( i );
> > > > >> >> > > > > if( iWatchList < 32 )
> > > > >> >> > > > > {
> > > > >> >> > > > >   if( Stk.WatchListBits & ( 1 << iWatchList ) )
> > > > >> >> > > > >   {
> > > > >> >> > > > >    Doc = AB.Documents.Open( Stk.Ticker );
> > > > >> >> > > > >    WScript.Sleep( 4000 ); // 4 seconds delay
> > > > >> >> > > > >     AB.ActiveWindow.ExportImage(Stk.Ticker 
+ ".png")
> > > > >> >> > > > >    Doc.Close();
> > > > >> >> > > > >   }
> > > > >> >> > > > > }
> > > > >> >> > > > > else
> > > > >> >> > > > > {
> > > > >> >> > > > >   if( Stk.WatchListBits2 & ( 1 << ( iWatchList -
> > > 32 )) )
> > > > >> >> > > > >   {
> > > > >> >> > > > >    Doc = AB.Documents.Open( Stk.Ticker );
> > > > >> >> > > > >    AB.ActiveWindow.ExportImage(Stk.Ticker 
+ ".png")
> > > > >> >> > > > >    WScript.Sleep( 4000 ); // 4 seconds delay
> > > > >> >> > > > >    Doc.Close();
> > > > >> >> > > > >   }
> > > > >> >> > > > > }
> > > > >> >> > > > >
> > > > >> >> > > > > }
> > > > >> >> > > > >
> > > > >> >> > > >
> > > > >> >> > >
> > > > >> >> >
> > > > >> >>
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> > 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 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
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >>
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > 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 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
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > >
> > > 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 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
> > >
> > >
> > >
> >
> >
> >
> > 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 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
> >
> >
> >
> >
>




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 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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/