Debug Assertion Failed
Posted: Mon Dec 21, 2015 6:41 pm
Here's my code:
char buff[1000];
sprintf(buff, "%d;0;0;%s;Close", 60, StrMAType(ma_EMA));
IndMA = CreateIndicator("EURUSD", 120, "MovingAverage", buff);
SetIndicatorBuffStyle(IndMA, 0, psSolid, 1, clYellow);
But running that in FT2, directly after code "IndMA = CreateIndicator(.." the following error-box occures.
Any idea???
char buff[1000];
sprintf(buff, "%d;0;0;%s;Close", 60, StrMAType(ma_EMA));
IndMA = CreateIndicator("EURUSD", 120, "MovingAverage", buff);
SetIndicatorBuffStyle(IndMA, 0, psSolid, 1, clYellow);
But running that in FT2, directly after code "IndMA = CreateIndicator(.." the following error-box occures.
Any idea???