Cloud issue: Method not found: 'cAlgo.API.Indicators.Envelopes cAlgo.API.Internals.IIndicatorsAccessor.Envelopes(cAlgo.API.DataSeries, Int32, cAlgo.API.MovingAverageType, Double)'.

Created at 12 Feb 2025, 15:38
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!
FMogyi's avatar

FMogyi

Joined 13.10.2015

Cloud issue: Method not found: 'cAlgo.API.Indicators.Envelopes cAlgo.API.Internals.IIndicatorsAccessor.Envelopes(cAlgo.API.DataSeries, Int32, cAlgo.API.MovingAverageType, Double)'.
12 Feb 2025, 15:38


Simple code:  var env = Indicators.Envelopes(Bars.ClosePrices,200, MovingAverageType.Simple,0.2);

and the following errors generated in Cloud mode:

Crashed in OnStart with MissingMethodException: Method not found: 'cAlgo.API.Indicators.Envelopes cAlgo.API.Internals.IIndicatorsAccessor.Envelopes(cAlgo.API.DataSeries, Int32, cAlgo.API.MovingAverageType, Double)'.

Crashed in Bars.BarOpened event with TypeLoadException: Could not load type 'cAlgo.API.Indicators.Envelopes' from assembly 'cAlgo.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3499da3018340880'.
 


@FMogyi