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
julien1978 The ADR value that is plotted intraday does not match the value of the regular ATR indicator...
Fab666 I've tried to get a fix for this also but no luck, it doesn't print the correct data as far ...
Seabiscuit Hi! With the new PRT update, this indicator does not work anymore
Guibourse Hi ! I am asking once again for your help : would it be possible to use the ATR as a "take p...
Tradingrob Many thanks for the indicator, however if the price is below the indicator, then the indicat...
aldtrading Merci pour ton travail ! J'ai de bons résultats en utilisant cet indicateur
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/  
Pelle Nævestad Thanks Nicolas, this is a keeper!
Chicane23 Hi, when uploaded the WAE isnt showing histogram; only line. Is there a way to modify?
Nicolas Change the way the lines are displayed in the indicator settings window : histogram, lines, ...
Dimi.A Perfect for counter-trend scalping. I like this!
viktorthuns Hi Nicolas! Great work you've done with all your indicators. Just wondering about the code a...
Nicolas the value is not a boolean but an average of an addition of booleans. As stated in the descr...
David Thanks for the explanation Nicolas.
freecat1899 Hello, I wanted to create a percent ADR based on this indicator, so I wrote this code that I...
revstrat At first glance, I see this mistake. You shouldn't average the highs and the lows. You shoul...
denmar Hi Could somebody please enlighten me how this code operates. I wish to use the code (is...
denmar Testing email notification to Denmar
David Black #gm74 Did you ever get this figured out? gm74
Investment Account Wow great thanks ... looks good! Do I set the colour shades up from within the indicator 's...
avatar
Anonymous Thanks for your comments and yes, that is exactly how I set up the colour levels.
Vish Thanks I have added this in my watch list. Has anyone tried it yet ? Does it work on currenc...
sr021 Hi I tried to copy and paste the code, but recieve the message  : Syntax error:The followi...
Nicolas Hello, of course. You have 3 options : 1/ you download the file and import it into your plat...
r.angel It seems that the formula needs a SQRT (that is Vyangzhang = SQRT(...))
RickTrader I think to have annualized view of this historical volatility you will need : Vyangzhang =...
PeterClothier Hi, I downloaded this indicator and imported it. I tried adding it to a chart , and it hasn'...
Nicolas Don't add it on the price, so just don't use the price setting to add the indicator.
Sofitech Bonjour. J'aimerais savoir s'il est possible de "truquer" un peu l'indicateur pour qu'il don...
Maz I actually like this very simple idea. It can also be useful for market micro-structure syst...
Nicolas Thanks Maz, I'll have a look tomorrow.
Nicolas
9 years ago
petmut Hello all, When I import the code here above "multiple ATR bands" and apply it on the PRT ...
Nicolas That should need some custom coding, if you want to make it done, please open a new topic in...
Patopercho Hello, thanks for the indicator, i would like to change the color, is it possible, thanks

Top