The TUF_LOGIC library incorporates three-valued logic (also known as trilean logic) into Pine Script, enabling the representation of states beyond the binary True and False to include an 'Uncertain' state. This addition is particularly apt for financial market contexts where information may not always be black or white, accommodating scenarios of partial or...
Library "into" convert literals by type, Same-types left in for bulk reasons. TODO: Expand Types b(string) Convert string to bool. Parameters: string : val A string value. Returns: Bool. b(bool) Pass Bool/bool Parameters: bool : Returns: Bool. b(float) Convert Float (True if exists and not 0) Parameters: float : val A...
█ OVERVIEW This library is complementary for XABCD Harmonic Pattern Custom Range Interactive TupleSwitchHL() : Tuple Switch for High Low Parameters: : : _bool, low_X, high_X, low_A, high_A, low_B, high_B, low_C, high_C Returns: : price_X, price_A, price_B, price_C TupleSwitchStyleColor() : Tuple switch for style and color Parameters: :...
█ OVERVIEW This library is complementary for XABCD Harmonic Pattern Custom Range Interactive PriceDiff() : Price Difference Parameters: : : price_1, price_2 Returns: : PriceDiff TimeDiff() : Time Difference Parameters: : : time_1, time_2 Returns: : TimeDiff ReturnIndexOf3Arrays() : Return Index Of 3 Arrays Parameters: : :...