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

range



PureBytes Links

Trading Reference Links

Can someone please help Ralph...

-----Original Message-----
From: Ralph Bass [mailto:ralphbass@xxxxxxxxxxxx]
Sent: Sunday, December 08, 2002 7:28 AM
To: support@xxxxxxxxxxxxxxxxxxx
Subject: range

Ralph> True Range gives you the wicks and tails of a range. I just want
"real body" range, open-close.
Ralph> I am looking to take trades based on retracement of "wide body" bars.

Inputs: Mult(1);
 
Condition1 = False ;
 
if absvalue((Open) - (Close)) >= AbsValue((average(open,50)) +
(average(close,50))) 
 * Mult then
 {I am here looking for the open/close for the last 50 days, not the
open/close 50 days ago.}
 
Condition1 = True
 
else condition1 = False;
 
Value1 = Open ;
Value2 = Close ;
 
if Condition1 = true then
 begin
 PlotPaintBar( Value1, Value2, "SimplePB" ) ;
 Alert ;
 end ;