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 • 343 days ago #

    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
Related users ' posts
Iván Gracias! Para el screener sólo tienes que copiar el indicador y poner como condición de búsq...
Lean Muchas gracias Iván, ya lo he podido crear.
bertoluce Hello Ivan, thank you very much for the indicator. An observation: would it be possible (and...
Doddge Hola Iván, ¿sería posible crear un screener que indique cuándo las velas coloreadas del indi...
RTR Ivan thank you for the pro-screener. I a trying to understand how to write the signals from ...
Iván Hi, Lines 62 and 63. These lines define buy and sell conditions.
Iván Hi You should delete from the indicator code all drawing functions and all variables not us...
Iván I've created a screener to show [longcondition or shortcondition]
Chrisinobi Hallo Ivan, Danke das ist Perfekt !! Kannst du bitte in der Screener-Bibliothek die itf. hoc...
MaoRai54 Thanks, now it's OK. in your first code at line 15-16 it's missing.
Madrosat Hello Ivan Did you try a strategy with this indicator
Iván Hi. No I didn't. This is a code translation requested by an user a few days ago.
Iván
1 year ago
cjr30 Simplemente modifica las lineas 19 y 21 por las siguientes: drawtext("▲",barindex,low-0.1*a...
groelandes Gracias!!
WhyAskOZ i copied the code into strategy and it gives error on line 21 and 23. it says " Line 1: ...
Iván
1 year ago
Madrosat Hello Ivan You have interesting topics on indicators , smart supertrend, optimised trend t...
Iván Hi! thanks. All of these codes are translations requested in the forum. I've on mind to back...
Raspete01 Buenos días Iván, estoy intentando llevar el código eliminando los colores y pasando un Back...
Iván
1 year ago
winnie37 Hi Ivan, if i want to use it, and call the oscillator value (in grey, green or red), how to...
Iván The oscillator is smoothtype. In inputs there is de lag to configure the output
ARLEQUIN49 Hello Ivan, Would it be possible to convert the code of this QQE MOD indicator which accomp...
ARLEQUIN49 here is the code: //@version=4 //By Glaz, Modified // study("QQE MOD") RSI_Period = i...
Iván Hi, Yes I can translate it but please, create a new topic for it.
Fgats quelques explications en Français ici : Some explanations in French here : https://www.p...
Nicolas Merci pour cette contribution, j'apprécie ! :)
Fgats Merci Nicolas pour ces encouragements et merci aussi pour le commentaire en Anglais accompa...
Alai-n I really like it when you develop ideas around price movement! I am much less a fan of all t...
elcortijoverde Muy buen trabajo.Intuitivo y claro.Gracias por tu dedicación y aportación.
JS
2 years ago
Trendilo
Trendilo
1
Indicators
Coded1 very interesting indicator, thanks JS
Nicolas
2 years ago
Lucas0000 Hello, Congratulations on this programming, it seems incredible to me, I am new to this but ...
plbourse Hello, I am trying to use this singal (in fact I have converted it to an indicateur giving B...
manfeber Buenos dias,alguien me podria decir como se descargar el archivo o el indicador Q-Trend??,ya...
BriceE Bonjour Nicolas, Je suis a la recherche d'indicateurs pour me donner la meilleure indicatio...
Nicolas
2 years ago
Maxime Baudin Well done Nicolas, creative!
Stenozar Hi Nicolas, please can you explain how to read/use this indicator? thanks!
JC_Bywan For people interested in the screener: https://www.prorealcode.com/topic/screener-buy-sell-m...
octum Gracias NJicolas. Las lineas 35 y 36 dan fallo. (¿Es adrede para iniciados?) Puedes co...
mortezaali14 Salut Nicholas, comment exécuter ce fichier dans les métadonnées
Nicolas Yes, Magic if the variable that contains the value of the line, you can test if it goes up o...
dadah1987 Bonjour Nicolas, merci pour cet indicateur. Utilisant pour l'instant la création simplifié p...
Nicolas Merci d'ouvrir un sujet sur le forum avec une description complète du système.
GustavoLoboOrenstein Is it possible to add histogram with only increasing bars?
YvesRobert Bonjour Nicolas, en effet ca marche, je me suis trompé, j'ai bien tout le tracé. C'est parce...
oliTR Bonjour, les conditions longCond et shortCond ne contiennent-elles pas une condition qui s'a...
xpe74 Utilitaire vraiment top, d'autant qu'ajouter des filtres de seuil peux aider a limiter le no...

Top