Hi Mr Popov, I found an issue with the included Rate of Change indicator's .mqh file.
It wasn't making any trades.
I made 2 changes, not sure which one fixed it.
first I created a new variable just in case creating a moving average of itself was causing an issue:
double Roc[]; ArrayResize(Roc,Data.Bars); ArrayInitialize(Roc,0);
for(int bar=period; bar<Data.Bars; bar++)
Roc[bar]=price[bar]/price[bar-period];
if(smooth>0)
MovingAverage(smooth,0,method,Roc,adRoc);
else
ArrayCopy(Roc,adRoc);
then I added an arrayinitialize line to the 2 components
ArrayResize(Component[1].Value,Data.Bars);
ArrayInitialize(Component[1].Value,0);
Component[1].FirstBar=firstBar;
ArrayResize(Component[2].Value,Data.Bars);
ArrayInitialize(Component[2].Value,0);
Component[2].FirstBar=firstBar;
Please check this out. Making these changes will make it work. Have a good day!