Dollar volume over $100 million and double previous weekly high


Category:
0
0

So here is the code i have so far, and i need creating the rest of the criteria

 

def volumeDollars = Round(volume * hlc3, 0);
def newDay = GetDay() <> GetDay()[1];
rec todaysVolumeDollars = if newDay then volumeDollars else todaysVolumeDollars[1] + volumeDollars;
plot scan = volumeDollars > 100,000,000 ;

 

 

what i want to do is create a scan that

Must have a day that traded-over 100$mil in last 5 day ( rolling period )

Next

This weeks high must be 100% or more greater than last weeks high

Best

Marked as spam
Posted by (Questions: 7, Answers: 3)
Asked on March 10, 2020 3:58 pm
141 views
0
Private answer

Actually this is much more simple than what you have imagined so far.

Add two different Study Filters to your scan. Set one to daily and the other to weekly.

For the daily Study Filter enter the following code:

plot scan = volume * hlc3 > 100000000;

For the weekly Study Filter enter the following code:

plot scan = high >= high[1] * 2.0;

This forum is not here for one-off solutions that serve a single individual. Your specifications have an extremely narrow focus and the rest of our viewers are going to find very little use for this solution. This may impact how I respond to future requests.

Marked as spam
Posted by (Questions: 37, Answers: 4087)
Answered on March 10, 2020 6:15 pm