Access violation when passing parameters to iCustom

 

Hi Everyone,

I'm facing a stranger issue when I try create an iCustom indicator.


When I instance iCustom without parameters like:

indicator = iCustom(_Symbol, _Period, "IndicadoresSid/ChannelSid");

It's work perfectly, but when I add any parameter I get this erros: 

2019.03.06 14:14:59.500 2016.01.01 00:00:00   Access violation at 0x00007FF75DA7C496 write to 0x0000000000000010

No matters what parameter I add, any parameters show this error.

My indicator works perfectly on chart, it have 22 parameters, I thought it's too much, but I've reduced to 2 parameters but the error still there.

What can be?


Thanks

 
Sidnei Vladisauskis:

Hi Everyone,

I'm facing a stranger issue when I try create an iCustom indicator.


When I instance iCustom without parameters like:

It's work perfectly, but when I add any parameter I get this erros: 

No matters what parameter I add, any parameters show this error.

My indicator works perfectly on chart, it have 22 parameters, I thought it's too much, but I've reduced to 2 parameters but the error still there.

What can be?


Thanks

I've found the problem.

I was using sinput to separate parameters on indicator, I removed it and it's works now.

Reason: