Attachments forums

List of attachments posted on this forum.


All files on forums: 135902

Buffers

Cladi39, Tue May 30, 2017 2:57 am

Dear mladen and team , i cant find the buffers to cal by iCustom the secondary trend arrows in your indicator, only get trend buffers. Can you help me pls.


double XO(int i)
{
double up = iCustom(NULL,0,"XO - mtf & alerts - choosable symbol ( 2 in 1 + arrows )",0,i+1)!=0;
double dn = iCustom(NULL,0,"XO - mtf & alerts - choosable symbol ( 2 in 1 + arrows )",1,i+1)!=0;

if(up)
{
return(1);
}
if(dn)
{
return(-1);
}

return(0);
}


bool Arrowup(int i)
{
bool up=false;

up = XO(i)==1;

if(up)
{
return true;
}
return false;



}
bool Arrowdn(int i)
{
bool dn=false;

dn = XO(i)==-1;

if(dn)
{
return true;
}
return false;
}
All files in topic