Transmission of an array from a custom indicator to a bot

15 Apr 2019, 23:51Transmission of an array from a custom indicator to a bot#1
alter.christianposts: 1since: 12 Feb 2019


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:

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

18 Apr 2019, 21:46#2
Panagiotis Charalampousposts: 2596since: 13 Jan 2017

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,


Head of Community Management at cTrader