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
kbrooks323 Hello would someone be willing to release a scan code for this? that would be helpful as I s...
Nicolas You can do easily this screener by using the assisted creation tool. It would take you about...
kbrooks323 I just figured it out thanks!
Vinks_o_7 Vonasi you're a beast !!! ;-)))
pableitor Amazing indicator , you are pushing PRT to the limit! But looking at the scatter its not c...
Zigo
4 years ago
fifi743 Good morning, there is no mistake about the shorts c11=SMI[14,3,5](close)>-40
Zigo has to be c11=SMI[14,3,5] < -40 (indeed)
xar3 Thank you ;-) Zigo
Nicolas
4 years ago
KDJ
KDJ
3
Indicators
fireleg79 Bonsoir Nicolas. Merci pour tout ton travail. Quand tu auras le temps pourras-tu jeter un oe...
Sejibi Bonsoir, En remplaçant percentJ = 3 * percentD - 2 * percentK par percentJ = 3 * perc...
JMARTY Bonjour, A la recherche d'un indicateur détectant les divergences sur DMI, je tombe sur ce...
Jan Wind Thanks for sharing ! The Gain/Loss ratio is a bit low, 1,16, hardly offset the risks take...
drive whats the period ?
Lucas0000 Hola. estoy buscando un programador en proorder, para hacer un programa basado en el Q-trend...
Sapo Thank you very much. as always your indicators are extremely effective. kind regards Vonasi.
mitsu21 Hi, it looks nice. I'll try it tomorrow thank you for your share kind regards bruno
kj1988 Thank you Vonasi for sharing this indicator. Very useful as a comfirmation to the price act...
michaelben Bonjour Nicolas . Je cherche une strategie pour faire du trading automatisé. J'ai essaye ave...
riz001 thnk u
geroniman bonjour Nicolas, j ai un indicateur le Tiger . J aiemrai placer des fleches buy et sell dire...
Nicolas Merci de formuler les demandes sur le forum. ça n'est pas le bon endroit et hors sujet ici ! ;)
Nicolas I think that you are trying to put an indicator code into a strategy or a screener code. Ope...
szohori is there a rs indictor that compare the stock to the spy?
Weldzar Could you share the screener you have created?
ggolfet Thanks Nicolas, I imported the itf file and solved the problem.
Hasardeur Hallo Nicolas, i tried to code the multi period heat map in combination with the Ehler’s ...
Nicolas Please open a new topic with the code in forum.
Marie-Eve Vergoz lorsque je copie les codes, le système me signale des erreurs à la ligne 12 et suivantes
Marie-Eve Vergoz sorry - tout est ok -
AlgoAlex
5 years ago
Marcot18 Alex ti sei superato
AlexF Esagerato!
jobswaps Sube como trazar lineas de tendencias a tantas barras
Frankiesc interesting indicator !! Thanks for sharing!!!
robertogozzi Thank you :)
phanz Hi ... what are the conditions for buy signal using this indicator? Tks
JJ Tec Hola Las condiciones de entrada / salida vienen en el libro de J. Carter Mastering the trad...
Pixeldd Ich bekomme beim einfügen des Indikators einen Fehler angezeigt. Was bitte muss ich genau än...
Nicolas En effet merci, erreur corrigée, la variable Risk affecte désormais comme il se doit les cal...
nader003 How can we get this indicator on MT4
Nicolas You can ask for private custom coding to our programming services: https://www.prorealcode.c...
sir_i Bonjour à tous, Je suis nouveau sur le forum et sur la plateforme, pourriez-vous me dire com...
Nicolas Il faut simplement l'appliquer sur le prix.
sir_i Merci pour la réponse, je ne suis pas familier avec l'application de cette procédure simple,...
Nicolas Il s'agit d'un indicateur compatible avec PRT v11 uniquement. Pour éviter les erreurs de cop...
Sébi Intéressant. Merci pour ce partage Nicolas. L'indicateur ne considère pas les divergences ...
Nicolas ok, pour les divergences chacun voit midi à sa porte je dirai :) Vu qu'il n'y a pas de formu...
Vinks_o_7 Great, thanks a lot Nicolas !
Teddy Coronak Top Nicolas ! Merci
Andyswede Thank's! Great indicator:)
mcha merci bien et félicitations pour la réactivité avec laquelle il a été mis dans la bibliothèq...
soulintact Great indicator Nicolas, thanks!

Top