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
michaelben Bonjour Nicolas . Je cherche une strategie pour faire du trading automatisé. J'ai essaye ave...
ggolfet Thanks Nicolas, I imported the itf file and solved the problem.
Hasardeur Hallo Nicolas, i tried to code the multi period heat map in combination with the Ehler’s ...
Nicolas Please open a new topic with the code in forum.
Nicolas En effet merci, erreur corrigée, la variable Risk affecte désormais comme il se doit les cal...
nader003 How can we get this indicator on MT4
Nicolas You can ask for private custom coding to our programming services: https://www.prorealcode.c...
sir_i Bonjour à tous, Je suis nouveau sur le forum et sur la plateforme, pourriez-vous me dire com...
Nicolas Il faut simplement l'appliquer sur le prix.
sir_i Merci pour la réponse, je ne suis pas familier avec l'application de cette procédure simple,...
Vinks_o_7 Great, thanks a lot Nicolas !
Teddy Coronak Top Nicolas ! Merci
Andyswede Thank's! Great indicator:)
cdc.andersson Hello, when trying to include this wonderful Dynamic RSI on my trading system i get the erro...
Rafyone Bonjour Nicolas et bonne année lol J'ai une erreur qui apparait concernant drawbarchart une...
Nicolas Je pense que tu n'utilises pas le bon éditeur de code, cette instruction est compatible uniq...
AntoGH how did you backtest it ?
PastaPesto @AntoGH , I dont know if you are asking me, but my backtest was made in an IS of 4 years bet...
Ridder @PastaPesto Do you still running this and how is the results? Thanks
dau710 Are the Bulls Blue & the Bears Red?
dau710 Many thanks :)
arnaudat Merci nicolas, j'ai déjà pris cette version et en plus je suis sur les futures. Par contre d...
ullle73 hi nicolas, when im making a strategy out of this i get the error "PRC_VWAP z-score" called ...
Nicolas Please open a new topic in the ProOrder forum section and post the code there in order to ch...
Maik2404 es sind leider nur long Positionen und keine Short zu erkennen.
Maik2404 Vytautas: es bleibt aber nur bei long Auslösungen
ullle73 this one is not a winner, have backtested it on almost all pairs, does not have an edge
3agl3 voglio l indicatore
teddy58 Ich habe es mit N= 1,5 und N=2,5 getestet mit 200000 Einheiten. Es funktioniert leider erst ...
Matriciel I use this indicator to help me make a decision when there is a divergence. The divergences ...
Jan Wind Hi, I personnaly am not a big fan of ZIGZAG indicator, as it repaints itself during time. ...
XXXXVII Excellent indicateur ! Déterminer une tendance est devenu un jeu d'enfants ! Félicitation......
gregoire bonjour nicolas j ai cherché partout sur le net et impossible de trouvé ce que je recherch...
Nicolas Merci de poster une demande dans le forum des indicateurs, ainsi on pourra le coder dans ce ...
Doddge Bonjour Nicolas, savez-vous s'il existe un indicateur pour Prorealtime similaire au ST-TL fi...
Nicolas Pour les demandes de conversion de code, et si vous possédez le code source de l'indicateur ...
Doddge Merci beaucoup Nicolas, j'ai utilisé le formulaire avec les informations que j'ai sur cet in...
abd78 @Vonasi I saw that you did some work on seasonality, I wondered if you wanted to go here and...
Vonasi Sorry - my understanding of Italian is zero so if I watch the video I won't understand it I'...
Juan Salas Hi FULVIO09, Nice piece of work. It seems to work very well. Does only work for INDEXES??...
Johann Hi @FULVI09, I understand the instructions however I'm not too sure how to determine the "p...
Player8520 Hello, It doesn't work with me either. However, I changed AA to 180 on line 15, added th...
ALE Hi the color is given by a numerical value derived from the oscillator in use. If you comp...
efahmy Thanks mate
Jo-01-R Hello, it is possible to have this indicator but instead of colors rather have numbers rangi...

Top