SendGroup

Top  Previous  Next

There are six different SendGroup indicators as follows, numbered according to how many streams they can send:

 

SendGroup1 (GroupId, MemberId, Stream1)

SendGroup2 (GroupId, MemberId, Stream1, Stream2)

SendGroup3 (GroupId, MemberId, Stream1, Stream2, Stream3)

SendGroup4 (GroupId, MemberId, Stream1, Stream2, Stream3, Stream4)

SendGroup5 (GroupId, MemberId, Stream1, Stream2, Stream3, Stream4, Stream5)

SendGroup6 (GroupId, MemberId, Stream1, Stream2, Stream3, Stream4, Stream5, Stream6)

 

You can use a single SendGroup indicator to transmit from one to six data Streams in a source chart to a receiving chart.  (You can have multiple SendGroup indicators on the same chart or on different charts.) The data streams are retrieved on another chart by means of the GetGroup indicator, which compresses the multiple data streams into a single stream by a user specified function such as summing, minimum or maximum value or averaging.  Because the different data streams are combined into a single indicator, they should be of similar numeric range and similar logical function.

 

The GetGroup indicator combines data from all of the SendGroup indicators in open charts with the same GroupID. Each SendGroup indicator also has a unique MemberID which identifies that particular instance of the SendGroup indicator among all of the charts.

 

getgroup

 

 

Where:

GroupID identifies the set of data streams that are transmitted, either from one or multiple charts.  The number is a user-supplied integer from 0 to 32000.  Each Group can have several Members, which means that you can combine data from multiple charts into a single data stream.

 

Note: GroupID = 0 is special and will automatically reference all groups regardless of GroupID number.

 

MemberID identifies a particular instance of using a Send Group indicator.   Each Member number must be unique within the same GroupID, otherwise incorrect data could be transmitted. The number is a user-supplied integer from 1 to 32000.

 

Stream: a time series (open, high, low, close, bid, ask, MACD, position, output of a Trading Strategy or neural network prediction, etc.).  SendGroup1 sends a single data stream described as Stream#1; SendGroup2 send two data streams designated as Stream#1 and Steam#2 respectively.

 

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

 

During an active NeuroShell session, the SendGroup MemberID combination must be unique. These unique numbers are arbitrary, chosen by the user, and serve only to relate the send data to the get function. If duplicates are allowed to run then data will be lost and results will not be as expected. GroupIds are not unique and serve to relate a set of data streams, which are of similar numeric range and similar logical function.