Volume scan for past 10 bars on daily and those bars meet another criteria

jngy2k

Member
The scan is going to help me find momentum stocks based on volume stocks that traded above 10 million volume in one day with a higher relative volume on that day usually start trending. I'm looking for stocks that traded 10million volume IN ONE DAY within the past 10 days and not 10 million volume overall within 10 days.

The custom scan I come up with on TOS is below but not sure if it is operating correctly then I would like to scan those stocks that traded 10M volume in one of the Days out of 10 days to have had above relative volume st dv. > 2. for the day it traded above 10 million volume.

thoughts + suggestions ???

qD51EJdh.png
 
Last edited:

jngy2k

Member
nevermind i figured it out
the value criteria IS FOR ONE BAR out of the 10 BARS searched

I haven't figured out how to specifically attach the Relative Volume St Dv criteria to the First criteria though.
Also is there a OR function?
For example, volume is greater than 10million within last 10 bars OR volume is greater than 20million within last 10 bars.
??
 

XeoNoX

Well-known member
VIP
Yes there is a "OR" (just needs to meet 1 of the 2 criteria) syntax
and there is also a "AND" syntax (needs to meet both criteria).

plotting the volume greater than 20 million within the last 10 bars will over ride volume greater than 10million because 10 million is less than 20million. therefore you just need volume is greater than 20 million within last 10 bars.

however at your request here you go what you asked for...

Code:
volume is greater than or equal to 10000000 within 10 bars or volume is greater than or equal to 20000000 within 10 bars
 
Last edited:

jngy2k

Member
Yes there is a "OR" (just needs to meet 1 of the 2 criteria) syntax
and there is also a "AND" syntax (needs to meet both criteria).

plotting the volume greater than 20 million within the last 10 bars will over ride volume greater than 10million because 10 million is less than 20million. therefore you just need volume is greater than 20 million within last 10 bars.

however at your request here you go what you asked for...

Code:
volume is greater than or equal to 10000000 within 10 bars or close is greater than or equal to 20000000 within 10 bars
@XeoNoX yeah i realized this mistake just now.
i meant volume between 10mil to 20mil OR volume between 30 mil to 40 mil. does that make sense?
however i realied there is no BETWEEN function. I have to use greater than or less than so I have to combine two statements to make a between.
then that prevents the code from being able to add OR.
 

XeoNoX

Well-known member
VIP
coded it mixed, you can use either words syntax or the symbol syntax. as per your request above here you go volume between 10mil to 20mil OR volume between 30 mil to 40 mil within the last 10 bars.

Code:
volume is greater than or equal to 10000000 and volume is less than or equal to 20000000 within 10 bars or volume >= 30000000 and volume <= 40000000 within 10 bars
 

Similar threads

Top