mladen wrote: Sat May 06, 2017 11:38 pm
You have to include the enum (the enDisplay) in the code somewhere and it should work OK then
Dear Mladen,
Thank you for your kind reply ....
Just to clarify if it is well understood ....
I have to copy & paste following part of the code ...
enum enDisplay
{
dis_bars, // Display bars
dis_line, // Display lines
dis_arro, // Display arrows
dis_barl, // Display bars and lines
dis_bara, // Display bars and arrows
dis_lina, // Display lines and arrows
dis_all // Display bars, lines and arrows
};
The parameters to be called are ....
extern ENUM_TIMEFRAMES TimeFrame = PERIOD_CURRENT; // Time frame to use
extern int SlowLength = 7; // Slow length
extern double SlowPipDisplace = 0; // Slow pips displacement
extern int FastLength = 3; // Fast length
extern double FastPipDisplace = 0; // Fast pips displacement
//extern bool AlertsOn = false; // Turn alerts on?
//extern bool AlertsOnCurrent = true; // Alerts on current (still opened) bar?
//extern bool AlertsMessage = true; // Alerts should display pop-up message?
//extern bool AlertsSound = false; // Alerts should play a sound?
//extern bool AlertsEmail = false; // Alerts should send email?
//extern enDisplay DisplayWhat = dis_line; // Display type
extern bool Interpolate = true; // Interpolate in multi time frame mode?
and the iCustom should be like this .... ????????????
iCustom(NULL,0,"ptl 2_2",TimeFrame,SlowPipDisplace,FastLength,FastPipDisplace,false,false,false,false,false,dis_line,Interpolate,0,i);
Sorry, but we have no programming knowledge, and we try to give some solutions ....
Waiting for your help ....
Best Regards
Dimitri