Yes, it is assigned to the string.
Where can I find out what the value is supposed to be?
What value of what extern? Did you intend to show any code or is it all secret?
This is the indicator code I want to add to the EA, it is not secret :-)
#property copyright "mladen" #property link "www.forex-tsd.com" #property indicator_chart_window #property indicator_buffers 1 #property indicator_color1 PaleVioletRed #property indicator_width1 2 // extern double Gamma = 0.85; extern int Price = 0; // double lag[]; //+------------------------------------------------------------------ //| //+------------------------------------------------------------------ int init() { SetIndexBuffer(0,lag); return(0); } int deinit() { return(0); } //+------------------------------------------------------------------ //| //+------------------------------------------------------------------ int start() { int counted_bars=IndicatorCounted(); if(counted_bars<0) return(-1); if(counted_bars>0) counted_bars--; int limit = MathMin(Bars - counted_bars,Bars-1); // for(int i = limit; i >= 0 ; i--) lag[i] = LaGuerre(iMA(NULL,0,1,0,MODE_SMA,Price,i),Gamma,i,0); return(0); } //+------------------------------------------------------------------ //| //+------------------------------------------------------------------ // double workLag[][4]; double LaGuerre(double price, double gamma, int i, int instanceNo=0) { if (ArrayRange(workLag,0)!=Bars) ArrayResize(workLag,Bars); i=Bars-i-1; instanceNo*=4; // workLag[i][instanceNo+0] = (1.0 - gamma)*price + gamma*workLag[i-1][instanceNo+0]; workLag[i][instanceNo+1] = -gamma*workLag[i][instanceNo+0] + workLag[i-1][instanceNo+0] + gamma*workLag[i-1][instanceNo+1]; workLag[i][instanceNo+2] = -gamma*workLag[i][instanceNo+1] + workLag[i-1][instanceNo+1] + gamma*workLag[i-1][instanceNo+2]; workLag[i][instanceNo+3] = -gamma*workLag[i][instanceNo+2] + workLag[i-1][instanceNo+2] + gamma*workLag[i-1][instanceNo+3]; // return((workLag[i][instanceNo+0]+2.0*workLag[i][instanceNo+1]+2.0*workLag[i][instanceNo+2]+workLag[i][instanceNo+3])/6.0); }
dam mro: This is the indicator code I want to add to the EA, it is not secret :-)
dam mro: Where can I find out what the value is supposed to be?
extern double Gamma = 0.85; extern int Price = 0; // double lag[];dam mro: Please explain what this value is after the extern string in
dam mro: Where can I find out what the value is supposed to be?
There is no string. There is double and an int. You are confused.
Detailed explanation of iCustom - MQL4 programming forum #33 2017.05.23
Jhow to know what the value of the variable should be? marked in red
extern string bp118 = "4. LaGuerre";
William Roeder , this is the line from EA, I wrote bp118 for example. I just don't know where to look for this connection to enter the correct data.
dam mro: this is the line from EA, I wrote bp118 for example. I just don't know where to look for this connection to enter the correct data.
That line is irrevalent; delete it. There is no such line in the indicator. There is nothing to look for. Your indicator has only two inputs.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Please explain what this value is after the extern string in my AE (in a circle). I would like to add an indicator to my EA and I do not know if the value after the extern string can be anything or is it assigned to something? I will be grateful for your help
AlgoEA