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

Re: [amibroker] Quickie: What was the name of that new AFL command to change chart tickers?



PureBytes Links

Trading Reference Links

Dan,

Thanks for the answer.   Our responses crossed in the net.
I did not find any problem with having it execute just once when I click the button.  It is at the end of my script, so I am sure it will execute between AFL passes.  I was going to make it step through the watch list, but since I only trade ES and ER2, I just hard coded the symbol for now --so I can use it tomorrow!

Were you going to cycle via a button/ pramTrigger? Or were you going to have it automatically cycle like a slide show via time?

Best regards,
Dennis

On Jul 10, 2008, at 11:33 PM, Daniel LaLiberte wrote:

Dennis,
 
There is a variable setting that changes the ticker.  Took me a while to find it again, buried in a release note of a few versions ago. (It pays to read those.)
 
In jscript:
 
AB = new ActiveXObject("Broker.Application");

AB.ActiveDocument.Name = ticker;


I'm working on a script to step through each ticker in a watchlist, or in the list of all tickers.   Since setting this variable in the current script will cause it to be reexecuted (but when? immediately? or after the rest of the script finishes?) it is a bit tricky to control the stepping process using just one script, but it can be done.  More modularity and flexibilty will come from controlling this process via a separate script, in another chart or otherwise. 
 
Anyone else doing anything interesting with this new feature?
 
dan

 
On Thu, Jul 10, 2008 at 10:02 PM, Dennis Brown <see3d@xxxxxxxxxxx> wrote:

Hello,

I could swear that I read that there was a new command in AFL to 
change the chart ticker. However, I don't remember what it was 
called, and all the searches I tried did not find it.

Could someone just reply with the name.

Thanks,
Dennis




-- 
Daniel LaLiberte
liberte@xxxxxxxxxxxxx
daniel.laliberte@xxxxxxxxx

__._,_.___

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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___