Ok for skewness Jperl suggested to use Karl Pearson's simpler calculations
which you can check from this Wikipedia page.
Copy-pasting from wikipedia:
So our skew indicator will be simply
It is that simple.
I couldnt finish the threads yet(still reading and working and writing indicators at the same time) so I am not exactly sure about how should we read about the real values that we will get from these calculations.
I remember Jperl was saying stay away from trading if PVP is too close to VWAP. Maybe we can find a number on this skewness indicator saying below that value do not enter a trade.
As I said earlier...Dont know yet..Still reading and learning..
Thanks for trying... I will post skewness indicator this evening also.
I have attached a document for you to see the very similar concepts and although market profile was devised for stocks and commodities like market statistics was, market profile has and is used by a vast number of traders who have crossed over to forex.
Thank you Limstylz,
I know this article and read it already. I know the indicator also. I looked at its code before programming Market Statistics indicator but DrShumiloff's VolumesHist2.3 indicator made a better effect on me.
Again thanks for reminding. For differences as you already know this is just volume weighted. So is it reasonable to volume weight in forex? We will see...
I have just found Mladen's deviation indicator.It has the kurtosis, skewness and the other statistical calculations in it: https://www.mql5.com/en/forum/175608
No problem, I thought you may already know the work, I posted the doc mainly for others.
The issue with weighting in forex is this... unlike stocks and commodities, the volume traded daily in any particular direction can have immediate effects in a particular direction if a market participant is simply stop hunting (happens generally around news times or significant price levels). It is safer to rely on pure PA at the POC in market profile or PVP in market statistics and only trade on what the market is ACTUALLY showing, rather than what a calculation based on the last few closes shows.
However, if there are enough people using weighted calculations, it does become a self fulfilling prophesy (like fibs and pivots and to some extent S&R).
I think I will have more concrete answers when I finish reading those threads, because for example there is a separate thread there what to do when price get close to the PVP. And I havent read it YET I think I should take some time and finish those readings.
For anyone interested in MIDAS thread I created a lightweight pure VWAP with SD bands only . Here is the link.
I gotto leave quick. I will comment on later.
Ok here is the skewness indicator. But dont forget that skew is computed beginning from StartDate.
And about skew I am copy-pasting what Jperl has said in his thread. So this answers my question actually. The real value is not that important. We just need to know if there is a skew or not and to which direction.
The answer is: I was concerned about this for a long time. It turns out, that there is no correlation between the size of the skew (as measured by the Karl Pearson definition of skew which is (VWAP-PVP)/SD ) and the momentum of the trade in the skew direction. What only seems relevant is that a skew exist. Other HUPs will come into play between the entry point and the profit target which will play an important role in the momentum of the trade.
HUP means Hold Up Price. Dont ask it yet. We will come into that also and I believe it will be interesting.
I m preparing a word document summarizing Jperl's thread while I am reading it, I will post it when I finish.
Have a nice one.
You are %100 right here. At PVP market is at decision. Two things can happen market may be want to high volume area(VWAP) or it can throw himself to the darkness of low volume area. So PVP is a very dangerous place to trade. But does it mean it is not tradeable? Definitely not. I will comment on this later. (I m just learning that subject:))
I hope what we are doing is not self fulfilling prophecy. I really do hope so...:)
thank you very much for your work, akift! i have been looking for such an indicator for quite some time.
i was also wondering if you could change your market_statistics indicator: instead setting a start date, wouldn't it be better to set it to automatically look back "n" days from current day? i asked about this as i'm currently using a version of market_profile indicator which works this way... (there is quite an active thread @ FF about trading using VSA, and these things are coming together very nice ).
p.s. here is the other indicator, i thought it might be useful to post it here.
I m happy you like it. Before I write this indicator I check all those available mp indicators. And last n (sliding window style) is easier to implement. But I believe we shouldnt do so. I will give word to Jperl again. Jperl I hope you dont mind
Hope this explains. I know forex is different. But we will find out away...Hopefully..