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
Gianluca Hello Nicolas, my prt become stuck when i load the indicator, is there any problem with it?
m-zeter Has anyone found a solution for Sofitech? Would it be possible to draw two lines? An upper l...
m-zeter Hm, i dont know exactly why, but I think, that the indicator needs lots of power. I need als...
Nicolas Add it on price using the wrench on the left upper side of the price chart.
Stenozar thanks Nicolas, I' ll try again!
Radetzky Buongiono e grazie : l'immagine sopra ritrae l'indicatore sul TF 15 min ma a me funzio...
anametsinwha Is it possible to change it to highs and lows rather than open and close?
apachx Hi. Please, describe the algorithm in words. I want to understand how it works, but for now...
Matriciel
6 years ago
Alai-n Thanks...
GraHal Is this the Discussion Topic you need @Gregg https://www.prorealcode.com/topic/scalping-i...
bertrandpinoy bonjour Nicolas y a t il une possibilité de signal sonore dès qu une vente ou un achat serai...
Nicolas Oui cela nécessitera une adaptation du code cependant, merci de formuler une demande sur le ...
Madrosat Bonjour Nicolas la formule du stop loss est elle vraiment valable ?? il n'y a pas au depart ...
Nicolas Il y a peut-être un erreur en effet, essayer avec: set stop ploss (averagetruerange[14] * ...
Madrosat ok merci Nicolas c'est avec /pipsize que ça fonctionne
TAC Bolsa This indicator give trading signals depending of the crosses of overbought and oversold area...
Juanjo Hola. El indicador es válido para acciones en periodo diario? Gracias
TAC Bolsa Hola Juanjo la información del indicador y otros la puede encontrar en el BLog. https://w...
Francesco78 @snucke the results are not the same because the pictures refers to a few years ago. I am no...
snucke @Francesco78 i mean the results differ when i test on my own. so im curious of what the p...
sfl still working, using with filters like : trendFilterUp=close>average[190](close) tren...
alex Im looking for a entry when EpicMA crosses over/under trigger. Then look for exits when Epic...
haseluis Hello, who can help me why the screener does not work // Der folgende Code bezieht sich auf...
Nicolas Hello, please ask your question with a new forum topic, this is not the place to ask for sup...
Nicolas No sorry, please use this file instead into a prorealtime trading platform.
rdabbs I just installed this indicator. It opens in its own pane rather than overlaid on the chart ...
Nicolas Just apply it on your price chart instead and you're ok.
Wilko I am not familiar with the screener function, but I am quite certain it should be quite simp...
Gubben @Wilko have you had a look at this again since MTF support? Heard you talk on Börssnack btw..
Wilko @Gubben not really. It was something I posted to show that simpler is usually better. Hope y...
Pier
7 years ago
Cris48  Nice Pier, I put inside also the adx .... //settings//b=20 if low < low[1] thenllv = (...
parthdesai11 Indicator not working in Beta Version 11.1 , Any idea ??
Nicolas What is the issue with version 11 and this indicator please?
DANY overfit
fatlung Excuse me. I would like to the time zone applied to this strategy.
UkCoopDownUnder Hi, ProOrder does not recognise, "avfullnessthreshold" any ideas, thanks
Wing There's a few threads on the forum about backtest and live trades being different at times. ...
ET I agree with verdi55. As it is now, the code will only test for a breakout on the upside (li...
Philipjonasson are u still active Wing?
diegofe_2000 cordial saludo NICOLAS , gracias por excelente indicador. ¿ es posible obtenerlo en MT4 ? ...
Nicolas Lo siento, pero no estoy trabajando para ayudar a la gente aquí de forma gratuita para promo...
diegofe_2000 Nicolas , gracias por tu atención. La pregunta era por curiosidad (yo no trabajo ni manejo ...

Top