InvestorsHub Logo
Post# of 102
Next 10
Followers 38
Posts 9736
Boards Moderated 2
Alias Born 06/03/2007

Re: None

Monday, 04/22/2013 9:28:42 AM

Monday, April 22, 2013 9:28:42 AM

Post# of 102
TOS Scan that I have been working with that looks for bar counts between high and low that are along the 270 degree of the SQ9. So far TOS seems woefully inadequate for scanning by date since only constants are allowed with many of the date functions like getYYYYMMDD()[1] works but not replacing the "1" with a variable. Either that or I don't know enough about it yet!

Anyway, here is the scan along with a fundamental filter of last>10, it looks for the high or low of the last 300 bars to be within the last 10 days too.


def highbar = getmaxvalueoffset(high,500);
def lowbar = getminvalueoffset(low,500);
def range = if highbar<10 or lowbar<10 and volume[1]>volumeavg(50) and volume[1]>500000 then absvalue(highbar-lowbar) else 0;
plot lookup = if range==72 or range==144 or range==25 or range ==49 or range==81 or range==121 or range ==169 or range==361 and volume[1]>500000 then range else double.NaN;





the government cannot give anything to anyone -- that they have not first taken away from someone else.

Join InvestorsHub

Join the InvestorsHub Community

Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.