Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Rocket/Submarine Stock Query help please - Newbie here Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
burak30
Posted : Thursday, October 14, 2010 8:11:11 PM
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

StockGuy
Posted : Sunday, October 17, 2010 7:49:53 PM

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

Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.