Scalping Counter Trend strategy

Scalping Counter Trend strategy

– On the basis of a program written by Leo entitled “LEO MOVING AVERAGE” I propose a simple strategy to initiate positions in “Against Trend” on detection of new higher or lower …

– The program displays the maximum and minimum levels, indicates the position and the direction of the input with a planned Stop Loss indicating the extreme points. It colors the background trend on the unit of time used in blue if the asset is bullish or yellow if it is bearish. A simple 200-period moving average was added to validate the medium-term trend …

Variables make it possible to adapt this strategy to your liking:

  • “Period” Value of LMA moving average
  • “Offset” Adjust distance text Stop Loss of the candle
  • “Color” Adjusting temperature background color
  • “BackColor” Mask the background color (visual option)
  • “Text” Hidden text “Stop Loss”


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. ludo6977 • 03/07/2019 #

    it’s great work, but is it repainted? In any case good job.

  2. ludo6977 • 03/07/2019 #

    he is extremely late. Too bad

  3. Sofitech • 03/07/2019 #

    Could you give some explanation about this indicator. How long does it take to have a new high/low signal when it happens ? How many bars / candles ?

  4. EZB-Schmarotzer • 03/07/2019 #

    Good system, but no dots on FX-Pairs like GBP/USD. Could you explain why and fix it maybe?

  5. swapping • 03/07/2019 #

    Hello Schmarotzer, for the forex it is necessary to put offset to “0” !
    I forgot to specify it …

  6. Leo • 03/07/2019 #

    Nice… the fact that there are a Maximum or Minimum with a Long term Bias can be a powerfull resource….
    I am glad that this indicator is usefull.

  7. swapping • 03/07/2019 #

    Thank you very much Leo, I will make other mix that can be interesting with different code of this community …
    Best regards 😉

    • nader003 • 03/07/2019 #

      Hi .. how can we get this indicator for MT4 platform

    • Nicolas • 03/07/2019 #

      You can ask for private custom coding to our programming services:

    • darbes • 03/07/2019 #

      Could you code in PRT from an MT4 code ?
      Best JC

  8. marinober • 03/07/2019 #

    ciao… fa repaint ?

  9. marinober • 03/07/2019 #

    Troppo bello per essere vero. il segnale lo da in ritardo ….. direi INUTILE e magari sarebbe bene non pubblicare indicatori che fanno repaint sono cose di 100 anni fa

  10. swapping • 03/07/2019 #

    легко критиковать показатели, закодированные в мое свободное время и оставленные бесплатно, но ничего не принося сообществу

  11. marinober • 03/07/2019 #

    giusto, la critica è troppo severa. Mi dispiace che l’indicatore abbia delle lacune perchè sarebbe veramente utile e l’idea ottima. Io non so programmare , mi limito a testare . Se posso rendermi utile in questo sono a disposizione.

    • Alby118 • 126 days ago #

      Great work, much appreciated!
      You think this will work better with HULL indicator? So the SL prints instantly.

  12. RobertFX • 03/07/2019 #

    Works fine on FOREX

  13. Lafras • 03/07/2019 #

    very late to identify signal

  14. darbes • 03/07/2019 #

    How to convert this signal into a strategy pro ?
    Best JC

Register or


avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
FernetTrader think i found a solution!
monochrome Thanks for the indicator. Very interesting!
monochrome Can you please share how you made it work? I cant seem to make it work in a strategy
Fabian Hi Thomas, thanks for your explanations. Which indicator do you use in the screenshot ...
Thomas Thats On Balance Volume and Bollinger or SMA or what you want. It shows me the volume flow. ...
bertrandpinoy @MAKSIDE I would be grateful if you send me your version. have a nice day
11 months ago
bertrandpinoy Hello Zigo can you turn into an automatic strategy?
eckaw Hey @Zigo thanks for this indicator. May I ask what the multiplier 1.682 is derived from? I ...
Zigo Hello, eckaw, its not so important I had meant 1.618 and not 1.682. It has nothing to do wit...
rama what is the buy condition or sell condition for this can you suggest a code k1=1 buy and k1...
rama I would like to know at point 1 an alert or binary indicator so that I can place order
maxlys Bonjour Nicolas, merci pour ce code qui a l'air intéressant. Comment ajouter dans le code l'...
Nicolas Discussions with many other versions and improvements can be found here: https://www.proreal...
darbes Hi How does it go on live ? JC
antonio73 Balmora74, io vedo che funziona anche su timeframe ad 1 minuto con piccole ottimizzazioni, t...
Kris75 Hi, This is great !! anyone ever developped a strategy about it ???
swapping hello Kris75, not that I know but it is possible to make a scenario ;)
digitation Hi swapping, Thanks for sharing this useful tool. I was wondering how difficult it would be...
arnaudat Bonjour, je suis tombé sur cet indicateur par des recherches sur les écarts types et il me...
Nicolas Il y a peut-être une erreur de calcul causée par un division par zéro, j'ai retrouvé une aut...
arnaudat Merci nicolas, j'ai déjà pris cette version et en plus je suis sur les futures. Par contre d...
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.
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...
Leo This is a 1 min strategy where the markets has been very oversell / overbought and this code...
bertrandpinoy hi Leo, are you still using thoses strategy right now?
crazytrader Any improvements of this?
David29 BONJOUR, Félicitations pour cet indicateur. Avez-vous une idée de comment créer une strat...
Nicolas Je pense que ça a déjà été codé quelque part sur le forum. Dans la négative merci d'ouvrir u...
GraHal @David29 ... did you ever find a Strategy based on above Indicator?
3 years ago
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
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 ...
4 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...