SendVolume

Top  Previous  Next

SendVolume (Volume ID, Volume, Date) - Sends volume data from one chart to all open charts that include the GetVolume indicator with a matching Volume ID.  One use might be when you want to send volume from a stock chart to an options/futures chart.

 

This indicator is different from the SendStream indicator because it accumulates data until the completion of a bar on the receiving chart.  For example, if you're sending volume data from a 5 minute chart to a 15 minute chart, the SendVolume indicator accumulates volume data from three 5 minute volume bars to create an equivalent 15 minute bar volume which it sends  to the 15 minute receiving chart.

 

Where:

Volume ID: is an arbitrary integer, from 1 to 32000, designated by the user in no particular order. During an active NeuroShell session, the VolumeIds on the SendVolume indicators must be unique, otherwise incorrect data could be transmitted.

 

Volume: a volume time series

 

Date: defaults to a value the user should not change.

 

Note:  If the receiving chart updates more frequently than the sending chart, you will often see values of 0 when using the GetVolume indicator.  An alternative strategy would be to use the SendStream and GetStream indicators rather than the SendVolume and GetVolume indicators, resulting in a continuous data stream.