GetRTDataForeign
|
Miscellaneous functions |
SYNTAX | GetRTDataForeign( ''fieldname'' , ''symbol'' ) |
RETURNS | NUMBER |
FUNCTION | This function is similar to GetRTData but allows to specify symbol OTHER than currently selected and it is much faster than SetForeign/GetRTData combo. The function retrieves the LAST (the most recent) value of the following fields reported by streaming real time data source for specified symbol:
Note 1: this function is available ONLY in PROFESSIONAL edition, calling it using Standard edition will give you NULL values for all fields Note 2: works only if data source uses real time data source (plugin) Note 3: availablity of data depends on underlying data source - check the real-time quote window to see if given field is available Note 4: function result represents the current value at the time of the call /formula execution/, and they will be refreshed depending on chart or commentary refresh interval /settable in preferences/. Built-in real time quote window is refreshed way more often (at least 10 times per second) |
EXAMPLE | "Bid = "+GetRTDataForeign("Bid");
|
SEE ALSO | GetRTData() function , SetForeign() function |
The GetRTDataForeign function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.