<?xml version="1.0" encoding="utf-8"?>
<BullScriptScan schemaVersion="1.1" appName="BullScan" appVersion="3.4.1">
	<Information>
		<Name>Trading Range</Name>
		<Category>My Scans</Category>
		<Author>Shane Miller</Author>
	</Information>
	<BullScript><![CDATA[[name="Trading Range Scan"]
[author="investforwealth"]
[citation="BullCharts Forum in response to a request by Vito 24/05/2007"]
[description="This scan calculates the true range for the day's trading and compares it to the trading range for the previous day. It evaluates true for any security where the change is less than -51%"]

{Setup Ranges and Run Filter}

RangeToday := High - Low;
RangeYesterday := HIST(H,1) - HIST(L,1);
RangeChange:= RangeToday / RangeYesterday;
RangeChange < 0.51


[name="Today's Range"]
RangeToday;

[name="Yesterday's Range"]
RangeYesterday;

[name="Range Change"]
RangeChange;

]]></BullScript>
	<Data bars="auto" period="Daily" live="false">
		<SymbolGroups>
			<DefaultGroup />
		</SymbolGroups>
	</Data>
	<Results sort="Symbol" dir="asc" rows="all" />
</BullScriptScan>