|
kmcintyre
 Legend
    Posts: 410
Joined: 8/30/2007
Location: Valley Center, CA
User Profile |
I have a lot of trades recorded in Excel. I want to go back and review them, especially in light of a specific set of indicators and systems. Eg. I want to bring up a chart for a specific symbol, over a specific date range, with a specific chart template. And I want to do it efficiently and often.
So I'm thinking it would be nice to have a dialog box (call it View Trade...) that allows me to enter a symbol, entry date, exit date, and a desired template, then click a Show Chart button.
I don't think I need to describe what it would do...
Could I build this with the SDK and extend OTs View menu to include the new menu item?
Regardless, please consider this for a future release.
Thanks for your consideration.
|
|
kmcintyre
 Legend
    Posts: 410
Joined: 8/30/2007
Location: Valley Center, CA
User Profile |
Another enhancement, given a Show Trade... functionality, would be to allow import of a list of CSV trade records. Once imported, I would page through the trades without entering the symbol, entry date, exit date, and template information in a dialog box.
Could that be created via the SDK?
Thanks for your consideration.
Cheers!
|
|
Jim Dean
 Sage
  Posts: 3022
Joined: 9/21/2006
Location: L'ville, GA
User Profile |
Neither OLang nor the SDK allow access to or modification of the core OT functional interfaces.l, other than input parameters. The existing popup boxes for parameters are the scope you need to work with.
Either OLang or the SDK can be used to read an external text file, parse it, and plot any numeric info from it on a chart (you can’t plot Alpha labels).
Doing this in OLang is awkward because of Parser limitations, but I’ve found ways to both read and write text files. I wouldn’t try to deal with an XLS file - stick to TXT.
Using the SDK, since it’s full dotNet, you may be able to more readily read/write XLS. However I haven’t tried that.
Hope this helps clarify things. There have been many requests on the table for years to do small and large enhancements to OLang, but nothing has happened (likely since few use it and changes like that would take a lot of programmer hours and net them little to no income)
[Edited by Jim Dean on 7/12/2018 5:51 AM]
|
|
kmcintyre
 Legend
    Posts: 410
Joined: 8/30/2007
Location: Valley Center, CA
User Profile |
There is always hope...
Thanks, Jim
|
|
Jim Dean
 Sage
  Posts: 3022
Joined: 9/21/2006
Location: L'ville, GA
User Profile |
Re dialog boxes
These also can be incorporated via OLang or SDK into an Indicator. But you have to be careful to prevent extended looping that repeatedly pops up the box. I have used both MsgBox and InputBox extensively with good success. In one case (MTV), the entire (long) User Manual is viewable pane by pane with section jumps etc. (driven by a structured text file) I’ve also used it for “context sensitive” Help pop ups when a given param is set to a particular value (usually -1).
These are considerably easier to implement and manage than file I/O … but still care is needed. I’m not sure how N could improve on this - all the standard VBA MsgBox and InputBox features are accessible, even in OLang.
[Edited by Jim Dean on 7/12/2018 9:35 AM]
|