Multiple timeframe indicators do not work on offline charts - as far as I have experienced.
I will do it manually each day.
TEAMTRADER
Re: Coding Help
492They work - there is no reason whatsoever why they should not work. You are confusing mtf on renko with the inverted example - when a mtf should use offline data. If they don't, start using correct mtf version since every correct version must work on offline charts tooTEAMTRADER wrote: Sat Aug 19, 2017 7:47 am Multiple timeframe indicators do not work on offline charts - as far as I have experienced.
I will do it manually each day.
TEAMTRADER
Here is just a simple example :
Re: Coding Help
493thank you for the reply airquest - i get the checking value is not empty, but do i have to do it for each bar? like up[i+1], up[i+2], up[i+3], so on?
airquest wrote: Fri Aug 18, 2017 8:02 am Use the value of the up and down arrow buffer from the indicators. If value is not empty or equal to 0 (depending on how the indicator was coded) within the last X bars then there was a signal.
Re: Coding Help
494Dear mladen and Team, im learning to code and in useing iCustom function to join indicators, in this case i need to know how to code certain conditions betwen 2 indicators .
Trix4kids arrow can apears 1 or 2 candles next to Better volume, how to code that condition? I know how to code for example when apears 1 candle next with (i+1)
but dont know when have 2 conditions beacouse trix4kids can apears 1 or 2 candles next. I aprecciate your help. Thanks.
double BV(int i)
{
double up = iCustom(NULL,0,"Better Volume wAlert",100,3,i+1);
double dn = iCustom(NULL,0,"Better Volume wAlert",100,0,i+1);
if(up>150.0000)
{
return(1);
}
if(dn>150.0000)
{
return(-1);
}
return(0);
}
double T4K(int i)
{
double up = iCustom(NULL,0,"Trix4Kids",7,i)!=EMPTY_VALUE;
double dn = iCustom(NULL,0,"Trix4Kids",6,i)!=EMPTY_VALUE;
if(up)
{
return(1);
}
if(dn)
{
return(-1);
}
return(0);
}
Trix4kids arrow can apears 1 or 2 candles next to Better volume, how to code that condition? I know how to code for example when apears 1 candle next with (i+1)
but dont know when have 2 conditions beacouse trix4kids can apears 1 or 2 candles next. I aprecciate your help. Thanks.
double BV(int i)
{
double up = iCustom(NULL,0,"Better Volume wAlert",100,3,i+1);
double dn = iCustom(NULL,0,"Better Volume wAlert",100,0,i+1);
if(up>150.0000)
{
return(1);
}
if(dn>150.0000)
{
return(-1);
}
return(0);
}
double T4K(int i)
{
double up = iCustom(NULL,0,"Trix4Kids",7,i)!=EMPTY_VALUE;
double dn = iCustom(NULL,0,"Trix4Kids",6,i)!=EMPTY_VALUE;
if(up)
{
return(1);
}
if(dn)
{
return(-1);
}
return(0);
}
Re: Coding Help
495What exactly does " can apears 1 or 2 candles next" mean?Cladi39 wrote: Sat Aug 19, 2017 12:18 pm Dear mladen and Team, im learning to code and in useing iCustom function to join indicators, in this case i need to know how to code certain conditions betwen 2 indicators .
Trix4kids arrow can apears 1 or 2 candles next to Better volume, how to code that condition? I know how to code for example when apears 1 candle next with (i+1)
but dont know when have 2 conditions beacouse trix4kids can apears 1 or 2 candles next. I aprecciate your help. Thanks.
double BV(int i)
{
double up = iCustom(NULL,0,"Better Volume wAlert",100,3,i+1);
double dn = iCustom(NULL,0,"Better Volume wAlert",100,0,i+1);
if(up>150.0000)
{
return(1);
}
if(dn>150.0000)
{
return(-1);
}
return(0);
}
double T4K(int i)
{
double up = iCustom(NULL,0,"Trix4Kids",7,i)!=EMPTY_VALUE;
double dn = iCustom(NULL,0,"Trix4Kids",6,i)!=EMPTY_VALUE;
if(up)
{
return(1);
}
if(dn)
{
return(-1);
}
return(0);
}
Re: Coding Help
496I have tried to get this indicator on screen - could someone adapt it please?
Thanks
TEAMTRADER
Thanks
TEAMTRADER
Re: Coding Help
497When I attach this script and similars to the chart, the platform hangs and closes. Could someone have a look to it to see if there is something wrong??? Thank you...
Attachments
Re: Coding Help
498It works as expected for mejjventural wrote: Thu Aug 24, 2017 1:21 am When I attach this script and similars to the chart, the platform hangs and closes. Could someone have a look to it to see if there is something wrong??? Thank you...
Re: Coding Help
500It asking for an other file (hanover --- function header (np).mqh) for to work
Indicator is just a tool.
Use it only if it can benefit you. Leave it if you don't know how to use it optimally.
Use it only if it can benefit you. Leave it if you don't know how to use it optimally.
Who is online
Users browsing this forum: No registered users and 19 guests