Re: Coding Help

953
Naughty 77 wrote: Tue Feb 26, 2019 12:52 am Hi

Can anybody tell me how to remove an indicators name,script etc in a sub-window of MT4. for example you have to indicators overlapping,then the name is long and interferes with things....can it be removed any way ?

Kind regards

Naughty 77
Attachments


Re: Coding Help

956
Can somebody tell me how to fix this line.
expression not boolean RK-StepMa_bss_sq_soma2.3_wto-3MAhlL_Dol EA-v2-wtrendwdayw8.5TrlS.mq4 247 26

//Skip if trading 24hrs
line 247 if (Trade24hr) return(True);
I seem to have a lot of these now.
thank you
Ray

Re: Coding Help

957
traderduke wrote: Tue Mar 05, 2019 11:36 am Can somebody tell me how to fix this line.
expression not boolean RK-StepMa_bss_sq_soma2.3_wto-3MAhlL_Dol EA-v2-wtrendwdayw8.5TrlS.mq4 247 26

//Skip if trading 24hrs
line 247 if (Trade24hr) return(True);
I seem to have a lot of these now.
thank you
Ray

Clarify; Can somebody tell me how to fix these line.

expression not boolean 193 26 line 193 if (Trade24hr) return(True);
expression not boolean 277 8 line 277 return(0);
expression not boolean 294 8 line 294 return(0);

Re: Coding Help

959
Cladi39 wrote: Tue Apr 02, 2019 4:09 am Hello Mrtools i need your help please, I trying to use this indicator with iCustom, I need a signal for up and down in current candle when bar apears in subwindows, no signal when no bar, My code work well for put but not for call signals whats wrrong? Thanks soo much in advance.
Maybe try something like this for the rsi call function, looks like the rest is ok.

Code: Select all

double upnow = iCustom(NULL,0,"RSIFilter_v1+",PeriodRSI,0,i);
double uppre = iCustom(NULL,0,"RSIFilter_v1+",PeriodRSI,0,i+1);
double dnnow = iCustom(NULL,0,"RSIFilter_v1+",PeriodRSI,0,i);
double dnpre = iCustom(NULL,0,"RSIFilter_v1+",PeriodRSI,0,i+1);

if (upnow!=EMPTY_VALUE  &&  uppre==EMPTY_VALUE && dnnow==EMPTY_VALUE  &&  dnpre==EMPTY_VALUE) return(1);
if (upnow==EMPTY_VALUE  &&  uppre==EMPTY_VALUE && dnnow!=EMPTY_VALUE  &&  dnpre==EMPTY_VALUE) return(-1);


Who is online

Users browsing this forum: No registered users and 18 guests