PINE LIBRARY
ToolsPrice

Library "ToolsPrice"
Library for generic tools for price related actions
Enum: PriceSource
An enumeration of named values representing price source.
Fields:
open Represents the "Open" price.
high Represents the "High" price.
low Represents the "Low" price.
close Represents the "Close" price.
hl2 Represents the "(High + Low)/2" price.
hlc3 Represents the "(High + Low + Close)/3" price.
ohlc4 Represents the "(Open + High + Low + Close)/4" price.
hlcc4 Represents the "(High + Low + Close + Close)/4" price.
Function: getPriceBySource(src)
Returns series float according to provided PriceSource enum
Parameters:
src (series PriceSource): PriceSource enum
Returns: Series float
Library for generic tools for price related actions
Enum: PriceSource
An enumeration of named values representing price source.
Fields:
open Represents the "Open" price.
high Represents the "High" price.
low Represents the "Low" price.
close Represents the "Close" price.
hl2 Represents the "(High + Low)/2" price.
hlc3 Represents the "(High + Low + Close)/3" price.
ohlc4 Represents the "(Open + High + Low + Close)/4" price.
hlcc4 Represents the "(High + Low + Close + Close)/4" price.
Function: getPriceBySource(src)
Returns series float according to provided PriceSource enum
Parameters:
src (series PriceSource): PriceSource enum
Returns: Series float
Pineライブラリ
TradingViewの精神に則り、作者はこのPineコードをオープンソースライブラリとして公開してくれました。コミュニティの他のPineプログラマーが再利用できるようにという配慮です。作者に拍手を!このライブラリは個人利用や他のオープンソースの公開コンテンツで使用できますが、公開物でのコードの再利用はハウスルールに準じる必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
Pineライブラリ
TradingViewの精神に則り、作者はこのPineコードをオープンソースライブラリとして公開してくれました。コミュニティの他のPineプログラマーが再利用できるようにという配慮です。作者に拍手を!このライブラリは個人利用や他のオープンソースの公開コンテンツで使用できますが、公開物でのコードの再利用はハウスルールに準じる必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。