PureBytes Links
Trading Reference Links
|
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
|