[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] please read this formula and tell what it is?


  • Date: Thu, 3 Dec 2009 09:24:50 -0800 (PST)
  • From: Gray Bohon <egbohon@xxxxxxxxx>
  • Subject: Re: [amibroker] please read this formula and tell what it is?

PureBytes Links

Trading Reference Links



"i" is a counter, a scalar variable.  It is used to index elements of the array variable "Color."  "i++" means "i=i+1", shorthand for how the array is incremented.  Review the users' guide, AFL, lexical elements.


From: Ton Sieverding <ton.sieverding@xxxxxxxxxx>
To: amibroker@xxxxxxxxxxxxxxx
Sent: Thu, December 3, 2009 9:04:44 AM
Subject: Re: [amibroker] please read this formula and tell what it is?

 

What about :
 
color = iif(C>0,colorgreen, colorred) ;
 
Regards, Ton.
 
----- Original Message -----
From: Joe Landry
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 -----
From: learner
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



__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___