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 |

Highest high / lowest low Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
bironique
Posted : Thursday, May 21, 2009 9:46:22 PM
Registered User
Joined: 2/10/2009
Posts: 15
How could I scan to get stocks showing the highest high (or the lowest low) for the last xx days?
StockGuy
Posted : Thursday, May 21, 2009 9:54:45 PM

Administration

Joined: 9/30/2004
Posts: 9,187
Do you want to know what the highest high and lowest low over the last x days were, or do you want to scan for stocks that are making a new x day high or low?

If the former, you can plot these by creating RealCode indicators using the following code:

For example, 30 bar high:   plot = maxhigh(30)
For example, 30 bar low: plot = minlow(30)

These plots can be dragged to the watchlist to display columns with the highest high and lowest low over the last x days.

If the latter, create two RealCode rules using the following formulas:

If price.high = price.maxhigh(30) then pass

If price.low = price.minlow(30) then pass


bironique
Posted : Thursday, May 21, 2009 10:18:56 PM
Registered User
Joined: 2/10/2009
Posts: 15
What I want is to be able to scan for stocks that are making a new x day high or low. Thnaks for the info!!!
bironique
Posted : Thursday, May 21, 2009 10:51:13 PM
Registered User
Joined: 2/10/2009
Posts: 15
What would be the rule if, instead of the highest high, I was looking for the highest close of the last x day?
StockGuy
Posted : Friday, May 22, 2009 8:13:53 AM

Administration

Joined: 9/30/2004
Posts: 9,187


If price.close = price.maxclose(30) then pass
bironique
Posted : Friday, May 22, 2009 12:06:19 PM
Registered User
Joined: 2/10/2009
Posts: 15
Thanks again!! The support is fantastic!!
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.