Registered User Joined: 7/1/2009 Posts: 27
|
This question came to me after reading the topic regarding displaying "open to close percent" in the watch list.
Is there an advantage to doing this via the block diagram approach as opposed to creating an indicator and then displaying the indicator in the watch list.
This came up for me today as I wanted to see the Average True Range just for today - without considering yesterdays close. So I cannabalized one of your real code examples to basically say on a daily chart give me the price.high minus the price.low - then I dragged that plot over the price history plot and created a ratio indicator to give me the percent of daily movement for the stock. It worked out fine. I was just wondering if I only wanted to display it in the watch list is there an advantage (system performance wise) to doing it via the block diagram? I am having problems running too many objects while I'm in the real time mode.
thanks,
sergio
|
Registered User Joined: 12/31/2005 Posts: 2,499
|
I don't have an answer but one performance issue is whether the realcode specifies
'# cumulative
If it does then when added as a watchlist column it will process all data. Otherwise Stockfinder attempts to limit the data processed to improve performance.
In your example, listing todays ATR via realcode as a column would NOT want to have the cumulative declared, as with it it would be much slower.
As an aside a normailzed ATR would typically make a better column value. That is ATR/C, as it would then be expreseed as a % of price for all symbols.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
miamiblues,
I am unaware of any particular advantages of using a Block Diagram versus a Drag and Drop Indicator. My use of a Block Diagram in the topic mentioned was more the result of my frame of mind at the time I was answering the question as to anything else. I was already modifying a Block Diagram for the Value Display in the upper right hand corner of the Chart so modifying the Block Diagrams of the Watchlist Columns came to mind before creating an Indicator and Dragging and Dropping it to the Watchlist (which probably would have been easier actually - at least to explain).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|