DirectionalMovementSystem indicator issue in Cloud
DirectionalMovementSystem indicator issue in Cloud
20 Jan 2025, 14:31
DMI with the 3rd parameter (cAlgo.API.MovingAverageType) does not working in cloud.
Crashed in OnStart with MissingMethodException: Method not found: 'cAlgo.API.Indicators.DirectionalMovementSystem cAlgo.API.Internals.IIndicatorsAccessor.DirectionalMovementSystem(cAlgo.API.Bars, Int32, cAlgo.API.MovingAverageType)'.
Regards,
FMogyi
Replies
FMogyi
22 Feb 2025, 10:09
RE: DirectionalMovementSystem indicator issue in Cloud
Use the indicator with 3 parameters.
Sample Copied as the New Template from the List: “Directional Movement System Sample” created by Spotware:
protected override void OnStart()
{
_volumeInUnits = Symbol.QuantityToVolumeInUnits(VolumeInLots);
_directionalMovementSystem = Indicators.DirectionalMovementSystem(Bars,Periods,MovingAverageType.Simple);
}
@FMogyi
firemyst
27 Jan 2025, 08:24 ( Updated at: 14 Feb 2025, 18:16 )
Are you still experiencing this issue?
If so, are you able to post sample code that reproduces it?
@firemyst