|
Post by wealthwise on Apr 28, 2016 8:55:53 GMT
Please look at the screenshot. d.stockcharts.com/school/data/media/chart_school/technical_indicators_and_overlays/volume_by_price/vbyp-10-sndksupp1.pngIt's a Volume at Price Price Horizontal Lines. Amibroker already has VAP but it does show the breakup of buy volume (Sum of Volume with close at upper half) and sell volume (Sum of Volume with close at lower half ). Benefits:
1) A higher proportion of Green against Red, in a rising prices means it's retail accumulating. While during downturn its other way round. 2) If you see the same VAP for consolidation period , the it will be close to 50%-50%. That means smart money is accumulating from Retail or distributing. 3) Also it shows validation or anomaly of price with respect to Volumes. Anyone already has this or can Code this please??? FXsharat Any help there brother?
|
|
fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Apr 28, 2016 11:23:27 GMT
Create two matrices instead of one (as seen in Readme of Ab 6.13 beta).
bullbar = C > O; bearbar = C < O;
mx1 = PriceVolDistribution( H, L, IIf( bullbar, V, 0), 100, True, fvb, lvb ); mx2 = PriceVolDistribution( H, L, IIf( bearbar, V, 0), 100, True, fvb, lvb );
bins1 = MxGetSize( mx1, 0 ); bins2 = MxGetSize( mx2, 0 );
Then create two plots
|
|
andwilson
Private Group
Posts: 43
Received Likes: 13
|
Post by andwilson on Apr 28, 2016 17:06:24 GMT
|
|
pan
Rookie
Posts: 27
Received Likes: 2
|
Post by pan on Apr 28, 2016 17:57:38 GMT
hello i just try to access Code is here .......post/604 and i have this messasge, what i am missing of?
"You do not have permission to access this post."
|
|
andwilson
Private Group
Posts: 43
Received Likes: 13
|
Post by andwilson on Apr 28, 2016 18:28:16 GMT
|
|
fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Apr 28, 2016 18:51:09 GMT
Instead of creating histogram for overall price history it is of course also possible to create histograms for intraday
|
|
|
Post by wealthwise on Apr 29, 2016 9:36:48 GMT
Thank you Brother Fxsharat and Anderson Wilson. Indeed Generous of you Gentleman to help. I am not able to test it yet, I have issue upgrading to 6.13. I have raised issue to Tomasz. @fxsharat1) As per implementation on intraday time frame (as in pic) i.imgur.com/8BCQ7qb.pngI assume you have set a fixed time interval for the histograme to show up. But is there no way or implementation that the horizontal histograme shows up for the time frame that user selects on chart? So, its like not a fixed time range, its rather selected by used on chart. Any Possiblity? 2) In this version: amibrokerforum.proboards.com/thread/162/multi-color-volume-price?page=1&scrollTo=610I think Green is the upbar Volume. bright Red is down bar Volume. What is Maroon (Dark Red) bar means there?
|
|
fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Apr 29, 2016 12:38:29 GMT
@fxsharat1) As per implementation on intraday time frame (as in pic) I assume you have set a fixed time interval for the histograme to show up. But is there no way or implementation that the horizontal histograme shows up for the time frame that user selects on chart? So, its like not a fixed time range, its rather selected by used on chart. Any Possiblity? 2) In this version: amibrokerforum.proboards.com/thread/162/multi-color-volume-price?page=1&scrollTo=610I think Green is the upbar Volume. bright Red is down bar Volume. What is Maroon (Dark Red) bar means there? First of all it is fxshrat with just one letter "a". Secondly such intraday histograms are independent from set time frame. They are not fixed. What makes you think they are? The only difference to the versions from code section is that the number of bars is restricted to the ones per each new day or a set custom intra-day period (i.e. 08:00 to 18:00 etc) instead of the whole visible chart range (or entire data history) like in the sample codes. As for the meaning of brown histogram.. it plots the unfiltered data while the other two ones are filtered by some custom condition. The brown one plots the data of this matrix mx = PriceVolDistribution( H, L, V, bins, absolute, fvb, lvb );
|
|
fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Apr 29, 2016 12:42:06 GMT
BTW, please drop a thanks to AndWilson in the code section since he was the first one who took the time for you presenting a code example.
|
|
|
Post by wealthwise on Apr 29, 2016 13:17:11 GMT
is that the number of bars is restricted to the ones per each new day or a set custom intra-day period (i.e. 08:00 to 18:00 etc) instead of the whole visible chart range (or entire data history) like in the sample codes. So the histogram shows up in the interval of each day. Does that not make it fixed interval? What I rather asked is, if there any way to dynamically select a region or range on chart and have the Histogram ploted. So,it can be any range , may be by selecting those vertical separator lines.
|
|