PureBytes Links
Trading Reference Links
|
Hello,
It's quite easy;
body = abs( close - open ); // determine body height
lowshadow = min( open, close ) - low; // calculate lower shadow
highshadow = high - max( open, close ); // calculate higher shadow
BigLowShadow = lowshadow > 0.2 * body;
BigHighShadow = highshadow > 0.2 * body;
Best regards,
Tomasz Janeczko
===============
AmiBroker - the comprehensive share manager.
http://www.amibroker.com
----- Original Message -----
From: David Holzgrefe
To: amibroker@xxxxxxxxxxxxxxx
Cc: Tomasz Janeczko
Sent: Wednesday, April 04, 2001 12:39 PM
Subject: [amibroker] measuring % of shadow
Hi tomasz and others ...
Would you have a afl code to measure the % of a candle shadow
eg the shadow is 20 % of the body etc
Thanks David
|