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
hq76
10 years ago
Ahoora Trend
Ahoora Trend
0
Indicators
dave
10 years ago
Wolf Just for information: This calculate code is interesting, but it is not a Triangular Moving...
Dron Hola Lobo, soy nuevo en programación, pero me interesa ese indicador, en tu mensaje estas ha...
supertiti // TMA CENTER Channel by Dave modifié // parameters // HalfLength = 50 // AtrLength = 10...
Nicolas
10 years ago
Nicolas Thanks for commenting. Well, it is not "my" indicator, it is one I have adapted from other t...
hq76 OK I will do it. Are there any possibilities to transform other indicators please?
Nicolas Yes it is possible, as long as it is possible to have the same functionalities. You can post...
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 =...
Nicolas
10 years ago
Miko31 Very good ! Many thanks
Nicolas
10 years ago
Nicolas
10 years ago
Vinks_o_7 great, thanks Nicolas !
Vinks_o_7 argh...still nothing even with 10 000 bars on daily or hourly basis...
Vinks_o_7 ok now : had to refresh the indicator.
211 Really nice indicator Nicolas! Well done!
supertiti Bonjour Nicolas comme j'avais l'impression qu'il en manque un bout j'ai fais ça : Peux...
Nicolas Merci supertiti ! C'est juste, encore un ptit bug quelquepart ! :|
Nicolas
10 years ago
Sniper T3-CCI
Sniper T3-CCI
0
Indicators
Nicolas
10 years ago
Nicolas
10 years ago
Denis Bonjour Nicolas, j'ai une question à propos de ce code, il faut que je la pose en anglais ca...
Nicolas En français pas de problème
robertogozzi Vous ne pouvez pas, car ProBuilder ne prend actuellement pas en charge MTF (Multiple Time Fr...
jeanguy Merci pour ce travail En quoi cette MM est elle différente d’une MM courte ?
Bern latest version pro real time not accepting code, same with Ehler's MAMA indicator. any idea...
Lotech123 This Indicator is very useful if the Risk number is altered to suit the time frame, volume o...
Bern error displaying, code must end with RETURN. Any idea hot to fix it?
j102491 how are you applying it to asc trend
Nicolas
10 years ago
Acceleration Bands
Acceleration Bands
0
Indicators
cepamoi Unfortunately, this still does not work: ONCE haOpen = medianprice haOpen = ((Open[1]+High...
Nicolas Force calculation to wait 1 bar of history already loaded: ONCE haOpen = medianprice if b...
cepamoi Now it works. Thanks a lot Nicolas! Here is the full code: // variables : // period ...

Top