Hi, I am trying to print Buy and Sell arrow depending on the nature of crossover but this code is printing both the arrows on chart after crossover while depending on the condition it should print one of them.
if(shift==true)
{
if( OPEN > CLOSE )
{
BufferBuy[pos] = FextMapBuffer1[pos];
return(0);
}
else
{
BufferSell[pos] = FextMapBuffer2[pos];
return(0);
}
Hi, I am trying to print Buy and Sell arrow depending on the nature of crossover but this code is printing both the arrows on chart after crossover while depending on the condition it should print one of them.
Regards.