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
Related users ' posts
EchnatonX Hallo Im Demomodus bei IG habe ich das Problem, dass oft keine Orders ausgeführt werden kön...
Jan EchnatonX, nice late answer of me: Make the stop loss a percentage of the close, like 100/...
guleny Hello I made some optimization to make it better. But there are 5 transacttion which incr...
stratobast Good afternoon everyone. Thanks Doctrading for your work. I have an issue while using this ...
stratobast My bad guys. I understood what was the problem. The indicator uses highs and lows for the Re...
samwarduk Has anyone tried this on Bitcoin GBP1? The results look amazing but every time mine trie...
Kris75 Hi Bolsatrilera, I love this indicator! Thanks; => did you develop a strategy around...
Doctrading AH ok, I think the ca3 is the same : ca3 = pB[1] < 0.2 and pB < 0.2 Best regards,
chromosome21 Hello everybody, First, thank you so much for all your advices, I'm a begginer in trading a...
bertrandpinoy bonjour j ai un probleme avec ce code modifié, apparement PRT ne veut pas...avez vous une so...
rispardin no entiendo como funciana este indicador, por favor alguien podria explicar como utilizarlo???
AVT No se trata de un solo indicador, pero cada linea muestra otra información, de abajo hacia ...
IV Mcm Your indicator is interesting, I evaluated its relevance with the squeeze to detect the phas...
Kris75 Hi Gabri I launched a very simple strategy based on the 3 bars trailing stop that you cre...
TimDeCat Hi. Has anyone coded a version that you could alter it to say 5 bar trailing stop? ie make ...
Nicolas Please open a new topic in forums so we can code it there, thanks.
finplus bonjour, il y a un problème à la fin du code avec elsif (close 0 then ... ne manque t il pas...
kj1988 Hello Nicolas, thank you for this useful indicator. Could you tell me how I can remove the...
Nicolas remove lines 101 to 103
GraHal Yes sorry, I set up a link to a screen shot on my google drive and then I got locked into th...
gabri Here's the thread https://www.prorealcode.com/topic/multiframe-rsi-of-rsi/
Bernard13 Bonjour Nicolas, Pourriez-vous m'indiquer si cet indicateur fonctionne avec la V11 ? Le di...
HeikinAshi Do you have an update of this indicator since you've created them, or is this still the actu...
mcha Thank you for this work. Do you try to transform/put this indicator on candlesticks and is ...
David Balance thanks for sharing this excellent indicator.  Here are some thoughts.  please ad...
reb Hello Marc your strat seems very intersting, will take a look Reb
897148 What exactly is meant by Total price? Is r1 =28 in your example the no of days for "Total P...
otty82  THX looks good!
century nice one , thank you
arvindrao01 Hey! Does anyone have a pinescript (tradingview) code for this?
imokdesign Hi Everybody, when I look at the strategy I felt the need to implement a Moneymanagement-Sy...
Inertia newlevel then multiplier=multiplier+1 oldlevel=newlevel newlevel=strategyprofit+startequi...
Inertia Hi Bjoern, I was playing around with your code this morning (EUR/USD 5'). Thank you to the...
CavalierDeCesDames Bonjour Nicolas, Thanks for your use full job. I tried this indicator on a shorter timefram...
Nicolas You are welcome. I'm glad you like it.
Bolbo It does not appear over the price indicator on V11. Thanks in advance.
bearbull As per PhilipSchultz question above, has anybody managed to add code for when it turns blue,...
Ybr35 Bonjour Nicolas, lorsque je lance l'indicateur, il m'est indiqué que je dois définir les var...
Nicolas L'idéal est de télécharger le fichier itf joint sur cette page et de l'importer dans la plat...
Nicolas Merci dans ce cas d'ouvrir un sujet dans le forum ProScreener svp.
Andrea Hi Nicolas, thx for your code. Please i need your help to understand this part of your code:...
Nicolas the MA200 is ascending since 20 periods.
Regan2020 Hi, has anybody update the above code to enable on a 15m or 5m TF?
gigi64 ik heb de code op mijn pro realtime gezet , en bij indicator staat hij erbij maar komt niet ...
gigi64 I have put the code on my pro realtime, and it is on the indicator, but it does not appear o...
supertiti Thanks you so much Lucassen
dreif123 hi, copied the above code, not working on 10.3 the system says "return can only be used at ...
LUCASSEN Hallo , i have no problem , and i have the same versie 10.3, maybe you can ask Nicolas, tha...
Krallenmann Hallo Nicolas, kannst du mir die Regeln für den Halftrend Indikator sagen? Aus dem Code kann...
davefransman Dear Nicolas, i want set a alert on the "HalfTrend "custom moving average" met Heikin Ashi w...
Nicolas Please post the question in a new forum topic, that would need custom coding I believe.
Lyam Pareil ne marche pas dommage
ahmedbouaziz89 Bonjour, quand j'ajoute le code ou le fichier dans l'outils screeners de Prorealtime je ne v...
tyvix Bonjour le code marche bien c est juste qu'il n y a pas d opportunité au moment ou vous le...

Top