Sweep Institucional indicator

Sweep Institucional indicator

Market sweeps are not mere random fluctuations, they are strategic moves designed to capture liquidity or to set the stage for more significant price movements. Therefore, understanding these sweeps can be key to anticipating big rallies or crashes, allowing traders to optimally position their trades.

The Sweep Institucional Indicator not only helps to identify these critical points with astonishing accuracy but also provides deep insights into the psychology behind market actions.

The Sweep strategy involves identifying potential trades based on the creation of a sweep (liquidity grab) at the Swing High or Swing Low.

Share this

Risk disclosure:

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 : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. francis59 • 295 days ago #

    Hello Ivan, thanks for this very nice and powerfull indicator. Could you have time to create a screener to catch as close as possible the “right” times to buy and to sell based on your indicator? (if it’s a good idea to do that)

    Thanks in advance
    Have a good day

    • Iván • 295 days ago #

      Hi
      We could find stocks with sweep on:

      //PRC_Sweep Institucional
      //version = 0
      //28.02.24
      //Iván González @ http://www.prorealcode.com
      //Sharing ProRealTime knowledge
      ///////////////////////////////////////////////
      /////////////inputs////////////////////////////
      cooldownPeriod =10 //”Cooldown Period”
      prd = 20
      src1 = low
      src2 = high
      ////////Calculations//////////////////////////
      /////pivots low
      if src1 > src1[prd] and lowest[prd](src1) > src1[prd] and src1[prd] < lowest[prd](src1)[prd+1] then
      $prevpivotlowy[lastset($prevpivotlowy)+1] = $pivotlowy[max(lastset($pivotlowy),1)]
      $prevpivotlowx[lastset($prevpivotlowx)+1] = $pivotlowx[max(lastset($pivotlowx),1)]
      $pivotlowy[lastset($pivotlowy)+1] = src1[prd]
      $pivotlowx[lastset($pivotlowx)+1] = barindex[prd]
      z = z + 1
      endif
      /////pivots high
      if src2 < src2[prd] and highest[prd](src2)<src2[prd] and src2[prd]>highest[prd](src2)[prd+1] then
      $prevpivothighy[lastset($prevpivothighy)+1] = $pivothighy[max(lastset($pivothighy),1)]
      $prevpivothighx[lastset($prevpivothighx)+1] = $pivothighx[max(lastset($pivothighx),1)]
      $pivothighy[lastset($pivothighy)+1]=src2[prd]
      $pivothighx[lastset($pivothighx)+1]=barindex[prd]
      t=t+1
      endif
      ////////////////////////////////////////////////////////
      pLow = $pivotlowy[max(1,lastset($pivotlowy))]
      pHigh = $pivothighy[max(1,lastset($pivothighy))]

      lp = lowest[prd](low)
      hp = highest[prd](high)
      lowestclose = lowest[prd](close)
      highestclose = highest[prd](close)

      ////////////////////////Sweep conditions///////////////////////////////////////////
      bullishSFP = low < pLow and close > pLow and open > pLow and low = lp and lowestClose >= pLow

      bearishSFP = high > pHigh and close < pHigh and open < pHigh and high = hp and highestClose <= pHigh

      bullCond = bullishSFP[3] and (close > pLow) and (close[1] > pLow[1]) and (close[2] > pLow[2]) and barindex >= bullSignalIndex + cooldownPeriod

      bearCond = bearishSFP[3] and (close < pHigh) and (close[1] < pHigh[1]) and (close[2] < pHigh[2]) and barindex >= bearSignalIndex + cooldownPeriod

      //Draw sweep lines
      if bullcond then
      bullsignalindex = barindex
      elsif bearcond then
      bearSignalIndex = barindex
      endif

      screener[bullcond or bearcond]

  2. inverse • 288 days ago #

    Like the way you think Ivan … 🙂

  3. ar • 202 days ago #

    Bonjour Ivan et merci pour ton partage, Est-il possible d’avoir ce code en ITF

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Iván
1 month ago
Madrosat Bonjour Ivan je ne sais pas si je dois écrire en Français ,anglais ,espagnol ,il y a les 3 ...
Iván Bonjour, la vérité est que ce n'est pas aussi facile qu'il n'y paraît.... Un indicateur peut...
Madrosat Merci Ivan j'espère que ce jour viendra bientôt , je sais que ce n'est pas facile car les in...
Razz Hello, thank you for your indicator. Can you please tell me how I can change the text size,...
Iván Hi! you have all information about it here (https://www.prorealcode.com/documentation/drawte...
Miro Mis felicitaciones por este indicador. Funciona muy bien en el corto plazo. Gracias gracias ...
Regisnew finaly the screener could be something like this for green blocks but it probably could be b...
efahmy the support and resistance colors become darker and darker with the time, could you please c...
Iván Hi. You can change colors in lines 75,76,91,92
Iván
8 months ago
Iván Hi, Sorry, but what do you mean?
luiskohnen Hola, queria saber si el indicador repinta, porque a mi me parecio que si. Saludos y gracias...
Diamant Bonsoir, L'un d'entre vous peut-il me donner les définissions de LL-HH-LH et HL. Merci d'av...
MrMagic This is amazing work. Well done, Ivan!
Regisnew Bonjour Ivan serait il possible de proposer un screener pour détecter les zones de support v...
lee Thank you!
YvesRobert Hi smp, how should I configure this indicator because everything is at zero -> High, Clos...
smp Hi, this is an end of day pivots indicator, so you need to find the end of day pivot info; t...
YvesRobert Thank you smp.
smp I also have an End Of Day (EOD) cash pivot indicator for use on cash markets; this indicator...
cdc.andersson Hej! Jag försöker lära mig att koda PRT. Jag vill testa en strategi med RSI-värde, ATR-värde...
Swingforfortune Du kan väl jämföra om open > close (röd) eller open < close (grön)
IV Mcm I don't speak English and the translation is not clear. Do you have a different turn of ...
IV Mcm stonk ?
avatar
Anonymous Thanks very much for sharing, look forward to testing this idea out.
Noobywan (My apologies for unformatted code, the formatting only works in forum or library posts not ...
Noobywan Hi FXTT, no problem for requests (as long as no one requests me singing), just usually it’s ...
JC_Bywan Bug fix at line 38, should be: if changebarre or (opentime[1]=start) then (same as in ...
Nicolas Oui le code est correct et il fonctionne, j'ai de bons résultats sur la liste NASDAQ par exe...
pincherman Bonjour :-) J'ai coller le script dans prorealtime pour jouer avec le supertrend et j'ai un...
Nicolas Vous l'avez sans doute collé au mauvais endroit, dans l'éditeur de code pour les stratégies,...
Bard Very interesting approach Vonasi! I'm getting a 404 error when trying to download though?
Vonasi I just tested and I was able to download with no error.
Psari Hi Vonasi, I am a newbie and was wondering whether you could possibly help me with this pro...
Theo D'accord merci
tobytarczy Hi, I have been looking for something like this. I have a f questions about the indicator. ...
tobytarczy Hi have been trying to modify the code you so kindly shared to reflect to the image you have...
Juanjo Hola?. Exactamente cuál es su utilización?.
bolsatrilera Hola Juanjo, su principio esparecido a las bandas de Bollinguer.Las lineas de las bandas son...
Vonasi The indicator code can easily be adapted for use as a filter in strategies as well. For exam...
AVT Tested today in manual DAX trading (transcripted to MT and changed look into aka oszillator)...
Vonasi I think that short time frame charts will be too noisy for this indicator. One blue bar real...
Vonasi I forgot to mention in the description that Sunday pivot lines are ignored and Monday's pivo...
AVT Like that, simple and clear!
Vonasi Thanks AVT. I like simple - some people would say that I do simple very well! Sometimes you ...
Nicolas Please open a new forum topic, and respect the posting rules. Add a precise description of w...
FXTT ok will do, apologies, as I said I am new here. many thanks
Noobywan Version v2 including requested additions: https://www.prorealcode.com/prorealtime-indicators...
Trading_En_El_Ibex35 Para calcular el punto pivote y los niveles de soporte y resistencia para operar durante la ...
supertiti Hola mis disculpas, creia que tu eres Jose Antonio Madrigal ! gracias por las explicaci...
Trading_En_El_Ibex35 espero que las explicaciones te hayan sido de ayuda saludos
Paul Thanks for posting. I was currently searching how to improve day-trading based on support an...
Jessar Könntest du im Forum etwas öffnen und später darüber zu sprechen?
arahussein Hi All, I am new to trading and i find this indicator very logicail! Hence my (dumb?) quest...

Top