Transmission of an array from a custom indicator to a bot
Created at 15 Apr 2019, 23:51
AL
Transmission of an array from a custom indicator to a bot
15 Apr 2019, 23:51
Hi,
I have builded up an indicator with different arrays, which I want to use in a bot - but I don't know how.... Is there an option to declare them as output values?!
Something like:
[Output(...)]
public int[] testArray { get; set; }
....
for (int i = 0; i <= 10 ; i++)
{
testArray [i] = i;
}
Think it is a similar issue to this topic from 2015:
Thank you and best regard
PanagiotisCharalampous
18 Apr 2019, 21:46
Hi alter.christian,
Thank you for posting in our forum. You do not need to declare the arrays as output paramaters. If the arrays are public then they will be accessible from your cBot as well.
Best Regards,
Panagiotis
@PanagiotisCharalampous