Scalping line indicator

Scalping line indicator

Here is another derivated indicator of the stair step moving average exploration. This time the stairstep MA (the main trend) represent the center of the oscillator. The signal line (white line on screenshot attached) is the difference between this center and a simple moving average of 7 periods by default. 

Trade signals seems pretty effective on tick charts representation (DAX/GER30 100 or 20 ticks for example). Take long when signal line cross above zero and short below it. Of course, as always objectives and stoploss protection are your responsabilities 🙂

You can play with different parameters to sweet any other instruments.

 

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. XBKZ • 10/21/2015 #

    Bonjour,
    Je trouve votre indicateur très intéressant. J’ai essayé de créer un autre indicateur qui appelle celui-ci pour lisser la courbe “scalping line” mais il ne se passe rien. Y a t’il un moyen de faire un fichier log ou de créer un message pour visualiser les variables ? Je vous poste mon code si vous avez un moment. Je vous en remercie par avance.
    // Scalping Line Lissée
    // Utilise Scalping Line et en fait la moyenne mobile

    //parameters of Scalping Line Indicator
    //percent = 1
    //mainperiod = 100
    //signalperiod = 7

    //MMPeriod = 2

    numerateur = 0
    For i = MMPeriod to 0
    linedraw, ignored = CALL \"Scalping line\"[percent, mainperiod, signalperiod]
    numerateur = numerateur + linedraw
    NEXT

    moyenne = numerateur / (MMPeriod + 1)

    RETURN moyenne as \"scalp line lisse\", 0 as \"center line\"

     

    • Nicolas • 10/21/2015 #

      Pour visualiser une variable, il suffit de l’ajouter dans la fonction RETURN et la plateforme l’affichera tout simplement 🙂
      Pour lisser une information issue d’une variable, tu peux utiliser un indicateur de moyenne mobile existant dans la plateforme comme ceci :
      lissage = average[20](linedraw)
      Où 20 est la période de lissage.

avatar
Register or

Likes

avatar avatar avatar avatar avatar
Related users ' posts
Pinus Nicolas you are the best. Always!
Larenzu Bonjour Nicolas, Merci pour ce bel indicateur. Que donne t-il en backtest ?
Nicolas Aucune idée, c'est une traduction fidèle d'une stratégie de trading manuel qui a été demand...
Lafras very late to identify signal
nader003 Hi .. how can we get this indicator for MT4 platform
Nicolas You can ask for private custom coding to our programming services: https://www.prorealcode.c...
sharksteven Hi BALMORA, looks like a good compliment algorithm. I tried to test it on the EUR USD but it...
kompiuter Hello, how did you optimized all these variable? If I try to optimize only two variables it...
rrenaud_ig Great work ! My only concern is about risk management. Your results are based on 10k. Max lo...
Nicolas Try to restrain to trading hours when Volumes are present (customized trading hours: righ cl...
Choliver Bonsoir Nicolas, Merci pour cet indicateur. Même s'il n'y a officiellement pas de volume s...
Bard Thanks for this great addition. How would you "finish the syntax" if you were to use an ALMA...
Bard Problems with Safari latest s/ware and this site and links and adding code. Let me add the...
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.
Leo Hi Luminario, b0 is a condition that the curve SMA1 is below SMA2. As long as this conditi...
nwesterhuijs Last statements for closure seem incorrect in my opinion: - "IF (Barindex-TRADEINDEX)>11...
Leo This is a 1 min strategy where the markets has been very oversell / overbought and this code...
Real Pro working now, sorry for the bother
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...
ALE
2 years ago
ALE P01 , it’s the first patner of the indicator, I hope to add others in future.
ALE We can discuss about the strategy here: https://www.prorealcode.com/topic/scalping-indicator/
settival CIAO ALE CREDO DI AVER SETTATO PER BENINO LO SCALPING INDICATOR MA NON VISUALIZZO I SEGNALI ...
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 ...
Nicolas
2 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...
learner Thanks maxxb for your response. Whys is it that I get results for long without having to rel...
proreal82 Is this indicator still useful or not..? Also I don't understand the above code tweaks from ...
proreal82 Testing it out, and sorry guys but this indicator is ridiculous. Don't use it!
Nicolas ..and what is the error please?
Bin Hi Nicolas I am IG user and the interface setup is in Chinese, a pop up windows show "indic...
Nicolas Please open a new forum topic for this particular error and upload pictures of it, would be ...
Naren Yanan what is    diplus  diminus  please
Barney Has anyone tested this algon now when PRT 10.3 was released?
Yngve does anyone know if the issue with the TP/SL is resolved ?
JakeDB Answered my own question....Sorry about this question. 5 positions, take profit at 15, loss ...
maxxb sto facendo girare in demo questa strategia modificata a 10 minuti con stop e profit ottimiz...
Manuel9z Hello, this strategy improves with the SL 30 and the TP 10. I have done backtesting and it w...

Top