Stocks making new two year highs within last month


Category:
0
0

Hello, can you help ? All time high stock in daily chart within 2year for the last 2 month.

Marked as spam
Posted by (Questions: 5, Answers: 2)
Asked on July 28, 2020 12:11 am
71 views
0
Need to make sure I understand this. Find stocks that have made a 2 year high at anytime in the last 2 months? Scan engine only has 2 years of historical data so if you take away the previous 2 months for the condition to have been true it leaves you with only 1 year and 10 months to measure you all time high.
( at July 28, 2020 8:08 am)
0
Ok let be clear. Within the 2 years the scanner picks only stock in they 2 year high and it must occur in the last 2 months.
( at July 28, 2020 11:35 pm)
0
Sorry but that did not make it more clear. The sentence contained grammatical errors which further confused what you are trying to say. It sounds like you are agreeing with my description: "Find stocks that have made a 2 year high at anytime in the last 2 months?". But you did not clearly state "yes, that is correct". Instead you stated things in a different way. So I have to assume from your response that my statement was not correct. However the grammatical error in your statement makes it impossible for me to understand you true request.
( at July 29, 2020 9:28 am)
0
Sorry peter, english is not my first language. "Find stocks that have made a 2 year high at anytime in the last 2 months?" As you said this is exactly what i want.
( at July 29, 2020 1:21 pm)
0
Private answer

Ok, now that we have clarified the details about this request I have updated the title of the question so that everyone will immediately know the context and will be able to locate this question using the search function.

Here is the code to run the scan:

input highestBars = 502;
input withinBars = 21;
def newHigh = high > Highest(high[1], highestBars);
plot scan = Highest(newHigh, withinBars) > 0;

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on July 29, 2020 4:49 pm