PINE LIBRARY
Cập nhật CandleLib

Library "CandleLib"
TODO: add library description here
zero()
TODO: add library description here
zero()
Phát hành các Ghi chú
v2Добавлено:
candle_body()
candle_shadow_top()
candle_shadow_bottom()
candle_body_sma(length)
Parameters:
length
candle_type_dodge()
Обновлено:
zero(maxSize)
Get approximate candle zero size
Parameters:
maxSize: mitiplier to avarage body size of the candle
Phát hành các Ghi chú
v3Добавлено:
candle_type_spin()
candle_trend()
candle_type_marubotsu()
Phát hành các Ghi chú
v4Phát hành các Ghi chú
v5Добавлено:
candle_type_hammer()
candle_type_hammer_inverted()
Phát hành các Ghi chú
v6Добавлено:
trend_candle()
trend_volume()
trend_reversal_trough_dodge()
trend_reversal_trough_hammer_inverted()
trend_reversal_trough_hammer()
Удалено:
candle_trend()
Phát hành các Ghi chú
v7Добавлено:
trend_candle_changed()
trend_reversal()
Phát hành các Ghi chú
v8Phát hành các Ghi chú
v9Phát hành các Ghi chú
v10Phát hành các Ghi chú
v11Phát hành các Ghi chú
v12Phát hành các Ghi chú
v13Phát hành các Ghi chú
v14Phát hành các Ghi chú
v15Phát hành các Ghi chú
v16Phát hành các Ghi chú
v17Добавлено:
createCandle()
Creates instance of the candleModel
barsAllByOffset(predicate, from_offset, to_offset)
Parameters:
predicate (bool)
from_offset (int)
to_offset (int)
barsAnyByOffset(predicate, from_offset, to_offset)
Parameters:
predicate (bool)
from_offset (int)
to_offset (int)
barsAllByBarIndex(predicate, from_index, to_index)
Parameters:
predicate (bool)
from_index (int)
to_index (int)
barsAnyByBarIndex(predicate, from_index, to_index)
Parameters:
predicate (bool)
from_index (int)
to_index (int)
collectCandles(storage, count)
collectes last [count] candleModel instanses in preinitialized [storage]
Parameters:
storage (candleModel[])
count (int)
candleModel
Fields:
high (series__float)
low (series__float)
close (series__float)
open (series__float)
bar_index (series__float)
side (series__integer)
size (series__float)
body (series__float)
tail_top (series__float)
tail_bottom (series__float)
Phát hành các Ghi chú
v18Добавлено:
barsOffset(target_bar_index)
Parameters:
target_bar_index (int)
Phát hành các Ghi chú
v19Добавлено:
barOffset(target_bar_index)
Parameters:
target_bar_index (int)
barTime(target_bar_index)
Parameters:
target_bar_index (int)
Удалено:
barsOffset(target_bar_index)
Phát hành các Ghi chú
v20Phát hành các Ghi chú
v21Добавлено:
zeroSize(ethalon, maxSize)
Get approximate candle zero size
Parameters:
ethalon (float)
maxSize (simple float): mitiplier to avarage body size of the candle
method isDodge(candle, zero_size)
Namespace types: candleModel
Parameters:
candle (candleModel)
zero_size (float)
method isSpin(candle, zero_size)
Namespace types: candleModel
Parameters:
candle (candleModel)
zero_size (float)
method isMarubotsu(candle, zero_size)
Namespace types: candleModel
Parameters:
candle (candleModel)
zero_size (float)
method isHammer(candle, zero_size)
Namespace types: candleModel
Parameters:
candle (candleModel)
zero_size (float)
isHammerInverted(candle, zero_size)
Parameters:
candle (candleModel)
zero_size (float)
Удалено:
collectCandles(storage, count)
collectes last [count] candleModel instanses in preinitialized [storage]
candle_body()
candle_shadow_top()
candle_shadow_bottom()
candle_body_sma(length)
zero(maxSize)
Get approximate candle zero size
candle_type_dodge()
candle_type_spin()
candle_type_marubotsu()
candle_type_hammer()
candle_type_hammer_inverted()
trend_candle()
trend_volume()
trend_candle_changed()
trend_reversal_trough_dodge()
trend_reversal_trough_hammer_inverted()
trend_reversal_trough_hammer()
trend_reversal()
Phát hành các Ghi chú
v22Phát hành các Ghi chú
v23Phát hành các Ghi chú
v24Phát hành các Ghi chú
v25Phát hành các Ghi chú
v26Добавлено:
method isTrendChanged(this, position)
Namespace types: array<candleType>
Parameters:
this (array<candleType>)
position (simple int)
method isVolumeRising(this, position)
Namespace types: array<candleType>
Parameters:
this (array<candleType>)
position (simple int)
method isVolumeFalling(this, position)
Namespace types: array<candleType>
Parameters:
this (array<candleType>)
position (simple int)
candlePartType
Fields:
value (series float)
candle_percent (series float)
chart_percent (series float)
candleSizeType
Fields:
value (series float)
chart_percent (series float)
candleType
Fields:
high (series float)
low (series float)
close (series float)
open (series float)
volume (series float)
bar_index (series int)
time (series int)
trend (series trendEnum)
body (candlePartType)
wick_top (candlePartType)
wick_bottom (candlePartType)
bullish_part (candlePartType)
bearish_part (candlePartType)
size (candleSizeType)
Обновлено:
method isDodge(this, zero_size)
Namespace types: candleType
Parameters:
this (candleType)
zero_size (simple float)
method isSpin(candle, zero_size)
Namespace types: candleType
Parameters:
candle (candleType)
zero_size (simple float)
method isMarubotsu(candle, zero_size)
Namespace types: candleType
Parameters:
candle (candleType)
zero_size (simple float)
method isHammer(candle, zero_size)
Namespace types: candleType
Parameters:
candle (candleType)
zero_size (simple float)
method isHammerInverted(candle, zero_size)
Namespace types: candleType
Parameters:
candle (candleType)
zero_size (float)
Удалено:
candleModel
Thư viện Pine
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Thông báo miễn trừ trách nhiệm
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Thư viện Pine
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Thông báo miễn trừ trách nhiệm
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.