Absolute Strength

v10.3
Absolute Strength

The Absolute Strength indicator indicates the current market “strength” in two different ways possible:

  1. RSI Method
  2. Stochastic Method

and by separating the bulls and bears into 2 curves.

The results are then averaged with the same “length” as the one used for these 2 above methods and smoothed a second time using the “Smooth” variable. The moving average mode used is by default the Weighted one.

 

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. Vicari0us • 01/16/2019 #

    Hi Nicolas,

    How do I incorporate this indicator into my strategy?
    I mean what do I call the indicator.

    Example:
    trend = supertrend[7,3] //This is for Supertrend indicator
    Confirmations = Absolutestrength[??] //What do I add here to use it in the syntax

    Thanks

    • Nicolas • 01/16/2019 #

      Use the CALL function: https://www.prorealcode.com/documentation/call/
      or use the ‘fx’ button in the ProBacktest window to add it automatically in your program.

  2. Vicari0us • 01/16/2019 #

    Perfect thanks!

    I got it

  3. Bogdan35 • 01/16/2019 #

    Hello,

    I there one for a MT4 File? Thanks!

  4. MStarFX • 01/16/2019 #

    How do I add Absolute Strength indicator into my chart

  5. Jo han • 01/16/2019 #

    I am trying to call Absolute Strength into ProScreener (PRT 11.1)
    But i do not get any results “matches” in my ProSreener Window.
    Works fine with other indicators. It’s like it not calling the indicator properly?

    Code in proscreener;

    ignored, ignored, indicator1, indicator2 = CALL “PRC_Absolute Strength”[0, 9, 1, 2](close)
    c1 = (indicator1 >= indicator2)

    SCREENER[c1] ((close/DClose(1)-1)*100 AS “%Chg yest.”)

    Best Regards,
    Johan

    • Nicolas • 01/16/2019 #

      The moving average mode is not working in ProScreener, you have to change the code for the appropriate moving average type. By default it is set to Weighted Average, so you have to change all lines containing MODEMA with WeightedAverage, see https://www.prorealcode.com/documentation/weightedaverage/

  6. Jo han • 01/16/2019 #

    Thanks for the explanation!

    Tried to change ModeMA (4 rows at the bottom) with WeightedAverage[9](close)
    but get “A positive integer field is expected with average”

    //Nicolas @ http://www.prorealcode.com
    //Sharing ProRealTime knowledge

    // — settings
    //Mode =0 // 0-RSI method 1-Stoch method
    //Length = 9 // Period
    //Smooth = 1 // Period of smoothing
    //ModeMA = 2 // Mode of Moving Average
    // — end of settings

    if barindex>max(Length,Smooth) then
    Price1=customclose
    Price2=customclose[1]

    if Mode=0 then
    Bulls=0.5*(Abs(Price1-Price2)+(Price1-Price2))
    Bears=0.5*(Abs(Price1-Price2)-(Price1-Price2))
    endif
    if Mode=1 then
    smax=Highest[Length](high)
    smin=Lowest[Length](low)
    Bulls=Price1 – smin
    Bears=smax – Price1
    endif

    // AvgBulls=average[Length,ModeMA](Bulls)
    AvgBulls=average[Length,WeightedAverage[9](close)](Bulls)

    //AvgBears=average[Length,ModeMA](Bears)
    AvgBears=average[Length,WeightedAverage[9](close)](Bears)

    //SmthBulls=average[Smooth,ModeMA](AvgBulls)
    SmthBulls=average[Smooth,WeightedAverage[9](close)](AvgBulls)

    //SmthBears=average[Smooth,ModeMA](AvgBears)
    SmthBears=average[Smooth,WeightedAverage[9](close)](AvgBears)

    endif

    RETURN SmthBulls coloured(0,0,255,50) style(histogram), SmthBears coloured(255,0,0,50) style(histogram) , SmthBears coloured(255,0,0) style(line,3), SmthBulls coloured(0,191,255) style(line,3)

    Also tried to replace the whole average line with

    // AvgBulls=average[Length,ModeMA](Bulls)
    AvgBulls=WeightedAverage[9](Bulls)

    //AvgBears=average[Length,ModeMA](Bears)
    AvgBears=WeightedAverage[9](Bears)

    //SmthBulls=average[Smooth,ModeMA](AvgBulls)
    SmthBulls=WeightedAverage[9](AvgBulls)

    //SmthBears=average[Smooth,ModeMA](AvgBears)
    SmthBears=WeightedAverage[9](AvgBears)

    Do not get any errors with this but it is still not working with proscreener
    Any pointers in the right direction (I’m really a beginner in programming)

    😉

    Best Regards,
    Johan

    • Nicolas • 01/16/2019 #

      Please open a new topic with the code and an explanation, you have messed up the initial code 🙂

  7. Jo han • 01/16/2019 #

    Ok 🙂

  8. dau710 • 01/16/2019 #

    Are the Bulls Blue & the Bears Red?

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+4 more likes

Related users ' posts
luxrun Thanks, bolsatrilera, for a very good and solid screener!
luxrun sorry... indicator!
Lily Rios Gracias por el indicador, tengo una pregunta necesito programar un screener de valores que e...
Bebbo Grazie del prezioso contributo Nicolas, scusa la mia inesperienza, sono alle prime armi e s...
Nicolas To avoid recalculation, you should use the one from this post.
Bebbo Ok Grazie Nicolas.
bolsatrilera
7 years ago
jissey Bonjour Bolsatrilera, je trouve le cm rsi interessant, merci de l'avoir mis à disposition ! ...
bolsatrilera bonjour jissey, je n'ai aucune information sur ce que tu dis, je suis désolé.
ALE Hi the color is given by a numerical value derived from the oscillator in use. If you comp...
efahmy Thanks mate
Jo-01-R Hello, it is possible to have this indicator but instead of colors rather have numbers rangi...
Nicolas
7 years ago
enricot Scusa nn riesco.
SoloContado If you smooth the signal using a "summation" function, you get a nice "crossing of 0" graph....
ShaunG Greatly appreciated Nicolas!
Nicolas Add it on price using the wrench on the left upper side of the price chart.
Stenozar thanks Nicolas, I' ll try again!
Radetzky Buongiono e grazie : l'immagine sopra ritrae l'indicatore sul TF 15 min ma a me funzio...
Etienne Hi, thanks for proving this code. I would like to contribute by adding a computation speed...
Etienne //Compute Super Smoother coefficients once if barindex = 1 then a1 = exp( -1.414 * 3.14159...
Nicolas Thanks a lot!
ak5hay2 Works like crazy on bitcoin. Use different timeframes. Thanks a lot Doc!!!
richyowen Hi, great code thanks. Very new to this forum. Is there a way to add a 100point target on an...
lisamitch50 Morning all, Just backtested on quite a few instruments, worked well on backtesting, but tel...
Matriciel
7 years ago
Alai-n Thanks...
Bard Thanks for sharing this Verdi55. More instructions from Larry Williams website (and a fea...
Nicolas
7 years ago
Jurik RSX
v10.3
Jurik RSX
3
Indicators
hartgeld Hallo Nicolas, ein sehr guter Indikator, vielen Dank! Leider rechnet er bei mir nicht die Pe...
rigel Hi Nicolas, have you coded the Jurik alone (as Mov. average)?
Nicolas 2 versions available in this indicator: https://www.prorealcode.com/prorealtime-indicators/a...
AG1 Thanks Nicolas Still a problem in line 29 Please take a look. thanks again Alex
Nicolas code is modified in the above post, use that one.
AG1 Still a problem in line 29 Please take a look. thanks again Alex
styrke Hello Nicolas, Nice screener, I appreciate the way you always try to condense at maximum th...
Nicolas There's no particular reason. RSI is widely use with its default period and results seems re...

Top