Three lower (and higher) Closes John Carter’s Scalping Indicator

v10.3
Three lower (and higher) Closes John Carter’s Scalping Indicator

Hi to all,

I’m reading chapter 14 of John Carter’s “Mastering The Trade” (2nd edition), which describes a setup to open position after trend has changed and a three candle pattern has been formed.

For example, to go short following new trend when old trend was bullish, Carter says that you have to check for three consecutive lower closes, that means that reversal has been confirmed and trader has to go short at market.

At the same way, reversed rules are valid for bullish signal: after a reversal from a bearish to bullish, you have to check for three consecutive higher closes.

Carter adds a filter to avoid “Flags” (consolidation situations): in case of three lower closes, the close of the last two candles must be lower than the low of the first candle of the pattern; at the same way for bullish, the close of the last two candles must be higher than the high of the first candle of the pattern.

Using that rules, I tried to write an indicator that paint green (for bullish) an red (for bearish) arrows on the chart.

Note that when the first arrow is painted after a market reversal, You are on the market so You must ignore the following candles having the same color.

The original John Carter’s indicator for Trade Station put the signal to the first candle of the pattern. My indicator put the arrow to the third candle of the pattern, that is the entry candle.

Here’s the code:

 

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. zilliq • 03/06/2017 #

    Hi Francesco,
    Thanks for your code,
    There is a little error. You need to add the notion of reversal (-1/+1). Because without this you will have too much signal as you see on your picture
    Carter advice to take position to the third and exit wit hthe other signal
    Sadly, I do an algo last week and the results are not very fantastic…May be the things change since his book
    Regards
    Zilliq
     
    https://www.zilliqtradingresearch.fr/
    Coding is not a crime 😉
     

    • mikael • 03/06/2017 #

      Hi Zilliq!
      I don`t understand were to put the notion of  reversal (-1/+1). Can you please exlain or show in the code?
       
      Regards Mikael

  2. Sofitech • 03/06/2017 #

    Hello. How can we modify the code to have an alert on each arrow buy and sell…? RETURN…..So we can test it with an alert in Prorealtime ?

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar
Related users ' posts
jacquesgermain à utiliser en unité de temps jour
okeus Ivan, riesci a creare un indicatore per le "evolventi paraboliche" ? grazie
groelandes Impagable tu trabajo cada semana. ¡Gracias!
Iván de nada! :)
Row trading Hi, to see the current day put : for y = i-1 to i-1 do to see all days put : for y = 1 t...
Razz Hi, thanks for your answer. I'll keep an eye on the whole thing, I've now expanded it to in...
Razz Adding an image did not work : https://www.directupload.eu/file/d/8765/3ez6bzlq_png.htm
f1_maik Well programmed, but in my eyes ‘only’ better Bollinger Bands with all their quirks and fals...
groelandes Me uno al comentario de Edelmiro. Un millón de gracias por el trabajo constante, dándonos in...
JohnScher Ja, das würde mich auch interessieren
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...
Iván
2 months ago
Madrosat Bonjour ivan Quelle différence il y a t il entre Extra trend et ultra trend lequel est le p...
P. Marlowe Muy bueno. ¿Podría hacerse para señalar extremos por el lado bajista? Lo mismo a la inversa....
Miro Esta es una versión del indicador, para ambos extremos. //-------------------------------...
P. Marlowe Muchas gracias ¡¡
Alai-n I have a problem! The "Kill Zones" do not start and stop at the appointed time but at the cl...
Alai-n I'll specify here, when the KillZone closing time has arrived and we are on the high or low ...
Iván Hi! Yes that's it. The indicator draws the rectangle after close
@toniyecla ¡gracias! más capturas aqui: https://www.prorealcode.com/wp-content/uploads/2024/10/IC...
robert123 I had a go at the 'order block' version- badly done I'm sure....but a start. // Sonarlabs ...
robert123 take ''sens1 = 5'' out and put ''rango'' in as variable
@toniyecla captura: https://www.prorealcode.com/wp-content/uploads/2024/10/sesiones_v3.png
@toniyecla y más opciones: añade una línea también en sesiones EUROPA y USA (configurable) y un texto o...
@toniyecla // Author: toniyecla - contact@rescommunesomnium.com // VARIABLES // EspHorarioVerano (b...
Alai-n Hello, take a look at this formulation made by "Blade106", Topic link attached post #227334....
@toniyecla ¡interesante acercamiento! (no lo conocía, simplemente tuve la necesidad y lo programé) pers...
Iván
3 months ago
Stenozar Hi Ivan, I can visualize only the central orange line but not the others, do you know why?...
MaoRai54 dear Ivan, it seems to be very interesting but please clarify what are all the lines I see i...
Iván Hi! you have the answer in the last line of code... MacdMiddle as "histo" style(histogra...
kats Le Top , a utiliser avec le nuage violet et alerte TN pour plus de précision.
roccafragius Hello Ivan, another great Indicator, very useful to trace the trend ( blue line) and the pos...
roccafragius Hello Ivan, very good job! May I ask you to translate teh script from TradingView named Tre...
Iván Hi! yes. You can ask for it here: https://www.prorealcode.com/free-code-conversion/
roccafragius Thank you so much Ivan! I created this request in english Translate from TradingView Indicat...

Top