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
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!
cdc.andersson Hello, when trying to include this wonderful Dynamic RSI on my trading system i get the erro...
Rafyone Bonjour Nicolas et bonne année lol J'ai une erreur qui apparait concernant drawbarchart une...
Nicolas Je pense que tu n'utilises pas le bon éditeur de code, cette instruction est compatible uniq...
Exalaxe Hey, i just noticed you optimized this strategy. Could i see your new version, please?
Andrea.1981 sorry i add my code but it not enter why i dont know
Andrea.1981 this is code simply stop , and you can see another version for stop / Codice principale...
AntoGH how did you backtest it ?
PastaPesto @AntoGH , I dont know if you are asking me, but my backtest was made in an IS of 4 years bet...
Ridder @PastaPesto Do you still running this and how is the results? Thanks
Maik2404 es sind leider nur long Positionen und keine Short zu erkennen.
Maik2404 Vytautas: es bleibt aber nur bei long Auslösungen
ullle73 this one is not a winner, have backtested it on almost all pairs, does not have an edge
myhlo Super Nicolas !! Cet indicateur offre une nouvelle lecture du Rsi ! Ces bandes up & Dawn...
okiki please how can i acess the indicator i like it and want it please am new here
Nicolas download the itf file above and import it into your prorealtime platform: https://www.prorea...
teddy58 Ich habe es mit N= 1,5 und N=2,5 getestet mit 200000 Einheiten. Es funktioniert leider erst ...
Matriciel I use this indicator to help me make a decision when there is a divergence. The divergences ...
Jan Wind Hi, I personnaly am not a big fan of ZIGZAG indicator, as it repaints itself during time. ...
XXXXVII Excellent indicateur ! Déterminer une tendance est devenu un jeu d'enfants ! Félicitation......
gregoire bonjour nicolas j ai cherché partout sur le net et impossible de trouvé ce que je recherch...
Nicolas Merci de poster une demande dans le forum des indicateurs, ainsi on pourra le coder dans ce ...
bala Hi Nicolas, I have been extensively researching for lot of answers here. I found that you...
Nicolas Don't apply it on price, use the main "indicator and trading system" button found on the top...
Bogdan35 Hello, Is there one for MT4?
Doddge Bonjour Nicolas, savez-vous s'il existe un indicateur pour Prorealtime similaire au ST-TL fi...
Nicolas Pour les demandes de conversion de code, et si vous possédez le code source de l'indicateur ...
Doddge Merci beaucoup Nicolas, j'ai utilisé le formulaire avec les informations que j'ai sur cet in...
Nicolas
6 years ago
Juan Salas Hi FULVIO09, Nice piece of work. It seems to work very well. Does only work for INDEXES??...
Johann Hi @FULVI09, I understand the instructions however I'm not too sure how to determine the "p...
Player8520 Hello, It doesn't work with me either. However, I changed AA to 180 on line 15, added th...
Kosuda76 Thanks for your reply! But I do not really understand what the opposite of them the values ​...
AdriTrade Good job Louis!! How could do this for the Williams indicator? Thank you very much.
imorandin Hi!, Nice code. I'm tryng to port it to another language, but I don't understand this part:...
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.

Top