Page 96 of 180

Re: Coding Help

Posted: Sat Feb 23, 2019 5:00 am
by wojtek
mrtools wrote: Sat Feb 23, 2019 4:24 am Magic trend is a cci version of super trend know there are some histogram version here available.
OK, thanks! :)

Re: Coding Help

Posted: Tue Feb 26, 2019 12:52 am
by Naughty 77
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

Re: Coding Help

Posted: Tue Feb 26, 2019 1:33 am
by pacois
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

Re: Coding Help

Posted: Tue Feb 26, 2019 1:39 am
by Naughty 77
Dear Pacois

Thank you for being so kind,much appreciated.

Regards

Naughty 77

Re: Coding Help

Posted: Tue Feb 26, 2019 11:55 am
by wojtek
or

Code: Select all

IndicatorShortName("");

Re: Coding Help

Posted: Tue Mar 05, 2019 11:36 am
by traderduke
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

Posted: Tue Mar 05, 2019 11:46 pm
by traderduke
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

Posted: Tue Apr 02, 2019 4:09 am
by Cladi39
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.

Re: Coding Help

Posted: Tue Apr 02, 2019 6:46 am
by mrtools
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);

Re: Coding Help

Posted: Tue Apr 02, 2019 7:22 am
by tayna13
it is possible to show the broken zones