I've read alot of posts regarding creation of a custom data series using efsinternal or efsexternal however, I have a question regarding creation of that series where I actually want to create a series that would be of different length than the number of bars on a chart.
It appears using the efsexternal/efsinternal functions a series is created where a value is obtained and placed in the series object for every bar on the chart(I could be wrong). What If I want to create a series that does not do this but only stores a value in the series when a certain condition is present?
Can this be accomplished?
In EFSExternal/Internal, would returning nil just store a nil at that position within the series or would it not cause that position to be filled and thus subsequent calls to the custom function would fill in that position.
For example
Let's say we have a chart with 100 bars on it. a call to efsinternal/external customer function would return a series with 100 elements in it. I however want to filter some elements and in some cases it would return only 60 or so elements. Then I would pass that to other prebuilt esignal functions.
Is this possible? Or do I need to write my own array handlers and higher level functions like MACD, SMA, RSI, CCI to use a custom data series in this Manner?
Any suggestions would be appreciated.
I.E.
It appears using the efsexternal/efsinternal functions a series is created where a value is obtained and placed in the series object for every bar on the chart(I could be wrong). What If I want to create a series that does not do this but only stores a value in the series when a certain condition is present?
Can this be accomplished?
In EFSExternal/Internal, would returning nil just store a nil at that position within the series or would it not cause that position to be filled and thus subsequent calls to the custom function would fill in that position.
For example
Let's say we have a chart with 100 bars on it. a call to efsinternal/external customer function would return a series with 100 elements in it. I however want to filter some elements and in some cases it would return only 60 or so elements. Then I would pass that to other prebuilt esignal functions.
Is this possible? Or do I need to write my own array handlers and higher level functions like MACD, SMA, RSI, CCI to use a custom data series in this Manner?
Any suggestions would be appreciated.
I.E.
Comment