What about :
color = iif(C>0,colorgreen, colorred) ;
Regards, Ton.
----- Original Message -----
Sent: Thursday, December 03, 2009 3:28 PM
Subject: Re: [amibroker] please read this formula and tell what it is?
Is this a test?
Joe
----- Original Message -----
Sent: Thursday, December 03, 2009 8:12 AM
Subject: [amibroker] please read this formula and tell what it is?
for( i = 0; i < BarCount; i++ )
{
if( Close[ i ] > Open[ i ] ) // CORRECT
Color[ i ] = colorGreen;
else
Color[ i ] = colorRed;
}
please read above formula and tell me what is i and i++
what it does exactly?
thankyou for support