Registered User Joined: 2/6/2010 Posts: 8
|
Hello,
How can I write the following queries in Stockfinder to return rocket/submarine stocks?
Rocket stocks:
4wkavg > 10wkavge and 10wkavg > 30wkavg
and the stock price to be around twice its minimum price in past year
Submarine stocks:
4wkavg < 10wkavge and 10wkavg < 30wkavg
Thank you,
Burak
|
 Administration
Joined: 9/30/2004 Posts: 9,187
|
Rocket stocks: Set the bar interval on your chart to weekly, then create a RealCode condition using the following code.
If price.avg(4) > price.avg(10) andalso _
price.avg(10) > price.avg(30) andalso _
price.close >= 2 * price.minlow(52) then pass
Submarine:
If price.avg(4) < price.avg(10) andalso price.avg(10) < price.avg(30) then pass
|