Problem Accessing Indicator Data Objects
Created at 16 Dec 2018, 07:40
DE
Problem Accessing Indicator Data Objects
16 Dec 2018, 07:40
Hi there,
I'm finding difficulty in trying to access an object in a custom indicator from a bot.
I.e. I have a public list located in the indicator. I'm loading the indicator as such:
indicator = Indicators.GetIndicator<IndicatorName>(Params[]);
However, when trying to access the list in the indicator like:
List<type> list = indicator.signalList;
The variable "list" is always empty. And yes I am initializing the list in the indicator.
I've tried building the indicator and loading the .dll as a library but had no luck there either.
Please provide a solution.
Thanks.
Shares4UsDevelopment
17 Dec 2018, 10:52
Hi.
Please provide the relevant c# code there is no way of checking based upon your description.
@Shares4UsDevelopment