PINE LIBRARY
CL

Library "CL"
Common Library
method updateRealBodyPrices(candle)
Namespace types: TCandle
Parameters:
candle (TCandle)
method indexOfBarIndex(candle_array, barIndex)
Namespace types: array<TCandle>
Parameters:
candle_array (array<TCandle>)
barIndex (int)
method getCandleByBarIndex(candle_array, barIndex)
Namespace types: array<TCandle>
Parameters:
candle_array (array<TCandle>)
barIndex (int)
newCandleSet(tickerid, timeframe)
Parameters:
tickerid (string)
timeframe (string)
method copyTo(src, dest)
Namespace types: TPivot
Parameters:
src (TPivot)
dest (TPivot)
method copyTo(src, dest)
Namespace types: TTrendReversalPoint
Parameters:
src (TTrendReversalPoint)
dest (TTrendReversalPoint)
method copyPivotHL_LHtoFirst(trp)
Namespace types: TTrendReversalPoint
Parameters:
trp (TTrendReversalPoint)
newPoolManager()
method newCandleFromPool(poolManager)
Namespace types: TPoolManager
Parameters:
poolManager (TPoolManager)
method newPivotFromPool(poolManager)
Namespace types: TPoolManager
Parameters:
poolManager (TPoolManager)
method newTrendReversalPointFromPool(poolManager)
Namespace types: TPoolManager
Parameters:
poolManager (TPoolManager)
method newTrendReversalPoint(poolManager, trendDirection, barIndex, barIndex_ctf, time_reversal)
Namespace types: TPoolManager
Parameters:
poolManager (TPoolManager)
trendDirection (int)
barIndex (int)
barIndex_ctf (int)
time_reversal (int)
TCandle
Fields:
barIndex (series int)
timeOpen (series int)
timeClose (series int)
open (series float)
high (series float)
low (series float)
close (series float)
isFixed (series bool)
realBodyUpperPrice (series float)
realBodyLowerPrice (series float)
barIndex_ctf (series int)
TCandleSet
Fields:
tickerid (series string)
timeframe (series string)
currentCandle (TCandle)
lastFixedCandle (TCandle)
candleArray (array<TCandle>)
minBarIndex (series int)
minCandleCount (series int)
TPivot
Fields:
barIndex (series int)
price (series float)
isHigh (series bool)
isFixed (series bool)
barIndex_ctf (series int)
timeOpen (series int)
TTrendReversalPoint
Fields:
id (series int)
trendDirection (series int)
barIndex (series int)
price_Highest (series float)
barIndex_Highest (series int)
barIndex_ctf_Highest (series int)
price_Lowest (series float)
barIndex_Lowest (series int)
barIndex_ctf_Lowest (series int)
price_HigherLow (series float)
barIndex_HigherLow (series int)
barIndex_ctf_HigherLow (series int)
price_LowerHigh (series float)
barIndex_LowerHigh (series int)
barIndex_ctf_LowerHigh (series int)
price_FirstHigherLow (series float)
barIndex_FirstHigherLow (series int)
barIndex_ctf_FirstHigherLow (series int)
price_FirstLowerHigh (series float)
barIndex_FirstLowerHigh (series int)
barIndex_ctf_FirstLowerHigh (series int)
isDeleted (series bool)
barIndex_Created_ctf (series int)
barIndex_Deleted_ctf (series int)
barIndex_ctf (series int)
timeReversal (series int)
barIndexValid (series int)
barIndexSnapshotValid (series int)
TPoolManager
Fields:
all_candle (array<TCandle>)
pool_candle (array<TCandle>)
all_pivot (array<TPivot>)
pool_pivot (array<TPivot>)
all_trp (array<TTrendReversalPoint>)
pool_trp (array<TTrendReversalPoint>)
Common Library
method updateRealBodyPrices(candle)
Namespace types: TCandle
Parameters:
candle (TCandle)
method indexOfBarIndex(candle_array, barIndex)
Namespace types: array<TCandle>
Parameters:
candle_array (array<TCandle>)
barIndex (int)
method getCandleByBarIndex(candle_array, barIndex)
Namespace types: array<TCandle>
Parameters:
candle_array (array<TCandle>)
barIndex (int)
newCandleSet(tickerid, timeframe)
Parameters:
tickerid (string)
timeframe (string)
method copyTo(src, dest)
Namespace types: TPivot
Parameters:
src (TPivot)
dest (TPivot)
method copyTo(src, dest)
Namespace types: TTrendReversalPoint
Parameters:
src (TTrendReversalPoint)
dest (TTrendReversalPoint)
method copyPivotHL_LHtoFirst(trp)
Namespace types: TTrendReversalPoint
Parameters:
trp (TTrendReversalPoint)
newPoolManager()
method newCandleFromPool(poolManager)
Namespace types: TPoolManager
Parameters:
poolManager (TPoolManager)
method newPivotFromPool(poolManager)
Namespace types: TPoolManager
Parameters:
poolManager (TPoolManager)
method newTrendReversalPointFromPool(poolManager)
Namespace types: TPoolManager
Parameters:
poolManager (TPoolManager)
method newTrendReversalPoint(poolManager, trendDirection, barIndex, barIndex_ctf, time_reversal)
Namespace types: TPoolManager
Parameters:
poolManager (TPoolManager)
trendDirection (int)
barIndex (int)
barIndex_ctf (int)
time_reversal (int)
TCandle
Fields:
barIndex (series int)
timeOpen (series int)
timeClose (series int)
open (series float)
high (series float)
low (series float)
close (series float)
isFixed (series bool)
realBodyUpperPrice (series float)
realBodyLowerPrice (series float)
barIndex_ctf (series int)
TCandleSet
Fields:
tickerid (series string)
timeframe (series string)
currentCandle (TCandle)
lastFixedCandle (TCandle)
candleArray (array<TCandle>)
minBarIndex (series int)
minCandleCount (series int)
TPivot
Fields:
barIndex (series int)
price (series float)
isHigh (series bool)
isFixed (series bool)
barIndex_ctf (series int)
timeOpen (series int)
TTrendReversalPoint
Fields:
id (series int)
trendDirection (series int)
barIndex (series int)
price_Highest (series float)
barIndex_Highest (series int)
barIndex_ctf_Highest (series int)
price_Lowest (series float)
barIndex_Lowest (series int)
barIndex_ctf_Lowest (series int)
price_HigherLow (series float)
barIndex_HigherLow (series int)
barIndex_ctf_HigherLow (series int)
price_LowerHigh (series float)
barIndex_LowerHigh (series int)
barIndex_ctf_LowerHigh (series int)
price_FirstHigherLow (series float)
barIndex_FirstHigherLow (series int)
barIndex_ctf_FirstHigherLow (series int)
price_FirstLowerHigh (series float)
barIndex_FirstLowerHigh (series int)
barIndex_ctf_FirstLowerHigh (series int)
isDeleted (series bool)
barIndex_Created_ctf (series int)
barIndex_Deleted_ctf (series int)
barIndex_ctf (series int)
timeReversal (series int)
barIndexValid (series int)
barIndexSnapshotValid (series int)
TPoolManager
Fields:
all_candle (array<TCandle>)
pool_candle (array<TCandle>)
all_pivot (array<TPivot>)
pool_pivot (array<TPivot>)
all_trp (array<TTrendReversalPoint>)
pool_trp (array<TTrendReversalPoint>)
ไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
ไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน