List the values generating a Break Out with a big change of volume (very high ones) compared to the last 10 units.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
// 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%") |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :
Filename : download the ITF files
How to import ITF files into ProRealTime platform?
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
Bonjour Vivien, peux tu me dire si ton screener est utilisable dans toutes les UT ?
Thanks a lot Vivien ….good job is really what I’m searching
Very very nice! How can i change the price in the code? Like to screen only smal caps (Price under 10 dollar).
Thanks for your work! regards
Many Thanks Viv. It looks good
Bonjour Vivien,
Comment je peux faire pour adapter ton code afin:
De cibler les sociétés qui sont entre 1 et 3% de leur breakout,
De calibrer la condition sur la force du volume (si je veux uniquement un breakout des volumes moyens).
Merci beaucoup
I tried it today and it gave great results. So a big Thanks !