PureBytes Links
Trading Reference Links
|
Yes you are right. It was typing error though there
was not significant difference in it's signal, point
"A" in attached Gif image, after modification of code
I found a beautiful "HING" , marked round in image.
The middle chart is the old code & the last one is the
corrected Code given below. Thanks again for your
sharp eye.
I'm modifying the LIB. Code also.
Kailash K Pareek
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-O1))/R)*(K/L);
Graph0 = SI;
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
/* SWIM INDEX
coded by KAILASH K PAREEK - INDIA .
As the name of indicator explains it self, It measures the
swim of Price. Day Trader may find it very useful as it gives
trend reversal in next 2-3 trading.
INTERPATION:
Expect trend reversal or at least consolidation when SI
Spikes higher, (for Peak) OR lower, (for bottom), than
Relative spikes and turns back. I have found couple of times
The thing called "HING" which appears 1-2 day before the
Price reversal and common in Stochastic Oscillator.
*/
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-O1))/R)*(K/L);
Graph0 = SI;
Attachment:
Description: ""
|