B-Xtrender

B-Xtrender

A trend following indicator published in IFTA Journal by Bharat Jhunjhunwala. It is mainly to be traded on big timeframes.

The B-Xtrender elucidates the dilemma of differentiating a trend change from a minor correction, thus providing specific entry, scaling and exit signals. It is an indicator created to give a single glance of the ongoing trend. Even a casual look at the system can acquaint the viewer about the long-term and shortterm trend.

Two indicators used in conjunction constitute the B-Xtrender.
The first indicator determines the short-term trend while the second indicator determines the long-term trend. Once the clarity over market movement is established, a myriad of entry techniques can be used to trade, with the help of the B-Xtrender.

For anyone looking into the indicators please have in the source below where logic behing the indicator is nicely explained.

ifta.org/public/file…_ifta_journal_19.pdf

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. superfalcio • 08/03/2023 #

    very interesting, i red the article. Nicolas are you going to create an automated strategy based on that? I will appreciate and I’d like to test it!!!

  2. luxrun • 08/03/2023 #

    Con la programmazione assistita, ho generato questi due screener, uno long e l’altro short. Le strategie non ho ancora provato a crearle. Posto i due screener e aspetto qualche commento. A me pare funzionino nel cercare titoli adatti, non
    ho provato con indici, forex e altro. Un saluto

    indicator1 , ignored , ignored , ignored , ignored , ignored = CALL
    “PRC_B-Xtrender” (close )
    c1 = (indicator1 [1] >= indicator1 [2])
    indicator2 , ignored , ignored , ignored , ignored , ignored = CALL
    “PRC_B-Xtrender” (close )
    c2 = (indicator2 >= 0)
    ignored , ignored , ignored , indicator3 , ignored , ignored = CALL
    “PRC_B-Xtrender” (close )
    c3 = (indicator3 [1] >= indicator3 [2])
    ignored , ignored , ignored , indicator4 , ignored , ignored = CALL
    “PRC_B-Xtrender” (close )
    c4 = (indicator4 >= 0)
    SCREENER [c1 AND c2 AND c3 AND c4] ((close /DClose (1)-1)*100 AS
    “% Var ieri” )

    indicator1 , ignored , ignored , ignored , ignored , ignored = CALL
    “PRC_B-Xtrender” (close )
    c1 = (indicator1 [1] <= indicator1 [2])
    indicator2 , ignored , ignored , ignored , ignored , ignored = CALL
    "PRC_B-Xtrender" (close )
    c2 = (indicator2 <= 0)
    ignored , ignored , ignored , indicator3 , ignored , ignored = CALL
    "PRC_B-Xtrender" (close )
    c3 = (indicator3 [1] <= indicator3 [2])
    ignored , ignored , ignored , indicator4 , ignored , ignored = CALL
    "PRC_B-Xtrender" (close )
    c4 = (indicator4 <= 0)
    SCREENER [c1 AND c2 AND c3 AND c4] ((close /DClose (1)-1)*100 AS
    "% Var ieri" )

  3. Fgats • 08/03/2023 #

    Hello Nicolas, I’d like to know why you chose to use simple average functions to define shortTermXtrender and longTermXtrender while Bharat Jhunjhunwala in the article you pointed out was using exponential average functions. Thank in advance for your answer. Gabriel

    • Nicolas • 08/03/2023 #

      The average used are EMA already, average[shortl1,1]
      1 stands for Exponential.

  4. Fgats • 08/03/2023 #

    I suspected something like this but in the PRT documentation I couldn’t find anything to explain the second parameter of the “average” function. So I suppose that by using this second parameter we can define other types of averages in the same way. Anyway, thank you for your quick response.

  5. 616248 • 08/03/2023 #

    Bonjour Nicolas,

    Peux tu nous expliquer le principe de fonctionnement ? Ou nous mettre un lien vers l’explication ?
    Te remerciant par avance

    • Nicolas • 08/03/2023 #

      Le lien vers l’article IFTA de l’auteur est dans le post déjà 🙂

  6. P. Marlowe • 08/03/2023 #

    Very poweful indeed. It deserves close attention. I really appreciate very much IFTA background, Thanks.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
robertogozzi There you go: myMagicTrend = CALL “Magic Trend custom”[20, 14, 1, 5] alpha = 105 b = 0...
johann8 exactly :) Thank you all for the help!
max_92 Ciao Roberto, ho scaricato l'indicatore e come ti avevano già scritto sopra anch'io vedo la ...
Xenotrax A première vue, sa à l'air d'être un indicateur très puissant sur de petites temporalités, j...
merri Bonjour Nicolas, Comment transformer cet indicateur en bot sur PRT ?
Nicolas Cela a déjà été fait, voir ce sujet: https://www.prorealcode.com/topic/strategia-con-lindica...
Nicolas change the last line with: return v coloured(r,g,b) style(line,2), v+band coloured(168,168,1...
Paolo.B Thanks ... works as i wanted.
Kanamax Bonjour Nicolas, comme Paolo.B je souhaiterais utiliser cette indicateur au sein d'un code. ...
zilliq Thanks @Nicolas. I tried to use it as Trend in a proorder system, but don't know why, it doe...
Suzu Yuk He is right. MT and mavgMT are not defined and causing errors.....
RakeshPoluri I have a question about the bands on the candles. Is it bollinger bands or something else?
Nicolas I think that's 2 Bollinger Bands
Emperor.it "style(line,2)" C'è una guida ai parametri che si possono modificare ? Tipo stile della lin...
IV Mcm https://www.prorealcode.com/programming-with-prorealtime/
Daniele Maddaluno Écrivez-moi où vous préférez you can easily find me on LinkedIn
AK27 C'est payant visiblement sur linkdin je peux pas vous envoyer, discord vous avez ?
Pensera Bonjour Nicolas, comment est-il possible de backtester cet indicateur? cela fait une erreu...
Nicolas Oui bien sûr, il doit y avoir pas mal de sujets dans le forum à ce propos.
simmerseb Bonjour, merci beaucoup pour cet indicateur je le trouve très clair et pertinent.
Nicolas Il doit s'agir d'un mauvais copier/coller. Je suggère de télécharger le fichier itf contenu ...
Bard Hello @Nicolas, I can get this to display in a separate indicator panel but not on Price as ...
Stenozar Hi @Nicolas, how can I put the bands on price? Thanks, Stefano
Guillaume Mcm I gave the above message fix ;)
Tradingrob Is it possible to put the itf-file in the right way here in Prorealcode? so the right 'trend...
Guillaume Mcm Update link ;) https://www.prorealcode.com/topic/trend-histogramme-cci-mise-a-jour-suite-...
Screw27 Hi man, I installed the indicator and i don't know why but my graph it is so big
HelixKing sounds interesting I'll take a look
Godo Bonjour Souhait Sam, Après de nombreux essais pour le mettre en format afin d'utiliser ce c...
Nicolas Il faut supprimer celles qui existent dans la fenêtre d'optimisation et les créer en dur dan...
crusoe76 hi there, anyone can help making this strategy work, i have a message saying replace variabl...
Screw27 Salut nicolas j'aimerais savoir tes résulats grace a cettte methode
eva.g.forsgren It dose not work, I get a strap instead of candels???????????????????????????????????????????
Nicolas That indicator is the one below the chart. The indicator to put on the price chart is this o...
pyhrus P.S : IG , que j'ai contacté ,m'indique que la version V11 , ne sera pas disponible avant un...
Hasardeur Dear Nicolas, is there someting at the arry to modify in order to run the trend at the actu...
MALIMALO Dear Nicolas, just try touse your indicator with backtest but it's not working. is anybody...
ribes65 Bonjour Nicolas, Merci pour votre travail. Est-il envisageable de créer un screener pour ...
Nicolas Bien sûr, merci de formuler une demande dans le forum des screeners pour prorealtime. En res...
ipbvba Est il possible de le transformer en indicateur (pour ne plus avoir les lignes mais uniqueme...
supertiti Bonjour Nicolas, Je ne comprend pas bien , le trend change de couleur quand les prix sont a...
Nicolas Oui ce serait possible, cependant l'indicateur est bien prévu pour conserver la couleur de l...
supertiti Quand tu pourras si tu peux nous coder la troisième couleur cela améliorerait les trades cou...
Nicolas How to import file page: in the help section of the website explains howto
kenssa import through the indicator page/window in the Proreal time
chicoteca Buenas, no consigo que se me muestre en el chart de DAX. ¿Cómo procedo? Gracias.-

Top