Bill Williams Profitunity

v10.3
Bill Williams Profitunity

Another method of studying Price and Volume by Bill Williams Profitunity

The Bill Williams Profitunity provides a unique way of quantifying price movement relative to volume. At the heart of it is the Market Facilatation Index (MFI). The MFI is the bar’s range (high – low) divided by the volume. Using the MFI, each bar has a mathematical relationship of the price activity versus the volume. In essence, the MFI is a measurement of market efficiency, tracking how much movement has occurred in price relative to volume. By comparing the MFI for the current bar to the previous bar’s, you can gauge the current bar’s ability to facilitate price to the previous bar’s ability. The Bill Williams Profitunity can be used on any period from daily bars to monthly bars.

The MFI as a stand-alone indicator has little value. However, by comparing the current bar’s MFI and volume with the previous bar’s MFI and volume, a very tradable system emerges.

Williams defines the four possible combinations of MFI and volume as follows. A plus sign means the current bar’s value is greater than the previous bar’s value. A minus sign means the current bar’s value is less than the previous bar’s value.

Volume MFI Label:

  • Green //Green
  • Fade //Blue
  • Fake //Red
  • Squat //Violet

Green. This bar shows an increase in volume and the MFI relative to the previous bar. Hence, there is price movement, and the MFI is larger for this bar than that for the previous bar. Further, more players are entering the market as signaled by the increase in volume. This activity in the futures market means that off-floor traders are very active. In addition, the price action is directional–that is, the market is moving in one direction due to the involvement of new traders putting on new positions. This is the kind of day that you would already want to have a trade on in the same direction.

Fade. This bar shows a decrease in volume and the MFI relative to the previous bar. The market has slowed and there is a minor amount of activity as indicated by the low volume. This type of day is called a fade, as the traders’ interest in the market by this point is fading. Often, this sort of day happens at the end of a trend. The market has simply reached a point where nobody is willing to establish any new positions. At this point the market appears to be suffering from a certain amount of boredom. Keep in mind, however, that out of this market condition, a new trend could emerge.

Fake. This bar shows a decrease in volume but an increase in the MFI. This condition means that the market is moving more relative to the previous bar (the greater MFI), but the lack of volume is evidence that there is no new participation. The price action may be driven by just the traders in the pit and is not attracting new players from the outside. Williams has an hypothesis, that the traders in the pit may be just strong enough to push the market to price levels where there are many stop orders resting in the hands of the brokers, hence faking out the off-floor traders.

Squat. This bar shows an increase in volume relative to the previous bar, but the MFI is lower. The increase in volume indicates heavy activity, but the decrease in the MFI indicates that the market is unable to make any real headway. Volume increased, the trend has stalled and the price movement has stopped. This price action usually, but not always occurs prior to an important move in the opposite direction. This type of bar is called a squat bar because the market appears to be squatting prior to a breakout. Often, the breakout of such a bar will indicate whether this squat is a trend reversal squat or a trend continuation squat.

 

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. TAC Bolsa • 07/05/2018 #

    Improved version in the Blog
    https://www.tiburonesdealetacorta.com/2018/07/indicador-bill-williams-profitunity.html

  2. Real Pro • 07/05/2018 #

    Thanks for sharing this. I understand the 4 conditions, but can you explain the following please?

    – how is labelling above the bar different from below the bar?
    – what does a large arrow with no other labelling mean?

    Regards.

  3. Real Pro • 07/05/2018 #

    From the updated version, here is a screenshot. The first bar has “Green” text with a large purple up arrow. The second bar has “Green” text with a small green up arrow.

    • TAC Bolsa • 07/05/2018 #

      Sorry, it’s a file error.

      I have already uploaded a new File.

      https://www.tiburonesdealetacorta.com/2018/07/indicador-bill-williams-profitunity.html

  4. Real Pro • 07/05/2018 #

    Thank you; the new version looks better. I wonder if you’d mind explaining what it means when the arrow is above or below the candle?

    • TAC Bolsa • 07/05/2018 #

      Here you have the documentation of the indicator

      https://en.wikipedia.org/wiki/Market_facilitation_index

      https://www.tiburonesdealetacorta.com/search/label/Indicador%20Bill%20Williams%20Profitunity

  5. Bard • 07/05/2018 #

    Hi TAC Bolsa, thanks for providing this interesting indicator. I’m wondering how would you adjust the code so that it draws a histogram along the horizontal axis instead of candles? Cheers.

    • TAC Bolsa • 07/05/2018 #

      remove the ATR, and drawcandle (open, high, low, close)

      substitute everything
      DrawText (“▾”, barindex, high, SansSerif, Standard, 20) colored (200,0,0)
      DrawText (“”, barindex, high + atr / 2, SansSerif, Standard, 10) colored (200,0,0)

      signal = -1

      substitute everything
      DrawText (“▴”, barindex, low, SansSerif, Standard, 20) colored (153,0,153)
      DrawText (“”, barindex, low-atr / 2, SansSerif, Standard, 10) colored (153,0,153)

      signal = 1

      return signal

  6. Bard • 07/05/2018 #

    Thanks, I have tried altering and adding my amended code many times but without getting the indicator to work.. I’m not sure I understand what you meant by, “substitute everything”?

    I’ve removed:
    atr = averagetruerange[10](close)*0.5 and
    drawcandle(open,high,low,close) and replaced with “return signal”

    I’ve removed all reference to atr within the code so a line of code now reads

    e.g:

    “Fake”,barindex,high…, (instead of the original “Fake”,barindex,high+atr/2… ).

    I have done that for all atr’s so they all now read as either “low,” (instead or “low+atr/2”), or “high,” (instead of “high+atr/2″). (I appreciate that the apostrophes ” ” only surround the words like Fake etc)

    I have placed “signal = 1” or “signal = -1” for every condition from (a) to (ee).

    E.g:

    ee = meanminus and b31 and volplus and MFIminus
    if ee then
    DrawText(“▾”,barindex,high,SansSerif,Standard,20)coloured(153,0,153)
    DrawText(“Squat”,barindex,high,SansSerif,Standard,10)coloured(153,0,153)
    signal = -1
    endif

    Any ideas what I am doing wrong?

    Thanks again,

    • TAC Bolsa • 07/05/2018 #

      substitute / removed everything

      DrawText

  7. Bard • 07/05/2018 #

    I’m sorry I don’t understand. Perhaps you could explain in your language and I can try Google translate?
    Or perhaps write two lines of this code as they are meant to be for the indicator to function as it was originally designed along the x-axis? Thanks again!

    • TAC Bolsa • 07/05/2018 #

      Este es el código original..

      Nada que ver con la versión 1,1 del blog donde se mejora con el cumulative Delta en el Volumen.

  8. TAC Bolsa • 07/05/2018 #

    //Bill Williams Profitunity

    MFI0 = RANGE*(high – low) / volume
    MFI1 = RANGE*(high[1] – low[1]) / volume[1]

    MFIplus = MFI0 > MFI1
    MFIminus = MFI0 high[1]
    meanminus = (high + low) /2 volume[1]
    volminus = volume < volume[1]

    b13 = open (high + low) /2 and close > open[1]
    b31 = open > (high + low) /2 and close < (high + low) /2 and close < open[1]

    //////////////////////////////////////////////////////////////////////////////////////////////////////////////

    a= meanplus and b13 and volplus and MFIplus
    if a then
    signal =1
    endif

    b = meanplus and b13 and volminus and MFIminus
    if b then
    signal =1
    endif

    c = meanplus and b13 and volminus and MFIplus
    if c then
    signal =1
    endif

    d = meanplus and b13 and volplus and MFIminus
    if d then
    signal =1
    endif

    e = meanminus and b13 and volplus and MFIplus
    if e then
    signal =1
    endif

    f = meanminus and b13 and volminus and MFIminus
    if f then
    signal =1
    endif

    g = meanminus and b13 and volminus and MFIplus
    if g then
    signal =1
    endif

    j = meanminus and b13 and volplus and MFIminus
    if j then
    signal =1
    endif

    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
    i = meanplus and b31 and volplus and MFIplus
    if i then
    signal =-1
    endif

    o = meanplus and b31 and volminus and MFIminus
    if o then
    signal =-1
    endif

    t = meanplus and b31 and volminus and MFIplus
    if t then
    signal =-1
    endif

    aa = meanplus and b31 and volplus and MFIminus
    if aa then
    signal =-1
    endif

    bb = meanminus and b31 and volplus and MFIplus
    if bb then
    signal =-1
    endif

    cc = meanminus and b31 and volminus and MFIminus
    if cc then
    signal =-1
    endif

    dd = meanminus and b31 and volminus and MFIplus
    if dd then
    signal =-1
    endif

    ee = meanminus and b31 and volplus and MFIminus
    if ee then
    signal =-1
    endif

    if signal =1 then
    r=0
    g=128
    b=0
    else
    r=128
    g=0
    b=0
    endif

    return signal coloured (r,g,b) style(histogram)

  9. Bard • 07/05/2018 #

    Thanks for providing the code @TAC Bolsa.

    Do you think this code below is doing what Bill Williams intended the price / volume indicator to do?
    (I am not a coder, I put this together from 3 different versions)

  10. Bard • 07/05/2018 #

    The code will not “add” so here it is:

    Bill Williams’ Price/Volume Indicator:

    //Bill Williams’ Price/Volume Indicator

    MFI = RB / V
    RB = Range //high-low in points
    V = Volume

    MFI0 = Range / Volume
    MFI1 = (Range[1]) / Volume[1]

    MFIPlus = MFI0 > MFI1
    MFIMinus = MFI0 Volume[1]
    VolMinus = Volume < Volume[1]

    if MFIPlus and VolPlus then
    MFI1=MFI
    MFI2=0
    MFI3=0
    MFI4=0
    elsif MFIMinus and VolMinus then
    MFI1=0
    MFI2=MFI
    MFI3=0
    MFI4=0
    elsif MFIPlus and VolMinus then
    MFI1=0
    MFI2=0
    MFI3=MFI
    mfi4=0
    elsif MFIMinus and VolPlus then
    MFI1=0
    MFI2=0
    MFI3=0
    MFI4=MFI
    endif

    return MFI1 coloured (0,255,0) as "Follow Trend Green", MFI2 coloured (0,0,255) as "Fade Blue", MFI3 coloured (255,0,0) as "Fake Red", MFI4 coloured (255,0,255) as "Squat Violet"

    • TAC Bolsa • 07/05/2018 #

      // More info:
      // http://analyzerxl.com/webhelp/BulkQuotesXL%20Pro%20Online%20Help/scr/HTMLs/TA_Library/BillWilliamsProfitunity.htm
      // https://en.wikipedia.org/wiki/Market_facilitation_index

  11. Bard • 07/05/2018 #

    Thanks but the links broken and I can’t find it by searching for parts of the URL?

    I am not sure why you posted an image of Williams Price / Volume Indicator and then gave a posted code that is not Williams code? Your code makes it harder to actually read the volume changes because your indicator floats (and references ATR) and is not based on the x-axis.
    Thanks again for your input.

    • TAC Bolsa • 07/05/2018 #

      You confuse the things “Bacon with speed” ..

      The links work perfectly.

      The indicators are reviewed and validated by their authors or active representative.

    • TAC Bolsa • 07/05/2018 #

      What you have is an evolution of an indicator validated by its authors ..

      What Ulted seeks is for payment .. and for them if you want it you can pay it in other platforms …

      You have to know how to differentiate between an evolution of an original indicator.

      Instead of criticizing the work, you should develop it yourself.

    • TAC Bolsa • 07/05/2018 #

      What you are looking for is the Market Facilitation Index (MFI), which has nothing to do with this indicator.

      Now I understand why I wanted to convert it into Histogram …

      First you should be informed of the differences of one or the other indicator to request or make changes … if NO you know the bases of the indicators.

  12. Bard • 07/05/2018 #

    “Bacon with speed” is a new one on me,

    Apologies, the link was not working on my iphone but works okay on my Macbook. Thanks.

    I am not criticising, and there is no need to take any offence, I am simply stating a fact. Where is this image at the top of this page that you posted taken from? Is it Williams original indicator or an evolution by a programmer, because to me, it looked exactly like the Williams Price/Vol indicator that I had seen on the web and which I assumed was the code I was downloading in the in the itf file.

    But as I later realised it was not, as you clearly have explained above and that this code on this page is for an evolution of Williams’ code.
    Hence my request for a histogram fixed to the x-axis like WIlliams’ indicator, so it is very easy to see volume differences — That mismatching of the images was confusing but it’s no big deal, really. If you had posted the floating ATR candlesticks image I wouldn’t have downloaded it and then spent hours trying to configure it to be like WIlliams’ intended it to be! I hope I got it right though but you have not said of the code I posted is good? Anyway, I was simply after the original code.
    Best,
    Bard

    • TAC Bolsa • 07/05/2018 #

      I already published it … in prorealcode …

      Next time … request a change of programming from the indicator to prorealcode ..

    • TAC Bolsa • 07/05/2018 #

      I already published it … in prorealcode …
      https://www.prorealcode.com/prorealtime-indicators/market-facilitation-index-bill-williams/

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
denmar Thank you
Xenotrax A première vue, sa à l'air d'être un indicateur très puissant sur de petites temporalités, j...
merri Bonjour Nicolas, Comment transformer cet indicateur en bot sur PRT ?
Nicolas Cela a déjà été fait, voir ce sujet: https://www.prorealcode.com/topic/strategia-con-lindica...
venugopal Hi Nicolas, Thanks for this code. Is it possible to build a screener using this indicator?. ...
Nicolas It has been done in that topic. Enjoy.
Abouadam2 EFFICACE
woktrade Superbe !
Vonasi An updated version with a bug fix can be found here: https://www.prorealcode.com/topic/dis...
snucke hey Vonasi is it possible you can help me get this indicator to show how much a market mo...
kal Buenos días TACBOLSA. Estoy muy interesado en ver tu blog para ver la explicación con detall...
1Randy I would be interested an invite to your blog. I am still learning about the VSA and it looks...
repropel Buenos días TACBOLSA. Yo también estoy interesado en visitar tu blog. Podrías enviarme una i...
mmoren44 no esta el color azul (Fade //Blue), No aparece en las barras el color azul.
larouedegann changer fade coloured (0,0,255)
Geronima Ortiz okay bien estaré pendiente en esta pagina gracias
Domenec Aqui dejo colgado link del video para ver como funciona el indicador https://www.youtube....
Geronima Ortiz Gracias Domenec
dertopen @gabri hi Gabri i get the same error: define highlow and highhigh whic are the good numbe...
luigiR ciao gabri complimenti per il tuo lavoro, ti chiedo una cortesia cosa devo scrivere nel codi...
Violet Abz, the arrows and circles are only the *first part* of a trade setup. If certain conditio...
gabri Violet, you did an excellent job. I attached here https://www.prorealcode.com/prorealtim...
fab.ub HI GABRI, if the cirled arrow is the intermediate point in which You can define your entry a...
Matt B RolanBay, L'ellipse apparaît-elle à la bougie notifiée et reste ?
gianlucapegaso scusa Gagry ma il programm da copiare è quello con tutte le modifiche di cui ho letto nei va...
Valentinocorse bonjour a tous , superbe travail j'aimerai si possible une indication pour modifier l'indic...
GraHal Please forgive the daft question, but why is 3-bars-trailing-stop-williams-3.itf included a...
Kris75 Hi, Seems great but what would be the code for a stock ? Thanks, Chirs
oakenstream Paul, what is the best way in your opinion to know if I have over optimized?
Al Ok grazie Gabri
Paul thnx for posting. Combine it with Williams’ 3 bar trailing stop to create strategy!
gabri Paul, he uses the best day of the week to trade (he figured out the best day to enter, exit...
Steven Bahia Hi Nicolas - great indicator - is there a way to place a alert when the Oscillator crosses ...
Nicolas Alerts can't be programmed, you have to set them yourself with the Alert tool of the platfor...
Steven Bahia just to add to this would there be a way to establish a entry price from the Oscillator
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.
Nicolas
7 years ago
Haos Visual
Haos Visual
8
Indicators
Lyny @Nicolas, how can i put this code in ProOder when for example i want to buy 1 share with con...
Nicolas Please open a new topic on forums for coding requests, I'll help you there. 
Johan Swarts Lyny / Nicolas Please advise whether you proceded with the code in ProOrder and if so where...
Nicolas The code is correct, don't know if the label and color are the same as other trading softwar...
peppe novellino Hi Nicolas, the settings of the alligators are not editable. How can I change it? Thanks in ...
pabo_swe I got very bad performance with this script, it was slow... it seems like if one breaks out ...

Top