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

Re: [amibroker] SWIM Index



PureBytes Links

Trading Reference Links

Hi,

Thanks, I'm looking into the code & will reply soon.


Kailash K Pareek














--- ontherail@xxxx wrote:
> The code for the SWIM Index as originally published
> in msg 4851 and 
> in the Library is:
> 
> */
> 
> C1 = REF ( C , -1 ) ;
> O1 = REF ( O, -1 ) ;
> K = HHV ( ( H - C1 ) OR ( L - C1 ) , 1 ) ;
> L = C1 * 0.20;
> R = ATR ( 1 );
> 
> SI = ( ( C-C1+0.5*(C-O)+0.25*(C1-O))/R)*(K/L);
> 
> GRAPH0 = SI;
> -------End -----
> 
> 
> It doesn't appear that O1 is used after its
> definition in the second 
> line. Is there an error here? If so, could Kailash
> Pareek please 
> post a corrected version of what he intended? 
> Thanks, Jim
> 
> 


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com