ATR Volatility Based System Jim Berg

v10.3
ATR Volatility Based System Jim Berg

In this complete system Jim Berg uses the volatility indicator 2 times the ATR 10 periods by default, for the entry signal as well as the trailing stop.

He also uses it to produce a takeprofit line on the chart (the small violet points) to indicate when prices have moved up suddenly. This can be a signal to take profits before a possible pullback to more normal price movements. The system is set up for long trades only.

 

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. mlouys • 03/23/2020 #

    Bjr, j ai lu effectivement que le système était long only, mais je crois qu on peut aussi l utiliser a l inverse, je pense l avoir lu sur une autre page ou l on donnait le codage pour différentes plateformes

    En tout cas encore merci

  2. bertrandpinoy • 03/23/2020 #

    bonsoir Nicolas est il possible de voir cet indicateur évoluer dans un TF bas pour une aide a la décison sur le scalping? merci.

  3. mohamed • 03/23/2020 #

    bonjour nicolas! j’aimerais pouvoir changer les couleurs des chandelier directement depuis la fenêtre de paramètre de l’indicateur au lieux d’entrée a chaque fois dans le code pouvez vous m’aider svp, j’ai essayer de le faire moi même mais je n’est pas réussi, merci d’avance

    • Nicolas • 03/23/2020 #

      remplacer les valeurs de coloured(0,255,0) par coloured(r,g,b) et ajouter ces noms de variables dans les paramètres de l’indicateur.

  4. mohamed • 03/23/2020 #

    merci Nicolas!

  5. sacram14 • 03/23/2020 #

    Merci Nicolas pour ce set-up que je ne connaissais pas ! J’ai tenté de reprendre le code pour en faire un backtest mais j’aurais besoin d’une correction ! J’obtiens de beaux gains mais un taux de réussite faible (<50%), est-ce normal ?

    ATRmult = 2 //ATR multiplier
    iATR = averagetruerange[10]
    ATR2 = ATRmult*iATR
    IN = close > lowest[20](low) + ATR2
    OUT = close < highest[20](high) – ATR2
    TP = Average[13,1](high) + ATR2

    //ATR Stop suiveur
    ST = Close – ATR2
    temp = 0
    for j = 0 to 14 do
    temp = Max(temp,ST[j])
    next
    STsuiveur = temp

    // — Conditions
    If not longonmarket and IN then
    buy 1000 cash roundeddown at market
    //buy 1 shares at market
    set target profit TP
    set stop loss STsuiveur
    endif

    If LongOnMarket AND OUT THEN
    SELL AT MARKET
    ENDIF

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Marcos Alvarez Dominguez Hello Nicolas, is it possible to stablish a bullish screener for this indicator when the cen...
Nicolas Please open a topic in the screener section to ask for this specific query.
zaher123 Hello, the indicator doesn't show up anything on the screen, any suggestions please?
Nicolas Apply it on the price chart. The indicator plot just one single line. There are two in the...
jamesoc Hi Nicolas, do you happen to know if there is an indicator that can be applied to charts, to...
gustavobp Buenos dias Nicolas, al agregar tu indicador no me reconoce la variable Price ni en la linea...
joobeng Sorry, I solved the problem. I have add the CBL indicator using the spanner icon on the pric...
Nicolas Adjust the price settings for the Y Axis to use the price only.
XXXXVII Hello Your indicator is interesting. However, I can't see the orange line. Do you have ...
bharatjai Script 'Adaptive ATR' has been saved line 24: no viable alternative at input 'lr' Gettin...
Nicolas download the itf file and import it into your platform.
Francis3332 Bonjour à tous, J'aime beaucoup cet indicateur et j'aimerais pouvoir l'utiliser sur la dern...
Nicolas Definition of CustomClose: https://www.prorealcode.com/documentation/customclose/ [2] means...
Bard Just wondered Nicolas, say you had set DEFPARAM CumulateOrders = True, is there anyway for t...
Bard Sorry pls ignore last image, try this - it actually has the Dev Stop indicator! https://www...
AGTrader Interesante, muy visual Doc. Felicidades!!!
Andraxx simplemente impresionante Dom...te sigo en youtube. Me ha gustado tu canal. Gracias por comp...
Caribeengeek Bonjour j’avais vu que vous proposiez d’écrire des codes pour ceux qui s’y connaisse pas Mai...
Caribeengeek Les devises unité
Nicolas Merci d'utiliser le forum pour les demandes de programmation personnalisée
jebus89 Big thanks for sharing this :) Seems to work as expected, good stuff.
GraHal Please forgive the daft question, but why is 3-bars-trailing-stop-williams-3.itf included a...
Kris75 Hi, Seems great but what would be the code for a stock ? Thanks, Chirs
oakenstream Paul, what is the best way in your opinion to know if I have over optimized?
WarningTrading Comment peut on la comparer ? comme ceci ? cela ne me donne plus le message d'erreur manque...
sally31120 Bonjour, je n'arrive pas à créer ce screener close > supertrend extended2[1] la réponse...
Nicolas voir ce sujet pour un screener basé sur Supertrend Extended: https://www.prorealcode.com/top...
flodefacebook Merci Nicolas pour cet indicateur. Très utile dans une technique de retournement.
HeikinAshi thank you for this very interesting indicator Nicolas! did you define a tradable setup fo...
JanWd Tried the code, nice concept, seems to work quit well for US/EUR 2hrs, Other markets seems n...
JR1976 Simple and nice code , congrats !!! Seems work well with TIme frame 1 h
phanz Hi all, Sorry revisiting an old post. This algo is simple, and simplicity is the ultimate ...
christophe11560 salut gabri, Je n'ai pas de commentaire sur "s*s", c'est ton choix personnel. Je me posais...
gabri Hi, the SQRT(254) it is used to annualize the value. In terms of the "s*s" I just used the s...
christophe11560 Merci pour ton retour
guillermus69 is this " a= log(close/close[1])" better than a = ((close/close[1]) -1) *100 . I ...
gildaslm Hi gabri, thanks very much for your work, it helps me a lot. Have you ever tried to make the...
gandolfi thanks for your screener. Do you have the code for original Sharp ratio in order to compare ...
Abz Thanks gabri
Mattzi In your opinion is less than 20 stocks a bad idea? Thank you.
gabri No, you can pick as many or as little as you want. The portfolio composition depends on many...
xel Hi! I found myself that the indicator posted here contain an error, I want to edit or fix i...
Mr_Balagan Bonjour, j'ai quelques questions concernant cette combinaison d'indicateurs qui à l'air inté...
larouedegann STE : Fonction statistique "erreur standard" de séries temporelles de N périodes pour le pri...
Mr_Balagan Merci pour ces informations précieuses larouedegann. J'y vois plus clair. Encore joli boulot

Top