Here is the value chart indicator coded for the new ProRealTime v10.3 with custom candles made with DRAWCANDLE and alerts BUY/SELL arrows.
This indicator draw candlesticks over a normalized scale created dynamically from the last highest/lowest values over n period. It attempts to spot market oversold and overbought area on a short time scale, when price would revert to its mean value.
This kind of indicator is well used in binary options trading, in many different strategies.
When price make rebound over the oversold/overbought levels (candle spike rejection), arrows are drawn to specify trades entries.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
//parameters : //ExtDepth = 5 //Overbought = 8 //SlightlyOverbought = 6 //Oversold = -8 //SlightlyOversold = -6 if barindex>ExtDepth then sumHigh = summation[ExtDepth](high) sumLow = summation[ExtDepth](low) floatingaxis = 0.1 * (sumHigh+sumLow) volatilityunit = 0.04 * (sumHigh-sumLow) vcOpen = ((open-floatingaxis) / volatilityunit) vcClose =((close-floatingaxis) / volatilityunit) vcHigh = ((high-floatingaxis) / volatilityunit) vcLow = ((low-floatingaxis) / volatilityunit) if vcClose>vcOpen then DRAWCANDLE(vcOpen,vcHigh,vcLow,vcClose)coloured(10,240,10) bordercolor(0,200,0) else DRAWCANDLE(vcOpen,vcHigh,vcLow,vcClose)coloured(240,10,10) bordercolor(200,0,0) endif if vcLow<Oversold and vcClose>SlightlyOversold then DRAWARROWUP(barindex,vcLow-0.5)coloured(10,255,10) endif if vcHigh>Overbought and vcClose<SlightlyOverbought then DRAWARROWDOWN(barindex,vcHigh+0.5)coloured(255,10,10) endif endif RETURN Overbought COLOURED(250,250,250) STYLE(DOTTEDLINE,1) as "overbought area", SlightlyOverbought COLOURED(250,250,250) STYLE(DOTTEDLINE,1) as "slightly overbought area", Oversold COLOURED(250,250,250) STYLE(DOTTEDLINE,1) as "oversold area", SlightlyOversold COLOURED(250,250,250) STYLE(DOTTEDLINE,1) as "slightly oversold area" |
Share this
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 :PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
dear Nicolas,
I can’t copy indicator , could you help me?
Why not? You can also download the itf file and import it directly into the platform.
Does it work only with 10.3, I got errors with ig ?
Yes this one is only intended to work with the new 10.3 version and graphical possibilities of the platform. You can also use this version (v10.2 compatible) : http://www.prorealcode.com/prorealtime-indicators/value-chart-highlow/
Dear Nicolas,
I tried the indicator, but it doesn’t work. I don’t get an errror, I get a new empty window without the overbought line and so on. And at the scale on the right site there are not the parameters of the indicator (6, 8, ….), there are the points of the index. I tried it with the beta 10.3. Could you or anybody help me? Or is it because of the beta, that not everything is working correctly?Many thanks in advance
Yes I got this problem too. You have to scale yourself with your mouse the ’empty window’ which is not so empty, you’ll find it by yourself 🙂 Hope it helps.
Ups…you are right! My fault. Now I try to scale it ;)Thanks for your quick answer.
Dear Nicolas,
Why I’m not able to draw the arrows in the indicators?
Cristiano
Hi Cristiano, this indicator is intended to work only from the new version 10.3 of ProRealTime. There is another version of this one for version 10.2 here: http://www.prorealcode.com/prorealtime-indicators/value-chart-highlow/
But it doesn’t have arrows signals which are the newest graphical capabilities of the new version.
Hello Nicolas,
it`s me again. Maybe you know the answer. Is it possible to make a alarm for the down arrow and up arrow. I don’t find a possibility in version 10.3, because there is no option for the arrows. Or I change it and say for example: add 100 for the uparrow and make a alarm >100. but this would be a temporary solution ;)best wishes
No sorry, it’s not possible to launch sounds alerts by code.
Hi Nicolas, thank you for your answer . I’m using the 10.3 beta version (end of day data), and I really can’t draw anything (segment, line, arrow ….)
I’m a quite skill with the code, but in this area, very interesting for me (I’m now using for forex trade, metatrader), I’m not able to visualize graphical object.
Cristiano
i have the v10.2 version of this. I’ve been working on a automated strategy containing this indicator. Anyone more that had those thoughts?
Hi Nicolas, thank you for your answer . I’m using the 10.3 beta version (end of day data), and I really can’t draw anything (segment, line, arrow ….).I’m a quite skill with the code, but in this area, very interesting for me (I’m now using for forex trade, metatrader), I’m not able to visualize graphical object.
Cristiano
I made a lot of graphical example in this forum topic: http://www.prorealcode.com/topic/the-next-prorealtime-version-10-3-and-new-graphical-functionnalities/
Maybe you could test other drawing features to see if everything’s ok?
Dear Nicolas, I tried all the graphical example, with cut & paste your code. The only one that it works in the change backround colors, not all the others. Maybe is my Imac, or some settings?
Cristiano
Very strange.. Are there any error messages in the platform?
No Nicolas, any kind of errors …. If you want I can send you some snapshot..
Please use the forum for that, it could of interest for any other person in the same case. Thanks a lot.
Dear Nicolas,
Problem is solved . Not all the graphics feature can be calculate with EOD data. With realtime, everythings works well.
Cristiano
Thanks for feedback about this trouble. Didn’t knew that!
Hi dear nicolas,
Your work is awesome !
I’m interessed by the mathematical formula of the value chart, if it’s possible and if isn’t a problem for you, Could i take contact with you ?
I want to know how this indicator work to programme an other indicator.
Yours Sincerely
Vincent Regnault
Hi Vincent, you can use the forum for any question regarding trading or programming. Regards.
My question was about how work the value chart, because thank’s to my research i think that the MBFX timing is a king of value chart but apply to the Gravity Center.
Knowing how work this indicator could help me !
I have took contact with doc trading and he is agreed to programme this indicator if i find the formula !
Thank’s for your answer !
(Sorry for my english , i’m not already fluent in english but i try to improve it )
Don’t waste your time, the MBFX timing is nothing else than a stochastic oscillator. This indicator is a pure commercial repackage of an already best-known indicator, a so-called “scam”. In fact, the MBFX came after the gravity center to find better entry points to the mean-revert function of the GC. Stochastic like RSI or any other bounded indicator try to identify the center point of price and so draw its deviations. You should investigate on how indicators work and why and for what they were made instead of follow them blindfolded, believe me you will learn a lot! 🙂
Ok, if you tell it, I believe you ! Your work is great you have a real experience in trading so i listen to you ! Thank you ! have a nice day !
On peut avoir la version 10.3 par défaut en utilisant l’offre Prorealtime CFD ou il faut le demander spécifiquement ??
Bonjour, je viens de l’installer sur 10.3 … comment faire apparaitre les flèches sur l’indicateur ?
Merci 🙂
Les flèches apparaissent d’elles-mêmes selon les signaux de l’indicateur.
Elles viennent d’apparaitre après redémarrage. Merci Nicolas. Du coup, les signaux sont à prendre que lorsqu’il y a les flèches ou aussi dans zones en pointillées ?
Merci Nicolas pour cet indicateur, il me tarde de faire les tests
do u have same indicator for mt4 ? as mq4 ?
amigo você tem esse indicador para mt4 ou mt5.. ?
WE NEED THIS IN MQL4 OR EX4
We do not provide MT4 indicator in our website, all the codes around are made for Prorealtime trading software.