PINE LIBRARY
Updated ICT Core Library

Bibliothèque de fonctions ICT 2022
Library "ICTCore"
detectFVG()
detectOrderBlock()
getOBScore(ob)
Parameters:
ob (OrderBlock)
getLatestOB(obs, direction, currentPrice)
Parameters:
obs (array<OrderBlock>)
direction (string)
currentPrice (float)
detectLiquiditySweep(swingLength)
Parameters:
swingLength (simple int)
detectMSS()
calculateOTEFromOB(ob)
Parameters:
ob (OrderBlock)
isInOTE(price, ob)
Parameters:
price (float)
ob (OrderBlock)
detectConfirmationCandle(direction)
Parameters:
direction (string)
getTrendHTF(timeframe)
Parameters:
timeframe (simple string)
isInSession(sessionName)
Parameters:
sessionName (string)
FVG
Fields:
top (series float)
bottom (series float)
bar_index (series int)
mitigated (series bool)
direction (series string)
OrderBlock
Fields:
high (series float)
low (series float)
bar_index (series int)
broken (series bool)
direction (series string)
hasVolume (series bool)
hasFVG (series bool)
quality (series string)
SwingPoint
Fields:
price (series float)
bar_index (series int)
type (series string)
Library "ICTCore"
detectFVG()
detectOrderBlock()
getOBScore(ob)
Parameters:
ob (OrderBlock)
getLatestOB(obs, direction, currentPrice)
Parameters:
obs (array<OrderBlock>)
direction (string)
currentPrice (float)
detectLiquiditySweep(swingLength)
Parameters:
swingLength (simple int)
detectMSS()
calculateOTEFromOB(ob)
Parameters:
ob (OrderBlock)
isInOTE(price, ob)
Parameters:
price (float)
ob (OrderBlock)
detectConfirmationCandle(direction)
Parameters:
direction (string)
getTrendHTF(timeframe)
Parameters:
timeframe (simple string)
isInSession(sessionName)
Parameters:
sessionName (string)
FVG
Fields:
top (series float)
bottom (series float)
bar_index (series int)
mitigated (series bool)
direction (series string)
OrderBlock
Fields:
high (series float)
low (series float)
bar_index (series int)
broken (series bool)
direction (series string)
hasVolume (series bool)
hasFVG (series bool)
quality (series string)
SwingPoint
Fields:
price (series float)
bar_index (series int)
type (series string)
Release Notes
v2Release Notes
ICT Core LibraryRelease Notes
v4Pine library
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.
Disclaimer
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.
Pine library
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.
Disclaimer
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.