Screener Break Out with high volume

Category: Screeners By: Vivien René Created: July 18, 2020, 4:04 PM
July 18, 2020, 4:04 PM
Screeners
6 Comments

List the values generating a Break Out with a big change of volume (very high ones) compared to the last 10 units.

// today variation
tdVar = (close[0] - open[0]) / open[0] * 100

// Var condition
avgVar = 0
for i = 1 to 10 do
if (close[i] > open[i]) then
avgVar = avgVar + (close[i] - open[i]) / open[i]
else
avgVar = avgVar + (open[i] - close[i]) / close[i]
endif
next
avgVar = avgVar / 10 * 100

c1 = tdVar > avgVar

// highest break condition
maxValue = highest[10](high)[1]
c2 = maxvalue < close and open < maxvalue

// Volume condition
avgVol = average[20](volume)
sum = 0
for i=0 to 20
if (volume[i] < avgVol*10) then
sum = sum + volume[i]
else
sum = sum + avgVol
endif
next

avgVol = sum / 21
c3 = avgVol > 1000

// Breakout Var%
breakoutVar = (close - maxvalue)/close*100

// Screener
SCREENER[c1 and c2 and c3](breakoutVar as "Breakout Var%")

Download
Filename: Breakout-with-big-volumes.itf
Downloads: 1089
Vivien René Average
Currently debugging life, so my bio is on hold. Check back after the next commit for an update.
Author’s Profile

Comments

Logo Logo
Loading...