Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 3/5/2010 Posts: 9
|
Can one write code to display column view / results to match the active chart view.I notice the mini-chart will change when the chart is scrolled or sized, but the 'last value', '% change', 'net change' return the current / latest data results.If you have a code I could use, I'd appreciate it, thanks.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
One technique is outlined in the Pinning the value of an indicator to a particular date & displaying this in the watchlist column topic. Since you would be using the End Date of the Chart instead of a Date Pointer, you wouldn't need to add the Date Pointers and you would choose the End Date for your Chart under Link From Another Tool instead of choosing a Date Pointer.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 3/5/2010 Posts: 9
|
Bruce,Thank you for your response. I'm not familiar enough with Block Diagram to follow.Any other suggestions? Thanks.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I can think of other methods involving Block Diagrams (including editing the Block Diagrams of the WatchList Columns themselves to add a Value for Date Block).
Block Diagrams have been de-emphasized in StockFinder but the Your First 3 Block Diagrams video covers creating Block Diagrams. Most people don't do much with Block Diagrams and use Drag and Drop or RealCode exclusively.
I have not been able to come up with a working method that does not involve Block Diagrams however. Using ZoomEndDate with '#RECALC_ON_SCROLL_ZOOM in a RealCode Indicator does seem to allow me to truncate the Chart like was done with the Block Diagram version, but the results do not translate to the WatchList Column being recalculated even when the WatchList Column is still linked to the Chart (and this is not surprising since the context of the Indicator is the WatchList and not the Chart).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |