Optuma Forums › Optuma Scripting › How to code new 4W highs 2 weeks back › Reply To: How to code new 4W highs 2 weeks back
November 23, 2021 at 11:11 pm
#66715
- Topics: 1
- Replies: 1
- Posts: 2
This is the code I use to identify new 4W highs that happened in the previous week:
highesthigh(BACKTYPE=Weeks, BARS=4, INCBAR=False, SIGNALONLY=True)
But how do I find new 4W highs that happened in the third last weekly bar including the current weekly bar?