Scalping with Parabolic SAR and Fibonacci

Scalping with Parabolic SAR and Fibonacci

This scalping indicator was requested in the indicators’ forum, it contains 2 parabolic SAR of different settings and plot automatically entry, stoploss and target levels calculated with Fibonacci retracement.

The rules are:

LONG

  • When price breaks up through the 0.02 & 0.2 PSAR you draw a Fibonacci retracement
  • from the closest last significant low (before pirce broke PSAR)
  • to the high of the bar that broke the PSAR.
  • This gives you your PROFIT TARGET at 161.8% Level
  • and your ENTRY ar 50% level
  • STOP = Last Signifcant low -2 Pips

SHORT

  • When price breaks down through the 0.02 & 0.2 PSAR you draw a Fibonacci retracement
  • from the closest last significant high (before pirce broke PSAR)
  • to the low of the bar that broke the PSAR.
  • This gives you your PROFIT TARGET at 161.8% Level
  • and your ENTRY ar 50% level
  • STOP = Last Signifcant high +2 Pips

 

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. JMat45 • 09/03/2019 #

    Thanks, Nicolas, looking forward to experimenting with it.

    • Nicolas • 09/03/2019 #

      well, the last part of the code could have been more simple, i just saw that i let some of the rough code in it.. but it does not impact the functionality.

  2. kalleklovn • 09/03/2019 #

    How can i get the chart to where my price is? it always open in new window and i tried adding price but did not work

    • Nicolas • 09/03/2019 #

      Add it on the price chart by using the wrench at the left upper side of the price chart.

  3. Pinus • 09/03/2019 #

    Nicolas you are the best. Always!

  4. Larenzu • 09/03/2019 #

    Bonjour Nicolas,

    Merci pour ce bel indicateur. Que donne t-il en backtest ?

    • Nicolas • 09/03/2019 #

      Aucune idée, c’est une traduction fidèle d’une stratégie de trading manuel qui a été demandé dans le forum.

  5. juanj • 09/03/2019 #

    Tried converting this into a strategy but based on results not sure if I did it right. Especially the part where I need to refresh the stop orders based on the plotbar variable (in order to keep them valid)

  6. juanj • 09/03/2019 #

    Defparam cumulateorders = False

    possize = 1
    plotbar = 10 //no of bars to keep stop orders valid
    buffer = 2*pointsize

    sarfast=SAR[0.02,0.02,0.2]
    sarslow=SAR[0.005,0.005,0.05]
    FibTarget = 1.618
    FibStop = 50 //Expressed as percentage

    //highs and lows
    if close sarfast and close[1] sarslow) or (barindex – startbar <= plotbar) then
    startbar = barindex
    irange = high – fibo0
    entry = fibo0 + (irange/(100/FibStop))
    itarget = fibo0 + irange*FibTarget
    istop = fibo0 – buffer
    Buy possize contract at entry-buffer stop
    Set stop ploss (entry-buffer) – (istop-buffer)
    Set target pprofit (itarget-buffer) – (entry-buffer)
    endif
    endif
    if (close sarfast[1]) Then//new bearish signal
    fibo0 = hh
    hh = 0 //reset hh
    if (close < sarslow) or (barindex – startbar <= plotbar) then
    startbar = barindex
    irange = fibo0 – low
    entry = fibo0 – (irange/(100/FibStop))
    itarget = fibo0 – irange*FibTarget
    istop = fibo0 + buffer
    Sellshort possize contract at entry+buffer stop
    Set stop ploss (entry+buffer) + (istop+buffer)
    Set target pprofit (entry+buffer) – (itarget+buffer)
    endif
    endif

    • bertrandpinoy • 09/03/2019 #

      hello juanj, can you send the code repair by your good care to try scalping please?

  7. juanj • 09/03/2019 #

    Format of the above code is broken, the greater than and smaller than signs have disappeared. I tried using the Add PRT code option but it doesn’t work for Library posts.

  8. Géraud Laveissiere • 09/03/2019 #

    Bonjour Nicolas, merci pour ton aide précieuse. J aimerai avoir un indic sur le graphe avec des buy et sell dés que 2 hakenashi vert sont cassés à la baisse ( sell) ou 2 HA rouge sont cassés à la hausse( buy). Existe t’il ce code sur PRT? Géraud

    • Nicolas • 09/03/2019 #

      Merci d’ouvrir un nouveau sujet sur le forum des indicateurs, on verra ce qu’on peut faire pour créer cet indicateur de signaux de trading.

  9. sachinssmp • 09/03/2019 #

    required above mt4 indicators & mt4 template plz

    • Nicolas • 09/03/2019 #

      we do not provide mt4 indicators on our website, you can download and use the above code on ProRealTime trading software: https://www.prorealtime.com/

  10. leofi • 09/03/2019 #

    Bonjour Nicolas, j’espère que vous allez bien.

    Je vous remercie pour ce code, j’ai une petite question au niveau d’une variable.

    À la ligne numéro 24 de votre code, vous déclarez la variable “ll” comme ceux-ci “ll=min(ll,low)”.
    Cependant, je me demande à quoi elle est égale ? Car vous l’utilisez comme argument dans la fonction min(args, args) toujours à la ligne 24.

    Car dans ma logique pour moi, elle est nulle car aucune valeur lui est attribué avant…
    J’imagine qu’il y a un concept que je dois ignorer propre au langage PRT.

    Pouvez m’éclairer svp ?

    Je vous remercie d’avance pour votre réponse et je vous souhaite une bonne journée,
    bien à vous, Tom’s – Leofi.

    • Nicolas • 09/03/2019 #

      il est égale à la valeur minimale entre lui-même et Low

    • leofi • 09/03/2019 #

      D’accord, je vous remercie pour votre réponse.
      Bonne journée, bien à vous, Tom’s – Leofi.

  11. rama • 09/03/2019 #

    what is the buy condition or sell condition for this
    can you suggest a code k1=1 buy and k1=-2 sell at those levels as mentioned in the code? at the moment is there no indicator it says?

  12. rama • 09/03/2019 #

    I would like to know at point 1 an alert or binary indicator so that I can place order

  13. maxlys • 09/03/2019 #

    Bonjour Nicolas, merci pour ce code qui a l’air intéressant. Comment ajouter dans le code l’indication pour qu’il ne s’affiche que sur une plage horaire spécifique, par exemple de 9h a 22 h ?
    De plus comment pourrions nous placer une alerte lorsque le signal Entry Apparait afin de ne pas être toujours en train de surveiller tous les graphes ? Merci encore pour tout le travail fourni

avatar
Register or

Likes

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

+25 more likes

Related users ' posts
swapping fib1236 = (hiday-lowday)*1.236+lowday DrawSegment(startbar,fib1236,barindex,fib1236) colou...
swapping Oups ! Nicolas il y a un problème avec l'insertion de code en utilisant le bouton [Add PRT ...
swapping fib1236 = (hiday-lowday)*1.236+lowday DrawSegment(startbar,fib1236,barindex,fib1236) colour...
Bard Problems with Safari latest s/ware and this site and links and adding code. Let me add the...
grimweasel47 Ok thanks Nicolas - could this be adapted to take into account MFI and then have price, volu...
Nicolas I don't understand what you mean exactly, would be better to open a topic about this idea wi...
Nicolas Yes, that's how it goes when using loops..
JosephFelix Hi, Could I please have help with adding these indicators 'on price'? Every indicator that I...
Nicolas Just add it on price by clicking the wrench on the left upper side of the price chart.
Nicolas Sure, I suggest you open a new topic in the forum to discuss about your ideas.
hdgm Bonjour Nicolas, est ce que l'on peut en faire une stratégie de trading automatisée ?
Nicolas Non, pas en utilisant l'indicateur zigzag traditionnel de la plateforme.
Marcel The line is just a moving average line. The indicator reacts on the Parabolic SAR dots.
Mattzi I dont get the dots! What am i doing wrong? :)
Mattzi Ignore this comment ;)
MauroPro It is possible to apply this indicator ON the chart , because when I try to apply the formul...
Nicolas Yes, just apply it on the price chart by using the wrench on the left upper side of your pri...
MauroPro Hi Nicolas, thanks for the reply, I managed to apply the indicator on the chart.
s00071609 Is it possible to have fibo numbers like 1, 2, 3, 5,8 sequence by modifying the calculation?
Nicolas sorry i dont get it. you want to plot the next level at current price + ratio?
s00071609 I meant not plotting 4, 6 and 7. This question about having 1,3,5,8 sequence was meant to be...
bertrandpinoy hi Leo, are you still using thoses strategy right now?
avatar
crazytrader Any improvements of this?
princedon184 hi my name is prince i need help
YvesRobert Merci beaucoup Nicolas. Existe t'il un petit programme qui permet de tracer sur la graphe en...
Nicolas Oui il y a celui ci: https://market.prorealcode.com/product/prt-renko/?lang=fr
YvesRobert Bonjour Nicolas, j'ai une question technique à te poser. Je visualise souvent le cours en RE...
ALE
6 years ago
settival CIAO ALE CREDO DI AVER SETTATO PER BENINO LO SCALPING INDICATOR MA NON VISUALIZZO I SEGNALI ...
graff.laetitia Hello, I'm sorry to bother you, I'm new to trading, I managed to download the indicator but ...
Alby118 i can get it to work? dax 1 min. upload indicator on the4 chart. thank you
GraHal Is this the Discussion Topic you need @Gregg https://www.prorealcode.com/topic/scalping-i...
bertrandpinoy bonjour Nicolas y a t il une possibilité de signal sonore dès qu une vente ou un achat serai...
Nicolas Oui cela nécessitera une adaptation du code cependant, merci de formuler une demande sur le ...
Van Salt Hi Bianca, the indicator shows you some interesting cluster-zones from long- and shortterm f...
Vinci1966 Questo indicatore è molto interessante. Mi sono permesso di apportare alcune modifiche nell'...
Vinci1966 // VAN SALT´s <> Version 20171105 // This Indicator draws the Shortterm and Longtern ...
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...
Nicolas
7 years ago
swapping Bonjour Nicolas, comment doit-on modifier le code (ou ajouter la variable "style") pour que ...
Nicolas Il faut changer la dernière ligne du code par : return ibuf108 style(line,2) as "Vostro", ...
swapping Merci beaucoup Nicolas, c'est mieux ainsi ...
Jan Wind Thanks for the indicator. Seems to indicate the start of the short term trend quite well, ...
Nicolas Questo indicatore è stato progettato solo per i dati intraday, ma potrebbe essere adattato a...
MrCrous //FR Bonjour, Dans le code ci dessus, je ne comprends pas ce que fait la ligne : linea...
Nicolas J'ai déjà répondu à cette question quelque part sur le forum. Il faudrait chercher un topic ...
dzim0032 J'avais oublié de mettre un commentaire pour la vente du scalper dont les règles sont justes...
Nicolas
7 years ago
Loop Hi All! Would it be possible to have the same indicator with the MACD calculated with the DE...
Nicolas Why not, but do you think it would make such a noticeable difference?
Loop Good question Nicolas! That's why I was curious to check it! MACD based on DEMA is usually m...
Nicolas Use the wrench of the price chart! Upper left of the window
Dymjohn The wrench shows options for the components of the indicator not how to show in the main cha...
Nicolas http://www.prorealcode.com/topic/overlapping-indicators/  

Top