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.
Need help to scan stock making higher top higher bottom from last 2-3 months.
Can you please help writing the above scan?
Thanks
0
Answers
• 20-day Exponential Moving Average of Close for today is greater than 50-day Exponential Moving Average of Close for today
• 50-day Exponential Moving Average of Close for today is greater than 200-day Exponential Moving Average of Close for today
• Daily Close for today is greater than 20-day Exponential Moving Average of Close for today
• Daily High for today is less than Daily High for yesterday
• Daily High for yesterday is less than Daily High for 2 days ago
• Daily High for 2 days ago is less than Daily High for 3 days ago
• Daily High for 3 days ago is less than Daily High for 4 days ago
• Daily High for 4 days ago is less than Daily High for 5 days ago
[type = stock] AND [Daily SMA(20,Daily Volume) > 40000]
// lower price channel is still rising
and [Lower Price Chan(21) = max(21, Lower Price Chan(21))]
// test current month channels against prior month
// lowest upper price channel in last 21 days is better than the best of prior 21 days
and [min(21, Upper Price Chan(21)) > 21 days ago max(21, Upper Price Chan(21))]
// and same test of lower price channel
and [min(21, Lower Price Chan(21)) > 21 days ago max(21, Lower Price Chan(21))]
//************if you want, same tests for second month versus third month
//and [21 days ago min(21, Upper Price Chan(21)) > 42 days ago max(21, Upper Price Chan(21))]
//and [21 days ago min(21, Lower Price Chan(21)) > 42 days ago max(21, Lower Price Chan(21))]
The test of the most recent two months gets a reasonable number of hits that look pretty good. Adding the third month gets no hits, so I left it in but commented it out. Those lines might be useful in a different market.
You could play with the 21 day parameter to see if it makes a difference.