Trend Force

Trend Force

The field “Trend Force” indicates the strength of the current bullish/bearish trend. The more strong the trend is, the more significant the reversal will be.

This indicator has been developed with the help of ProRealTime to regroup in the same indicator both bullish and bearish trends.

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. Petrus • 10/12/2015 #

    Hi Lolo.
     
    If you put on the graph only the difference between both values, the result is much clearer:
    REM Determines strength of bullish trend
    BullTrend = (CLOSE - LOWEST[20](LOW)) / AVERAGETRUERANGE[10]

    REM Determines strength of bearish trend
    BearTrend = (HIGHEST[20](HIGH) - CLOSE) / AVERAGETRUERANGE[10]

    dif=BullTrend-BearTrend

    RETURN dif AS \"Difference\", 0 AS \"Zero\"

     

  2. swapping • 10/12/2015 #

    Trend Force with Background Color

  3. swapping • 10/12/2015 #

    // — property setting
    //Alpha = 40 // Transparency backgroundcolor
    // — end

    // Determines strength of bullish trend
    BullTrend = (close – lowest[20](low)) / averagetruerange[10]
    // Determines strength of bearish trend
    BearTrend = (highest[20](high) – close) / averagetruerange[10]

    // Add Background Color in green if BullTrend Market or red if BearTrend Market
    if BullTrend > BearTrend then
    BackgroundColor(0,135,0,alpha) // green color
    else
    BackgroundColor(157,0,0,alpha) // red color
    endif

    return BullTrend coloured by BullTrend style(histogram,1) as “▲ Bull”, -BearTrend coloured by BearTrend style(histogram,1) as “▼ Bear”

avatar
Register or

Likes

avatar avatar avatar avatar
Related users ' posts
Thomas
6 years ago
Thomas Como? no intiendo. Can you write in english . It works! Download the itf file.
Thomas New Version comin soon...
CHARLESRACHELLE OLA NAO SERVE PARA MT4?
ed65 hi great indicator how can i adjust time frame for opening rge ie to first 5 min , thanks in...
Thomas The you must use the timeframe 1min and change the code from endtime = 090000 // 09h00 to ...
killerplatuze Dont work anymore with the current version?
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
6 years ago
Marcot18 Alex ti sei superato
AlexF Esagerato!
Vinks_o_7 Apirine also offers a very interesting update of the OBV...
Wolf I don't know why the indicator does not work for me. It gives me an error about RETURN... ...
sergibilbo Great job thanks!!!
druby I was glancing through the code and noticed that the variable name, Middle' has been used. I...
winnie37 yes. "No ground breaking math here, but I am finding very useful and some algo based on it i...
Jan Wind Also interesting to know what does not work, which set up you use, saves me investigating ! ...
winnie37 i just set the proorder like this: buy when 50/100/200 phase >0 and sell when under 0, go...
Dari when I put the indicator does not put it on the price, sn in a new box like many indicators....
Nicolas by adding it on price instead. Use the wrench on the left upper side of your price chart.
robertogozzi It surely CHANGES even when currently outside time range, as the lookback periods change as ...
SkippyTrader Thanks Roberto, but shouldnt the values in the outside time range not be different? As it sh...
robertogozzi Actually it is a constant (I tested them on a 1-hour TF, 9am to 5pm) and outside that time r...
Vonasi Discussion regarding this indicator can be found here: https://www.prorealcode.com/topic/dis...
robert123 hi there, how do you get the images of the knights etc into your code....and is there anywhe...
swapping hello robert123, on this site -> https://fr.piliapp.com/symbol/
marcosamo Hello and thank you for this indicator, I have a small problem, it only shows the pawn at th...
marcosamo in fact I just saw a rider, so everything works sorry for my previous question
swapping perfect marcosamo, coupled with ichimoku-price-pattern this is better ;)
Nicolas Sorry I do not provide assistance for Tradestation code.
surfeur Bonjour, Je suis pas expert en PRT donc si qq'un peut m'expliquer un peu le code ? Par...
Nicolas src c'est bien le customclose en effet. ATR, si aucune série de données n'est spécifié, il u...
Vinks_o_7
6 years ago
IV Mcm I've always wondered how to make the ADX faster, thank you!
Vinks_o_7 You welcome !
Vinks_o_7 Another variation that may be more accurate : we calculate the average of normalized DI's in...
Lighthouse
6 years ago
Swinglines
v10.3
Swinglines
2
Indicators
Ciccio New version
Ciccio New version 2.0 on the original Forum thread
illenza
6 years ago
ribes65 Buongiorno Illenza, Il tuo indicatore è molto efficace, ma non funziona su tutte le azion...

Top