August 5, 2008

True Range Metastock formula


{high - lov}
diff1:= H-L;
{today's high - yesterday's close}
diff2:= Abs(H-Ref(C, -1));
{today's low - yesterday's close}
diff3:= Abs(L- Ref(C, -1));

Max(diff1, Max(diff2, diff3));