This is a request for the availability of Point & Figure Charts on Amibroker natively like we have other forms. I know there exist pieces of code on construction of Point & Figure Charts in the library, but would be great to have this feature built in with various other parameters related to it.
Any comment or suggestion is welcome.
You would need GfxSetOverlayMode( 2 ) since there is no time axis and then follow the example given in GfxDrawText() to draw Xs and Os by programmatically scaling the Y-axis into custom boxes out of the Highest High and Lowest Low of the available data sample.
I've been using the P&F code posted in the AFL Library by Mandeep Singh on 5 Jan 2009 for many years. It works as I expect a P&F chart to be and look. I changed a few of the cosmetic values, but apart from that it's good to go. I use P&F to visually highlight areas of support and resistance and for a number of the patterns detailed in Jeremy du Plessis's book.
@Chris25 - I’ve also been using that with a certain additions and modifications.
But as detailed in Jeremy Du Plessis’s book were you able to replicate the 1 box reversal chart?
In 1 box reversal, X & O can both be in the same column if there is blank space. I was wondering how can that be coded.
My intention here is to have a method to add various parameters such as horizontal, vertical counts as in the book.
Hope this clarifies the need. Do you have some solution for it?
Indeed it would be an interesting exercise for someone who can. I’ve tried a lot and almost given up now.
And 1 box reversal in the same column is the right way of doing it.
Further parameters development on the subject is what I was looking for but ran into this obstacle.
I do not think it is doable with stylePointAndFigure ( "X" and "O" in same column as in second picture below).
One-Step-Back of 1-box reversal
Few years ago I once made P&F AFL program fully via GFX for a friend (who is P&F evangelist and who looked for similar P&F view as in Bulls Eye Broker). So serving as encouragement... yes, it is definitely possible to do such 1-Box One-Step-Back via AmiBroker AFL (as we all know "everything" is possible where there is a will).
The solution looks amazing and serves the purpose needed.
Very rightly said. It is possible where there is a will.
Although I would sound not so right or even like someone who’s given up, appreciate if you could share the AFL so it would be an amazing learning to look at the code and also try using it for some analysis.
It’d be perfectly alright if you wouldn’t want to share it. I Just admire the way the chart looks and would function. Appreciate you for replying.
I was also looking for the same, can you please share your afl code for the above. Looking forward for your reply. It would help to learn better from your p&f code. Thanks for your effort and time.