Relative Strength Scan (All times High)


Category:
0
0

Hi Pete,

I had a conversation with you on YouTube regarding RS making new high (the time mentioned in the script). But it is having an error. Would you mind to check it where’s the error, please? A screenshot is attached herewith for ready reference.

It would be highly appreciated.

 

Best Regards;

Imran

 

Attachments:
Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on February 11, 2020 4:04 am
108 views
0
Private answer

Ah hah. See that. I only needed to know what the error stated. I could have answered this for you in the comments section on YouTube if you had merely explained the exact text of the error code. Remember I said that the error code explains everything.

So this does not work and cannot work. The function required to do this does not accept a non-static value. So you would have to replace "DaysFromDate(20190201)" with the exact number of trading days. I don't know what that number is but it is approximately 271 (need to subtract Holidays from this). So you can replace that last line of code with this:

plot scan = RS > Highest(RS[1], 271);

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on February 11, 2020 8:30 am
0
Perfect! It's working perfectly. Thank you so much Pete! Imran
( at February 11, 2020 8:55 am)