PureBytes Links
Trading Reference Links
|
Hi all Well after a few hours of work heres my code
for the 3 white soldiers
used with tomasz new trend line code it could be of
use .
I havent back tested it but at a glance on
the asx it shows some promise
needs and exit (sell) condition for
backtesting...
/* 3 white soldiers1 David
Holzgrefe28.03.2001 */
buy = open <
close
AND
ref(open<close,-1)
AND
ref(open<close,-2) // 3 days with open greater than close
AND open < ref(close,-1) and open
> ref(open,-1) // todays open
is
within the body of yesterdays candle
AND close > ref(close,-1) // todays
close greater than
yesterdays
close
AND ref(open,-1) < ref(close,-2) and ref(close,-1) >
ref(close,-2)
//yesterdays
open
less than the close of day 3
AND ref(open,-2) < ref(open,-1)
; // days 3 open less than open
of
day 2
sell = 0 ;
check out the description on this handy site
<A
href="">http://www.litwick.com/indicators/2144.html
comments and sugestions welcome
David
|