Hello,
I would like to see all the stocks that meet the following criteria:
- De price is above EMA50 day
- De price is higher then 2 usd
- De price is higher then price day before
- The last daily volume bar (which is green) needs to have a higher volume then any RED volume bar in the last 10 days (see attachment for example)
gr Marco
Hi. Here you have the code:
//---EMA
ema50 = average[50,1](close)
//---Green and Red volume bar
green=close>close[1]
red=close<=close[1]
//---Volume red
if red then
volred=volume
else
volred=0
endif
//---Maximum volume red in 10 bars
maxvolred = highest[10](volred)
//---Setup
c1 = close > ema50
c2 = close > 2
c3 = green
c4 = volume>maxvolred
setup = c1 and c2 and c3 and c4
screener[setup]
JSParticipant
Veteran
Hi @Iván
Nice solution…
I see that you make the color of the “volume bar” depend on “Close and Close[1]” e.g. green is “Close>Close[1]”…
Doesn’t the color of the volume bar depend on the “Close and Open”, e.g. green is “Close>Open”…?
Hi JS!
No it doesn’t.
Look at the screenshot
JSParticipant
Veteran
Hi Iván
Look at this screenshot… 😉
???
Hi
We can modify in settings.
By default is close >= close[1] –> green