Can I use Generic Lists in indicators

Created at 17 Dec 2012, 16:36
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
HI

hichem

Joined 17.12.2012

Can I use Generic Lists in indicators
17 Dec 2012, 16:36


Hello, 

Can I use List<double> objects in my indicator ?

 

which assembly should I import if that possible ?

 

Thanks


@hichem
Replies

admin
04 Jan 2013, 10:52

Yes, please use 

using System.Collections.Generic;

see this example: /forum/calgo-reference-samples/56

 


@admin