This is my first go around at coding. I hope I am not overlooking something obvious here. But, I have looked at this and rewrote it multiple times. I have searched existing forums and reference manual and can not seem to make sense of what I am getting this compiling error.
Any advice would be appreciated.
int RSI_Period, int RSI_Price, int Volaltility_Band, int RSI_Price_Line, int RSI_Price_Type, int Trade_Signal_Line, int Trade_Signal_Type, int RSI_Price_Line_shift, int Volaltility_Band_shift,
//--- TDI input parameters
input int RSI_Period =21; // RSI
input int RSI_Price =0; // RSI Price
input int Volaltility_Band =34; // Blue Bands
input int RSI_Price_Line =2; // Green Line
input int RSI_Price_Type =0; // Price Type
input int Trade_Signal_Line =7; // Red Line
input int Trade_Signal_Type =0; // Signal Type
input int RSI_Price_Line_shift =0;
input int Volaltility_Band_shift =0;
tried that first, it returns more errors.
I appreciate your response, made changes and it fixed the errors.
You are right I have no experience in C or C++. I took an MQL4 class on Udemy that had about 6 hours of lectures plus training exercises.
double val = iCustom(NULL,0,"mm4x_tdi",13,1,0);
MT4/MT5 actually compiles with non-constants, but the order that they are
initialized is unspecified and don't try to use any price or server related
functions in OnInit (or on load,) as there may be no connection/chart