Open Incredible Charts to a different security each time?
| |
|
Last Poster |
Posts |
Pages |
Last Post |
| |
|
|
|
|
|
|
| Author |
Message |
   isaiah55
Member
Username: isaiah55 Post Number: 2 Registered: 06-2007Rating: N/A Votes: 0
|
| | Thursday, July 12, 2007 - 11:59 am: | 
|
Hi, I have recently thrown together an access database application for myself that retrieves 52 week high stocks and the like. I have embedded the ability to access my trading account online and would dearly love to be able to open incredible charts to a particular chart depending upon the security I wanted. One way I can see this being possible is passing the information in a switch in the shortcut eg) "C:\Program Files\IncredibleCharts\IncredibleCharts.exe" \djia_us Is something like this possible? If not can it be? Cheers
|
   shawky
Member
Username: shawky Post Number: 556 Registered: 11-2003
Rating: N/A Votes: 0
|
| | Thursday, July 12, 2007 - 03:54 pm: | 
|
Paul I use autohotkey to control all my charting programs, for automating data import and so on. A possible solution for you is to create an autohotkey script that takes one parameter (the ticker) and does the following: 1. Check if IC is running, if not start it up 2. Activate IC window 3. Type ticker code into appropriate field Read the manual that comes with the program. It is very good and there are lots of example programs on the web site. Once you get the hang of it, it can be used to save you LOTS of time. I save at least 30 minutes each day by setting scripts to run automatically at particular times. www.autohotkey.com I have attached a suitable script for you including the source code because I needed a sanity break for the document I was writing. Colin, I had trouble detecting the Search results window which made it difficult to reliably handle it. Notes in the code. It doesn't bother me but I have found that almost all applications fail in some way to make it easy for scripting tools to uniquely identify where the program is at. Food for thought. regards Shawky
|
   isaiah55
Member
Username: isaiah55 Post Number: 3 Registered: 06-2007Rating: N/A Votes: 0
|
| | Thursday, July 12, 2007 - 06:45 pm: | 
|
Shawky thanks heaps for the suggestion. I completely forgot about AutoHotkey. I have used it in the past and it could be the solution to my problem. I have tried to run your AHK script and the EXE script but both fail before they get off the ground it appears. They fail on the line: MsgBox,32,Debug message,IC not running,5 ExitApp I am running it on a Vista 32 machine... I will look into it further - thanks heaps for all your help Any further help is always appreciated. I also hope that Colin will be able to add the switch idea as well. Cheers
|
   shawky
Member
Username: shawky Post Number: 557 Registered: 11-2003
Rating: N/A Votes: 0
|
| | Friday, July 13, 2007 - 10:07 am: | 
|
Oops I added that particular ExitApp line whilst debugging with IC already running and forgot to remove it. I've removed it the attached source and executable plus a couple of little tweaks. You may find that if it takes too long for IC to start up then the requested ticker may not get selected. I could have made the script wait for IC to finish loading totally by monitoring the status bar and looking for "Cursor", but I used a simple timeout as this was easier. Syntax: ICSelectTicker.exe BHP regards Shawky
|
   shawky
Member
Username: shawky Post Number: 558 Registered: 11-2003
Rating: N/A Votes: 0
|
| | Friday, July 13, 2007 - 11:19 am: | 
|
Another way to handle this would be to get your database search to produce an IC Watchlist and import the watchlist into IC and scroll through each chart that way. I have a little spreadsheet that allows me to type in a list of tickers (or copy from a scan from other systems) and in a single click creates the IC watchlist. You do need to update the ASX stock list from time to time though from the ASX web site. I did some testing and it appears that the format required for the watchlist file is not that pedantic in that you do not have to include the company name. I have incorporated the CMC Margin rate within the name when importing CMC Watchlists into IC. Example spreadsheet is attached (Excel 2003) with the ASX Company list just updated. regards Shawky
|
   peterloh
Member
Username: peterloh Post Number: 2759 Registered: 03-2003Rating: N/A Votes: 0
|
| | Friday, July 13, 2007 - 12:06 pm: | 
|
Nice to see you back, Chris.
------------------------------------------------- Disclaimer: Please note that comments made in this column is mainly for the interpretation of charts in technical analysis. It is not made in my professional capacity and should not be taken as advice.In my professional capacity I am only allowed to give advice on certain managed funds authorised by my license dealer.Any share discuss is for general interest and should not be relied on to make an investment decision.It is likely that I may own the shares that we discussed as a trade or as an investment. Please consult your stock broker or financial adviser in regard to your personal situation. The views expressed here contain information derived from public available sources that has not been independently verified.No representation or warranty is made as to the accuracy, completeness or reliability of the information.Any forward looking information in this representation has been prepared on the basis of a number of assumptions which may prove to be incorrect.It should not be relied upon as a recommendation or forecast by the writer.
|
   msparks
Member
Username: msparks Post Number: 1023 Registered: 10-2004
Rating: N/A Votes: 0
|
| | Saturday, July 14, 2007 - 01:40 am: | 
|
Hi Shawky Thanks for sharing this info regarding hotkey etc. Just in case, is it easy to undo any hotkey entries ? Regarding the IC watchlist file, what would be the "current directory" you mention in the macro button ? I usually make the watchlist in IC with one stock. Then copy the watchlist i want to place in IC, from an excel file in the same format, often without the name of the company, just the [code]_code.ax and then go thru the files and open the IC "one stock" watchlist previously created,and paste the excel watchlist stocks straight into the file, save a couple of times and usually works OK. Will your sheet do this automatically ? Or do i still need to import the data ? Where will the data be after using your sheet ? or is there an option to save as ? Is the ranking placed before the [] with the stock name, this will be a useful tool especially for entering the margin rate as you mentioned. TIA
|
   shawky
Member
Username: shawky Post Number: 559 Registered: 11-2003
Rating: N/A Votes: 0
|
| | Saturday, July 14, 2007 - 11:36 am: | 
|
Thanks Peter, just keeping a low profile. Young Matthew is keeping us very busy and I have an important Contract to deliver which is taking most of the time. For now I'll just be posting stuff for technical support tools etc, rather than charts, for my system is pretty simple and obvious (e.g. BHP, OXR, PNA, OST, LGL - not much in the way of 0% correlation unfortunately). Only trading part time when time permits and relying on GSLOs this time round. You're welcome Mark Good questions. Just download the spreadsheet and give it a try, it is fairly easy to use, some basic instructions are included. All you need to do is see: On the Stocks sheet, enter the name for your new watchlist, then type in each ticker code e.g. BHP AMP CPU LEG in the first column, click on a big orange square (where the instructions are) and bingo bango bongo, a watchlist file is created in My Documents with all the correct formatting. The VB code is setup to put the watchlist directly into IC folder (setup by the Help sheet) but there is a bug in the change directory code, so it goes to My Documents instead. Someone might like to fix the VB for me to get it to save in the IC path (it used to work). The sheet validates the codes entered against the ASX stock list (on sheet StockNames), so that list should be updated from time to time. It includes a manual entry section to, to facilitate quick updates for one or two stocks. The IC Watchlist sheet is the template for creating the actual watchlist. On the Stocks sheet, the second column is where you enter any additional information you want like the margin. You may need to reformat the cell or force text mode by using quotes ('3%). The additional text appears in brackets at the end of the Company Name. I don't normally type in all the codes or the margins, but copy and paste the relevant columns from another source. The spreadsheet uploaded was last used to create a watchlist called "InsideTrader07Jul" which is the most recent 30 stock picks. FA more so than TA so you'll see some strong downtrends and bottom picking in the list. I don't quite understand your hotkey question. Does this answer the question? Again, download the script and executable and try it. They are harmless. View the script in Notepad then run the exe. The worst thing that will happen is that they won't work. Hotkey is a program that allows you to control menus, the mouse, keyboard etc. The exe file was for people to try without installing hotkey. If hotkey is installed the script (.ahk) can be run without compiling it (easier to debug too). Have a go at it, I am happy to help out (create a new thread somewhere). If you are controlling a program and don't get the result you expected (like the wrong menu pops up), usually sending the {ESC} key undoes the step. regards Shawky
Puff the Magic Dragon courtesy of Mother Superior
|
|
Threads by Last Post Time: First
Previous
75
76
77
78
79
80
81
82
83
84
Next
Last
|
|