Forum

Can someone check me, I'm getting Error<4002> [WRONG_INTERNAL_PARAMETER] with iCustom

Here's what I print out when an iCustom() fails: ChartID < 133608959982095523> symbol < USDJPY > TF < PERIOD_M12 > : [Slope of MA Signals MJM.mq5 [OnInit] LINE 272 - Indy >>Slope(1) of iMA(7,CLOSE) < < failed! Error<4002> [WRONG_INTERNAL_PARAMETER] sSymbol < USDJPY > eChrt_TF < PERIOD_M12 >

Does anyone know how to get the terminal to release indicator handles when I stop a debug run?

I already have the IndicatorRelease statements in my OnDeinit, and I'd expect the terminal to be smart enough to run that function before completely shutting down the test run, but I guess that's a no. I'm testing an indicator that calls 13 iCustom indicators . The terminal finally does a force

Copilot is it working?

I use Copilot help me make code first time. Today it doesn't work. "too many tokens sent, change Maximum tokens". But Tools Option is maximum setting. My "prompt" isn't long. It was worked yesterday. Someone else have problem