MBFX Timing indicator

v10.3
MBFX Timing indicator

The MBFX Timing indicator is one of the indicator of the well known “MOSTAFA BELKHAYATE” system.
In fact this oscillator could be compared to a classic stochastic. It displays in percentage the current movement of the price around a mean calculated by the a dynamic scale.
It is commonly use to take trade decisions with the “center of gravity” (also named COG) to detect the potential reversion to the mean of the price.
This version is translated from a Pinescript code by a request on the french forum.

 

 

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. gabri • 04/25/2017 #

    Excellent job like always!! are you working also on the Barycenter indicator?

    • Nicolas • 04/25/2017 #

      No but I think you can find a lot of different version of the “center of gravity – COG” indicator in the forums.

  2. Bard • 04/25/2017 #

    I found a version of the Belkhayate COG indicator here:
    https://www.prorealcode.com/topic/center-of-gravity/#post-19393 (Link button not working with Safari v12)

    The Mostafe Belkhayate provided the rules here: http://www.mbfxsystem.com/mbfx-manual.pdf

    Yet, this is the only time using PRT however that I haven’t been able to get a system to take one single trade based on rules of a trading system! That’s including with relaxing the buy and sell rules, even reversing them so that a buy trade is taken on a crossover of the upper red COG lines (already tried price “equals” and price crosses under with no luck).

    The main problem is that you will find the COG and the Timing Indicator are never in time with each other (ironic right?). I used of the zero lines too for the “Timing” Chart (instead of price being between the -4 and -8 for long trades and +4 and +8 for the shorts), again no luck… I also tried using “previous periods” in the assisted creation too but again – not one singe trade on years of 4 hour S&P 500’s (or 1 hour data). If anyone ever gets it to take a trade please let me know.

    • Nicolas • 04/25/2017 #

      The COG code in the topic you mentioned uses DPO to get the future price in order to simulate the repainting behavior of the Center of Gravity (polynomial regression). That’s the reason why you’ll never get any chance to trigger the order like the way it should by looking at price chart of the past, because the COG wasn’t at the same place in real time.

  3. Bard • 04/25/2017 #

    Cheers @Nicolas, If Belkhayate’s COG Barycentre is repainting in his automated system, how does he get it to line up with his Timing indicator?

    I’m wondering if anyone has his original COG/Barycenter code? I searched for a long time and found these two Metatrader Timing codes (EA and Indicator code), but am unable to open them. I’m hoping at least one of them has the original Timing code because his Timing Indicator uses a simple colour coded green and red line with yellow being the trigger: https://www.dropbox.com/s/zicf73tybcn46oj/mbfx.png?dl=0

    MT4:
    https://www.dropbox.com/s/1e67aphhup88va5/MBFXTiming.ex4?dl=0
    https://www.dropbox.com/s/jybngiclxcs692n/MBFXTiming.mq4?dl=0

    Also is there anyway to get the Ehler’s Centre of Gravity indicator (with added std dev lines) onto a Price chart?

    Thanks again,

    Ps/ Here’s a good explanation of COG / Linear Regression repainting for anyone who prefers a visual chart example: https://forums.babypips.com/t/linear-regression-channel/67772/6

    • Nicolas • 04/25/2017 #

      The concept is simple. It’s the almost simple strategy based on mean reversing you can find. Wait for the price to exceed a very large standard deviation and bet on its return to its mean and with a confirmation with that so called timing indicator which is nothing more than a renamed stochastic oscillator. This strategy has gained success in the late 2000 because of the repainting issue that showed great signals on the past data.
      Anyway, there’s nothing more here than in any other mean reversion strategy, the fact is that it depends on how you represent the price deviation and its reversion. It’s pretty similar to your beloved Kase Dev Stop;)

  4. Bard • 04/25/2017 #

    Cheers Nicolas and sorry, I had no notification you’d replied here?

    there’s nothing more here than in any other mean reversion strategy,

    …Except now I get to play with linear regression and STE bands! Lol.

  5. majid52026 • 04/25/2017 #

    Hi
    I want MBXF Timing for mq5
    Does anyone have this indicator???

  6. dertopen • 04/25/2017 #

    Hi Nicolas
    good work for the code translation
    when i chek the mbfx system site i see in the indicator picture that the line is coloured in red, yellow and green
    it is possible to have the same colors in your prt code?
    thanks

    • Nicolas • 04/25/2017 #

      Yes, just change the color by yourself in the indicator settings window.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
larmhen
7 years ago
HerveS_67 Bonjour, A quoi correspondent les données S, M, L ? Hello, What do the data S, M, L?
Vinks_o_7 aux paramètres à rentrer : 5 20 et 200...
Maxime Baudin Nice, thanks!
rowestock Hi Nicolas, I am revisiting this indicator and wanted to ask, is it possible to replace sty...
Nicolas Why not, please add a new request in our probuilder forums.
JanWd Thank you for the coding, it seems promising. FTSE gives for the short term (5 min) promis...
Jan Wind 21.04.2019: I retested the strategy for the DAX 5 minutes , it works fine for 10.000 bars, b...
bertrandpinoy hello Francesco, are you still working on this strategy?
Nicolas All conditions under parenthesis for the c1 to c4 conditions should be inverted. 
tomus Can you give an example of the overbought codes please? Thanks.
ams123 Frank Merci Nicholas -:)
wtangsiri Bonjour J'ai importé le fichier ITF en question, mais cela me donne, en bas de l'écran, un...
Nicolas Il faut ajouter l'indicateur sur le graphique du prix.
skuggan89 This is a great indicator, works very well!! Is there any algo based on this indicator that ...
wtangsiri Bonsoir Qu'appelez vous l'axe vertical et comment le définir ? Merci pour votre aide.
rafadonl2 Pardonnez-moi mais je ne sais pas ce que vous entendez par "axe vertical". Serait-ce la lig...
rafadonl2 Je viens de voir ce que vous voulez dire. Comme pour tout autre indicateur, vous devez défin...
gregus bonjour a tous quelqu un pourait il recodé en prt il sagit  du dynamique zone ma, je n arri...
Nicolas Merci de faire une requête spécifique sur le forum. 
Nicolas You'll need to preload bars to get the good calculations of you indicators. I did not test i...
David Nicolas I tried DEFPARAM Preloadbars = 5000 And still the same drawn output of entries/exit...
marcara Hi, Thank you very much for the Moving Average Daily indicator, I am using it as indicator i...
Nicolas
7 years ago
GraHal Forked code I mention above is here ... GraHal wrote: So below is the PRC Stochastic RSI v...
GraHal Try again (quite limited what you can do as Comments in the Library) https://www.prorealco...
AutoFlanders Thanks GraHal, that's what i was looking for
Etienne Hi, I'm quite late in this thread. I'd just like to propose an enhancement because this in...
Nicolas Thanks Etienne.
Bard Hi Nicolas, I wanted to make this scaled indicator above between -1 and +1 instead of 0 to +...
Madrosat Bonjour Nicolas Je souhaiterais faire colorier le fond du graphique supérieur en vert lorsq...
Nicolas Merci d'ouvrir un sujet dans le forum approprié.
Nwab Hello Mr Nicolas.. Please how can I set this up as an indicator to work on mt5. Your guidan...
rpreviteri Hi Nicolas, thanks a  loto for sharing your knowliedge, Wasn't the original momentum pinball...
air Thank you!  
elanoa Buonasera sig. Nicolas......sarebbe possibile far in modo che quando l'indicatore raggiunga ...
MikeGC I don't know if you have used the variables a and b to optimise the parameters for the Super...
gianpiero75 I have not optimized, I multiplied the parameters for 6 (5,8), to use them on the 4  hoursTF...
bertrandpinoy bonjour Mike j utilise TrendChaser V2.0 et quand il prend position cela ne programme pas le ...
Dimi.A Perfect for counter-trend scalping. I like this!
viktorthuns Hi Nicolas! Great work you've done with all your indicators. Just wondering about the code a...
Nicolas the value is not a boolean but an average of an addition of booleans. As stated in the descr...
s00071609 Hi, could you please suggest, what this codes gives, lowest[b](rsi[a]) -- just trying to us...
Nicolas lowest[b](rsi[a]) returns the lowest values of the RSI of "a" periods, over the last "b" per...
s00071609 Hi, what would be the code to get the price for last bullish DTOSC cross over. I am looking ...
Doctrading I forgot to write at the beginning :  a = 50 b = 50 These are intermediate levels Sorry
DerPat Thank you. This one could be an aid in my current research on stochastics.
Pelayo it is possible that in line 12 we should put seuilinf=-b, thaks for all
Doctrading It works on ProRealTime CFD, but backtest begins since May 2014
alex224 Hola Andres, buen trabajo. Algun problema por usar la estrategia con acciones en time frame ...
Andres Hola Alex, no lo he probado en otros timeframes, pero con esta configuración específica no c...
cassio amigo você tem esse indicador para mt4 ou mt5.. ?
manchokcity WE NEED THIS IN MQL4 OR EX4
Nicolas We do not provide MT4 indicator in our website, all the codes around are made for Prorealti...
Nicolas
8 years ago
lokbuscas Or in weekly??
Nicolas I don't know, you should make your own studies.
lokbuscas Ok thanks Nico

Top