OPEN-SOURCE SCRIPT

Point and Figure Chart - Live

アップデート済
Hello Traders,

This is "Point and Figure Chart (PnF)" script that run in separated window in real time. The separated PnF chart window is timeless, so no relation with the time on the chart. PnF chart consist of "X" and "O" columns. While "X" columns represents rising prices, "O" column represents a falling price. If you have no idea about what PnF charting is then you should search for "Point and Figure Charting" on the net and get some info before using this script.

Now lets talk about details. PnF Chart requires at least two variables to be set => Box size and Reversal. Box size represents the size of each X/O in PnF chart and the reversal is used to calculate new X/O or reversal. for example if currrent column is X column then for new "X", "box size * 1" move is needed and for new "O" column or reversal, "box size * revelsal" move is needed. in the script I use lines as X/O columns.

In the options you can set "Box Size Assingment Method". you have 3 options Traditional, ATR, Percentage. what are they?
Traditional: user-defined box size, means you can set the box size as you wish, using the option [Traditional]. if you use this option then you should set it accordingly.
ATR: that's dynamic box size scaling and on each columns it's calculated once, you can set length for ATR
Percentage: that's also dynamic box size scaling according to closing price when new column appeared. if you use this option then you should set it accordingly.

Reversal: The reversal is typically 3 but you can change it as you wish

"Change Bar Color by PnF Trend": if you enable this option then bar color changes by PnF columns, by default it's not enabled
"Change Column Color When Breakout Occurs": PnF color changes if Double Top/Bottom breakout accours. enabled by default and you can set the colors as you wish using the options
"Change Bar Color When Breakout Occurs": bar colors changed if Double Top/Bottom breakout accours. enabled by default and you can set the colors as you wish using the options

the script checks only Double Top/Bottom breakouts at the moment. there are many other breakouts such Triple/Quadruple, Ascending/Descending Triple Top/Bottom breakouts, Catapult etc.

Also the script shows new X/O level and reversal Levels in PnF window. An example:
スナップショット

If you enable "Change Bar Color by PnF Trend" option:
スナップショット

An example if you disable the option "Change Column Color When Breakout Occurs
スナップショット


You may want to see my another/older "Point and Point Chart" script as well. you can find it in my profile/published scripts and in the Public Library. I use same PnF calculation algorithm in both scripts.


Enjoy!

リリースノート
.
リリースノート
typo fixed
Candlestick AnalysisCentered OscillatorsDaily PivotshighertimeframeslonesometheblueMarubozupointandfigurepointandfigurechartingTrend Line BreaktrendtradingVolatility

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項