Quadratic Semaphore

Quadratic Semaphore

The quadratic semaphore indicator is an indicator that find confirmed market u-turn with the help of 2 quadratic regression calculated with Highs and Lows over the last “length” periods.

“p” setting is candlesticks quantity to confirmed the quadratic regression has formed a High or Low parabola, such as Fractals. Consecutive same signals can happen due to the use of different price values for upper and lower semaphore.


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. hartgeld • 08/25/2018 #

    Nicolas, très bien, en comparaison avec d’autres indicateurs de signaux très rapides.

  2. willi • 08/25/2018 #

    Dear Nicolas, congratulations for the good work. Does the indicator give the signals in real time or afterwards?

    • Nicolas • 08/25/2018 #

      It gives signals afterwards. You can set the confirmation period with the p setting.

  3. ottimo • 08/25/2018 #

    Dear Nicolas, is ita possible work on time-frame DAILY or the indicator Re-paint ?
    Does the signal appear after a few some days?

    • Nicolas • 08/25/2018 #

      The indicator does not repaint, given signals will not disappear, but signals appears indeed in the past when a parabola has been formed and confirmed.

  4. ottimo • 08/25/2018 #

    Dear Nicolas, could you recommend some of your indicators that I can use on the Daily time-frame?
    Thank you so muche for you help …

  5. verygrubby • 08/25/2018 #

    Thanks for this Nicolas… so, can this indicator be used in a strategy? eg using the dots as signals to buy/sell? I cant seem to work out how to use it in that way… thanks again

    • Nicolas • 08/25/2018 #

      You can use it as signals or trend filters. Change the
      Last line with: Return pivots,pivotl
      New dots appear when one of these values has changed during the last candlestick.

  6. Traderfox06 • 08/25/2018 #

    Bonjour Nicolas,
    thanks for this genius contribution and all the best for 2019.
    I really like this indicator because it combines the powerful Regression and Williams Fractals concepts.
    Since I don’t know how to use this indicator in an automated scalping strategy, I would appreciate it very much if you could advise how to do this in more detail (see question from „verybrubby“)?
    At least it would be great to understand how I can implement an acoustic signal („beep/bell“) in addition to the plot in the chart. I know how to define Alerts in PRT (https://www.prorealcode.com/blog/video-tutorials/alerts-prorealtime-10-3/) but using an indicator-based alert would be much more flexible.
    Thanks a lot in advance and kind regards!

    • Nicolas • 08/25/2018 #

      Please open a new topic if you need custom coding.

  7. Rory Dryden • 08/25/2018 #

    I like the look of this. I shall try it tomorrow.

  8. cervantes2 • 08/25/2018 #

    Buenas tardes,me gustaria saber si tiene un proscreener de este indicador ,que busque los valores que marcan giro de mercado

  9. larouedegann • 08/25/2018 #

    Bonjour Nicolas
    Je cherche à créer un screener avec cet indicateur lorsque un point bas apparait( rond rouge)
    Peux-tu m’aider

    • Nicolas • 08/25/2018 #

      Je pense qu’il existe déjà quelque part dans le forum.. il faudrait chercher. Sinon merci de créer un nouveau sujet.

  10. Bhanu Pratap • 08/25/2018 #

    Dear Sir, Can I get MQL4 File for this indicator and last man standing . pls looking forward for your valuable reply.

  11. ISTJ_T • 78 days ago #

    Hi Nicolas
    Thanks a lot for the indicator.
    Trading off the TradingView and have issues with the scanner based on this indicator. TradingView is not allowing to use custom scripts to scan the whole market. Only limited mount of stocks (based on subscription). So, trying to converto to Python, but there is a wall – it’s not possible to get the same results in Python as on TV for all stocks. The reason of this is that TV uses the bar_index as an input parameter for the quadratic calculations. This differs for each stock based on how long TV has had data for the stock in question. In the Python code, on the other hand, you can’t use anything else than a hardcoded value for bar_index.
    Please advise if you can suggest how to scan the market with this indicator?
    Thanks in advance for your suggestions.
    P.S. Open to communicate in person

    • Nicolas • 77 days ago #

      Just use ProRealTime and its powerful screener for stocks.

Register or


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

+10 more likes

Related users ' posts
1 month ago
Pensera Hi Nicolas Thank´s for this great indicator ! Arnaud
LUIS59270 Bonjour Nicolas, existe il un screeners indicateur qui détecte les marteaux avec meche au mo...
juanj Strange that the ITF file did not import the parameters. You can either add the parameter yo...
Finning Hi JuanJ, just a question about the tollerance*pointsize. I know what it is/what it does (in...
JOKAMAURICE Hi I am looking to number bars in a chart to ease analysis. Any idea if a program has been d...
Guibourse Hi, I'd like to increase the thickness of support and resistance lines. I do not think that ...
JJ Tec Hello. Thanks for the great contribution of the indicator. At the moment, I have modified i...
Khaled Hi Vonasi, I tried to embed your PP Fractals code in a Strategy and it seems to be a good fi...
Copperwave Hi Juan - awesome implementation of Robins price action analysis. Any chance this can be mod...
Daniel da Costa Well done Juan!
idunnomuch IS this working in the latest version of prorealtime? I get the indicator, but not over my c...
jimkn0pf Christopher, wie saehe denn die Formel ohne Kontrollkerze (3. Kerze) aus?
Nicolas Avec l'assistant de création pour les screeners c'est possible, le code est compatible.
maxlys Merci Nicolas, avec l'assistant cela donne le code ci dessous. Est-ce correct ? De plus est-...
Nicolas Oui le code est correct et il fonctionne, j'ai de bons résultats sur la liste NASDAQ par exe...
Vonasi There are actually two ways to calculate standard deviations and I seem to have used the ver...
Rory Dryden Thank you. Experimenting with it now.
Wolf Hi Vonasi. Thank for this indicator. I like this calculate concept. I think that line 16 thi...
Vonasi Well spotted! It is just a safety check to ensure that no value below 1 can be used otherwis...
Vonasi You can find the minor bug fix and new ITF file here: https://www.prorealcode.com/topic/eve...
Reddington Hi Vonasi! Really nice work, is it possible to re-create this to work in 10.3? Best regards ...
Vonasi Thanks for the compliments. No this is not easily possible in v10.3 because it uses arrays w...
Balmora74 thanks for this code Philippo ! So if i understand well a Positive (+) EntryOK x ROC means a...
Dritan Hi Philippo,thanks for sharing this code.Can You add please Volume more than 250.00?Thanks
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...
jiddan78 how to convert to afl amibroker ?
Nicolas We do not supply free coding assistance for AFL Amibroker on the website. You can ask for pa...
Ngomsi @ Vonasi, how to use timeframe , 13 minutes ,21 minutes, 34 minutes,et 55 minutes with this...
nectouxg thank you Nicolas of your speed of response, I tried but, I have to fix something badly, bec...
Nicolas change the lastline with: RETURN lastsig and check if lastsig change its value with the a...
nectouxg Hello Nicolas, I will try tonight when I get home, just one last question, I trade the DA...
Pablo Carmona del Moral hola juanjo, muchas gracias por este screener que nos has compartido. creo que lo voy a util...
Pablo Carmona del Moral para el volumen he cambiado: // Volumen significativo VS=volume>2*(average[10](volume[1...
Juanjo Muchas Gracias Pablo, ...Tengo varios screener, uno lo tengo adaptado para operar intradía, ...
abhay I am getting a shading between the lines, how can I avoid that. I just want to see lines as ...
Vonasi Delete the 'Color Zone' in the indicator settings window.
mscharstrom Hi @robertogozzi, I really love this indicator. However, I'd like to tinker with it to fit ...
Ahimsa Hi Roberto I cannot thank you enough for writing this code. It could help me more than you ...
Nicolas With PRT v11, you have to click on "price" at the upper left side of the price chart.
Geronima Ortiz I watched the video three times, but I can not put the npips parameter as a variable. I do...
Geronima Ortiz I think the video is for an old version of prorealtime, the images do not correspond at all ...
Nicolas indicator1 = CALL “PRC_StopReversal”[npips, 1] and define npips in the optimization window ...