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.

Candlestick Range

I want to write a command to search for daily candles that have the following requirements: The absolute difference between the daily close and open is between 85 % -100% of the daily range. I am looking for small wicks.

Comments

  • I think the easy way is to use "long body" which is the SC definition of a long body candle:

    [group is SP100]
    and [Long Body is true]

    Some results appear to be wrong, but most look good.

    If you want total control:

    and [AbsVal(open-close) > range * .85]

    This version is stricter apparently, because it gets fewer results, which means you might miss some hits you would want to see. But you can play with the .85 to see what works best.
Sign In or Register to comment.