Setup: $VOL-NYSE Ratio

Q:  How do I properly create the ratio of NYSE UpVolume/DownVolume (IB data) so I don't get a blank intraday chart and don't get just 0's in the quote page?

A:  The suffix of (A) and (D) for the symbols of $VOL-NYSE(A) and $VOL-NYSE(D) are not being handled correctly by the custom symbol form.  It thinks these are field tags instead of part of the actual symbol.  So, lets do this work around. Have $VOL-NYSE on the Setup | Manager form.

Then set up the custom symbol using the field tags that do have the advance and decline values for the ratio like this.

$RATIO = $VOL-NYSE[Ask] * 100 / $VOL-NYSE[Bid] * 1

Please do not let the [Ask] and [Bid] tags confuse you. They are not bid and ask values. They are tags to certain fields in the $VOL-NYSE record that have the advance and decline values. So the above will give you a nice value to plot, like 50 when the advance is half the size of the decline.


Last modified 10/22/07 6:35 PM