TradingView
ankit_raval
Jun 4, 2021 4:10 PM

Point and Figure on Candlestick Chart 

TATA CONSUMER PRODUCT LTDNSE

Description

Live plotting of Point and Figure chart on a candlestick chart. With its own construction engine, it plot "X" and "O" column using a line chart. It plots the "X" column with green color and the "O" column with red color. Color of the line chart change from green to red when the column reversed from "X" to "O". It plot "Double Top Buy" and "Double Bottom Sell" level which help to do candlestick pattern analysis along with Point and Figure chart. Works on all timeframes with given parameters.

Options :

Box Size Assignment Method : Select a method to construct Point and Figure chart. There are two options "Fix" and "Percentage". The default value is "Percentage".

Box Size : The size of box. Minimum price movement to plot a new box. Smaller box size shows greater price movement and Bigger box size shows more filtered price movement compare to smaller box size. The default value is "0.25%"

Reversal Size : Minimum boxes required for column reversal. The default value is "3".

Stoploss Size In Box : To get affordable trade give the number of boxes for stop loss.


Comments
Time_Travelling_Trader
Hey Ankit, just couple of feedback.

1) Would it be possible to introduce a "timeframe" dropdown in the inputs section? This would help to get 1-min frequency data on say, a 5 min or 15 min chart. (and likewise, 1-hour frequence on daily charts...you get the point!)

2) A way to hide previous buy / sell calls (or show only last 10 buy / sell.) Would clean up the charts nicely.

I tried messing with the code (I have very little coding knowledge) via the resolution or security function but to no avail. Thanks for the good work!
ankit_raval
@Time_Travelling_Trader, yes both of your point is valid and surely I will consider if I will start work on improvements
ankurss
I have tried this indicator, but seems it’s using ATR and not percentage for block size. Anyway to fix this ?
Smart-Moneydottrade
Hi Anikit, not sure if i am doing it wrong, but i notice the line that is getting plotted for column does not change when i change the box value but instead it changes based on the box value change of point and figure indicator by tradingview. So basically it connects high and low of column that are plotted by tradingview point and figure engine regardless of value we provide in your indicator. Is this expected behaviour?
Smart-Moneydottrade
Hi Ankit, would it be possible to another option in place of line chart and plot x and o for colums similar to point and figure?
ankit_raval
@Smart-Moneydottrade, yes its possible but I need to spend more time on it. I will release once its ready. I will not commit any date
Smart-Moneydottrade
@ankit_raval, will be very thankful if you can release that. I am not pro with pine script but if there is any help needed do let me know ready to do my part. Thank you for immediate respone.
Smart-Moneydottrade
@ankit_raval, sorry forgot to mention not sure what source you using for calculation so input for source like hl or close will be great help.
ankit_raval
@Smart-Moneydottrade, its based on closing price
Smart-Moneydottrade
@ankit_raval, thank you.. and pls update when you able to accomodatte my other request, it will be helpul to many of us. Thanks in advance
More