Three consecutive days of 100 percent gains


Category:
0
0

Mr. Hann,  I have run into a bit of an issue with my scan.  What I want is that over the past 3 days all 3 days add up to 100% extension.  I am getting tickers that are up only 50% over the previous 3 days.   I also have a volume requirement that the tickers do at least 1 mill of volume on each of the previous 3 days.  I can ditch the vol requirement because I am looking for over extended %% tickers.

 

 

def volumeCondition = volume >= 1000000;
def closeToCloseGain = ((close – close[1]) / close[1]) * 100;
def signal = volumeCondition and closeToCloseGain >= 10.0;
plot scan = Lowest(signal, 3) > 0;

Marked as spam
Posted by (Questions: 3, Answers: 2)
Asked on September 16, 2020 3:30 pm
126 views
0
Private answer

Seems the following line in your code is only checking if the day over day gain is 10%.

def signal = volumeCondition and closeToCloseGain >= 10.0;

Change the value of 10.0 to a value of 100.0?

Marked as spam
Posted by (Questions: 37, Answers: 4084)
Answered on September 16, 2020 4:47 pm