New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
Scanning for candlesticks with small bodies
Long time since I've posted. I'm trying to create a scan that looks for candlesticks where the body only compromises 30% or less of the total trading range for that day. I thought I had the scan written correctly, but I am getting non-sensical results. Does someone feel like taking a gander at the code:
// Absolute value open / close range is less than 30% trading range
and [ AbsVal (today close - today open) < [ [today high - today low] * .3] ]
and [ AbsVal (yesterday close - yesterday open) < [ [yesterday high - yesterday low] * .3] ]
and [ AbsVal (2 days ago close - 2 days ago open) < [ [2 days ago high - 2 days ago low] * .3] ]
Any help would be appreciated. Thanks!