pointfigure
pointfigure
ポイント&フュイギュア値を要求するティッカー識別子を作成する。
pointfigure(symbol, source, style, param, reversal) → string
例
pnf_tickerid = pointfigure(syminfo.tickerid, "hl", "Traditional", 1, 3)
pnf_close = security(pnf_tickerid, timeframe.period, close)
plot(pnf_close)
戻り
security関数に渡すことができるティッカーIDの文字列。
引数
symbol (string) シンボルティッカー識別子。
source (string) The source for calculating Point & Figure. Possible values are: ‘hl’, ‘close’.
style (string) ボックスサイズ適用法:’ATR’、’従来型’
param (float) `style`が ‘ATR’と等しい場合のATRの長さ、もしくは` style`が ‘Traditional’と等しい場合はボックスサイズ。
reversal (integer) 転換数。