New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
How do I scan for Range greater than 2 X any 14 ago period
and close is 10% below the Range at the bottom..
Help!!!
0
Comments
Two times that would be max(?, range) * 2
I don't know what you mean by
"close is 10% below the Range at the bottom."
A close is always inside the range of the current bar. The close can equal the high or low, but it cannot be above or below the high or low.
So 10% of which range?
And below which bottom?
Let's see if this is the right syntax: and [range > min(14, range)*2
and [ close-low < .10 * range ]....Markd will this do it?
max(14, range) would give you the tallest bar of the the last 14.
I'm assuming you want the current bar to be taller (longer) than any of the 14 bars before it.
So it would be
and [range > 1 day ago max(14, range)]
and [close - low < .1 * range]
The max( ) and min( ) functions don't say anything about the direction of the range.
If you want to be sure that you are testing a for a down leg, you could add a test for the direction of a short term MA, or test for the lowest close in x bars, e.g.
and [close = min(14, close)]
[Range > 1 day ago max(14, Range)*2]
and [Close-low<.1*Range]
and [Close< min(14, close]
#Markd , I tried this and the last syntax is not correct...
Thanks a lot for your help..