How to upgrade indicators for Build 600+? - page 3

 
qjol:


The passed parameters and their order must correspond with the declaration order and the type of extern variables of the custom indicator. If the values of input parameters is not specified, the default values will be used.


Checked the passed parameters, their order and their values according to the 'xpMA' indicator.

Everything is exactly same. Had I done any mistake there?

 
you have to pass 10 parameters and you are passing only 7
 
qjol:
you have to pass 10 parameters and you are passing only 7


Because the 'xpMA' I'm using in B-509 has 7 parameters. It's the First 'xpMA' (2010)

The 2nd version has 11 parameters. But it's not the issue as I had tried with the 11 parameter's indicator too.

Even the 'xpMAEA' doesn't work and I have read many similar comments.

Not understanding why?

 

how should i know, i used the indicators that you upload here and there is 10 parameters to pass

extern   int      MA_Period               = 25;
extern   int      MA_Type                 = MODE_TEMA;
extern   int      MA_Applied              = PRICE_CLOSE;
extern   double   T3MA_VolumeFactor       = 0.8;
extern   double   JMA_Phase               = 0;
extern   int      Step_Period             = 1;
//+------------------------------------------------------------------+
extern   int      BarsCount               = 200;
extern   bool     Alert_On                = true;
extern   bool     Arrows_On               = true;
extern   bool     Email_On                = false;
 
qjol:
how should i know, i used the indicators that you upload here and there is 10 parameters to pass

It's Ok but had it worked for you either?
 
you kidding of course it worked
 
qjol:
you have to pass 10 parameters and you are passing only 7
By the way you can perfectly pass 7 parameters even if the indicator has 10 parameters. The last 3 will get their default value.
 
yep you are right but in his code he passed 1, 2, 3, 4, 5, 6, 8
 
qjol:
yep yo are right but in his code he passed 1, 2, 3, 4, 5, 6, 8
Of course.
 
angevoyageur:
Of course.


He has to learn from common mistakes.