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.
Is there a way to scan for stocks in order to
avoid very long candles? (Left)
I've tried with ATR and ADX but no setting seems to work. Any ideas?
0
Comments
[ yesterday PPO Line(12,26,9) < PPO Line(12,26,9) *1.02 ]
to scan for yesterday's PPO Line smaller in size that today's PPO Line, but not more than 20%. I've also tried ">" but it didn't work.
So, for example, you can use ROC(1) greater than 1 days ago Upper Price Channel(13) or Less than 1 days ago Lower Price Channel. You can also use Min/Max ROC(1) <= 1 days ago min(13,ROC(1))] or ROC(1) >= 1 days ago max(13,ROC(1)).
You could sub ATR(1) but you would only be looking at the Upper Price Channel or the max value as it only measures in positive values.
I wouldn't necessarily "avoid" longest candles, as they can be very important candles depending on where they are in relation to the trend. Long candles Down are better approaching bottoms, often indicating climactic selling action. Long candles Down coming off tops are definitely worrisome as they often change the trend or stage. The same is true for long candles Up. Off of bottoming areas, they are more likely to be a sign of strength and long candles Up near tops are often climactic buying and prone to pullback or reversals. All of this is just my opinion.
[group is SP500]
and [range > ATR(10) * 3]
and [AbsVal(open - close) > range * .8]
The second line checks for a long body. So you wouldn't pick up wide range bars with long wicks or tails. If you want to include those, comment that line out.
You don't necessarily get results every day because it doesn't happen every day. For testing, change the scan date to random past dates.
If you are looking for stocks that have had this event over some period time, not just today (meaning the most recent market close), you could use max( ):
[group is SP500]
and [max(10,range) > ATR(10) * 3]
and [AbsVal(open - close) > range * .8]
ATR doesn't usually change that fast, but if it bothers you to compare past data to the current date's data, you could say:
[group is SP500]
and [max(10,range) > 10 days ago ATR(10) * 3]
and [AbsVal(open - close) > range * .8]
This actually seems to work a little better.