Top Bottom indicator

v10.3
Top Bottom indicator

The Top and Bottom indicator is using the breakout of the most recent tops and bottoms of the last x periods to start counting the number of bars elapsed since the events.

  • When the bars count of the last bearish breakout is higher than the bars count of the last bullish breakout, a buy signal is generated.
  • When the bars count of the last bullish breakout is higher than the bars count of the last bearish breakout, a sell signal is generated.

Code converted from another trading platform programming language, as per a request in the indicators forum.

 

 

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?

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

  1. Xtian • 16 days ago #

    Bonjour Nicolas, est-il possible de vous contacter en message privĂ© pour une demande d’un dĂ©veloppement spĂ©cifique sur PRT ?

  2. Alai-n • 15 days ago #

    https://www.prorealcode.com/trading-programming-services/ 😉

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+2 more likes

Related users ' posts
IV Mcm
4 weeks ago
HappyBunny You are using variables "r" abd "b" for the color red and blue but unfortunately after setti...
Nicolas good spot! indeed, that's a mistake. Change the variable name for the b color, while I don't...
Nicolas email notification are not available for custom indicators.
toufikg Bonjour , je trouve cet indicateur vraiment trés intéressant , peut on le rajouter au graph...
Maxime Baudin Thank you! Great work
IV Mcm V2 is coming
Fabian Hi IV Mcm, have you drawn the rectangles (Dinamic, Range) by yourself in the chart or are...
IV Mcm Myself to illustrate ;)
oraclus Bonjour indicateur trÚs intéressant existe t il un screener qui détecte les actions qui donn...
maxlys Merci IV Mcm pour ces screeners et indicateurs. Pourriez vous expliquer les différentes coul...
IV Mcm Hello, Blue dots indicate the start of an uptrend, gray dots indicate the start of a down...
utilisateur Bonjour, merci pour cet excellent outil.
mickey992 salut merci pour ton partage et ton travaille
patapouf Hi Vivien RenĂ© I just discovered your “Ordered trend-following stocks Screener”. Great work...
afanitro424 its not plotting on chart but instead as it's own histogram directly below chart? How to fix...
Nicolas by adding the indicator on the chart :)
geroniman bonjour Nicolas merci pour tous ces itf. J'utilsie une stratégie qui dépend d'un niveau de 5...
Nicolas Oui c'est possible. Merci de ne pas poster des demandes qui sont hors sujets. Pour les deman...
Demon Bonjour, je n'ai pas téléchargé le code mais je l'ai lu et comme je ne comprenais pas la con...
Vivien René Tout a fait demon, cela depend de ce que tu recherches personnellement je ne souhaite enlev...
clody Good morning Rene'. Thanks a lot d=for the 3 screener you made regarding Breack Out (very us...
Oxxoz Re bonjour Vivien, Il me smeble que 3 mois, c'est 60 séances. Cordialement,
Vinks_o_7 thanks ...and It can be used on a monthly and weekly basis by changing just the duration in ...
ncattin76 Bonjour Vivien, peux tu me dire si ton screener est utilisable dans toutes les UT ?
clody Thanks a lot Vivien ....good job is really what I'm searching
Dunstan I would like to get guidance_ How do I access and attach this indicator to my MT5 platform...
Nicolas You can't, use prorealtime, it's way better
Nicolas Le paramĂštre showcl doit ĂȘtre en true (Ă©gal Ă  1 )
Lednora Ah oui en effet c’est magique!j’étais restĂ© bloquĂ© sur la ligne 96^^. Merci beaucoup nicolas...
samsampop Merci Nicolas, c'est superb!
jaginho Bonjour, lorsque j'importe la derniĂšre formule, j'ai un message d'erreur qui se met Ă  ce niv...
IV Mcm Bonjour, Je ne reconnais pas cette ligne dans le code, essayer de télécharger directement le...
XXXXVII Fixed ITF Trend Background //Indicateur CCI ID2 = CCI[50] => 60 ID3 = CCI[100] => 60...
Sanglier thanks ! i have been looking forward to find something like this

Top