Adding amaSuperTrendU11 to custom strategy - compile error | Traders Hideout


futures.io - futures trading strategies, market news, trading charts and platforms


Traders Hideout


Discuss day trading practices and futures trading strategies on this forum for all markets. This forum is also for discussing and reviews for brokers, data feeds, and commercial or third party add-ons




 

Adding amaSuperTrendU11 to custom strategy - compile error

  #1 (permalink)

Munchen / Garching
 
Trading Experience: None
Platform: Ninja
Favorite Futures: CL + DAX
 
Posts: 8 since Oct 2014
Thanks: 0 given, 2 received

Adding amaSuperTrendU11 to custom strategy - compile error

Hi!

I'm developing a strategy and want to rely on amaSuperTrendU11 indicator. However when I try to declare it as a private amaSuperTrendU11 myIndie; I get a compile error right at the start. CS0118 - Saying something like a method constructor used as a type. What I don't understand is that in the indicator itself the definition is public class amaSuperTrendU11 : Indicator, hence it should be correct.

Reply With Quote