thanks for your reply.
what i need is that both conditions to be true,and on the third(if true) i want to enter.I need them to appear consequently.So,whould this one give me what i need?
if(! thickMet)
{ if ( (High[0] > High[1]) && (Low[0] < Low[1]) )
{
[B]thickMet = true;[/B]
}
else if ( High[0] == High[1] )
{
[B]thickMet = true;[/B]
}
}
else
{ if ( (High[0] < High[1]) && (Low[0] > Low[1]) )
{
// [B]do stuff[/B]
}
}

Comment