PureBytes Links
Trading Reference Links
|
Thank you, Panos and Barry, for the replies.
The chart does change now if I remove it and reinsert it again. I am
thinking if there's a more convenient way to refresh the chart since
it is so troublesome to do it manually..
I am sure some OLE magic could have solve this problem... but all the
following failed:
1)
AB = new ActiveXObject("Broker.Application");
AB.RefreshAll();
2)
AB = new ActiveXObject("Broker.Application");
Doc = AB.ActiveDocument;
Doc.Activate();
AB.RefreshAll();
3)
AB = new ActiveXObject("Broker.Application");
Win = AB.ActiveWindow;
Win.Activate();
AB.RefreshAll();
4)
AB = new ActiveXObject("Broker.Application");
AB.LoadLayout("C:\\Database\\Layouts\\Default.awl")
I am not sure which OLE function I should call... I wonder if anyone
has any ideas?
--- In amibroker@xxxxxxxxxxxxxxx, "Barry Scarborough" <razzbarry@xxx>
wrote:
>
> If you mean the charts did not reflect changes made outside it is
> because AB did not know you changed anything. In AB when you make a
> change and save it or apply it, AB updates your charts with the
> changes you made. If you use another editor then you will have to
> close the current chart and insert the new version.
>
> Go to the chart you changed, edit it and then do an insert linked.
> All the charts in AB will now be updated. I quit editing outside AB a
> long time ago for this very reason. You can do a lot of editing and
> the syntax may be wrong and you won't know that until your formula
> fails.
>
> Barry
>
> --- In amibroker@xxxxxxxxxxxxxxx, "sonyfanaticsss"
> <sonyfanaticsss@> wrote:
> >
> > Hi,
> >
> > I'm a beginner to Amibroker so please bear with me...
> >
> > In Amibroker's default editor, if I made some changes to the codes,
> > the results are shown in Amibroker right away.
> >
> > But if I change the code in Ultraedit and save the file, Amibroker
> > does not respond to my changes.
> >
> > I tried running this .js:
> >
> > var AB = new ActiveXObject("Broker.Application");
> > AB.RefreshAll();
> >
> >
> > and it doesn't work. Still nothing happens in Amibroker.
> >
> > I wonder how I can solve this problem?
> >
>
------------------------------------
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/
|