🔶 METHODS • Pine Script™ introduces methods ( 1 , 2 )! Much kuddos for the developers, Tradingview, and all who has worked on it! • This educational script will show the simplified way of writing built-in methods, not to create a new method. 🔹 Simplified way of writing built-in methods: · Instead of: newArray =...
Library "arraymethods" Supplementary array methods. delete(arr, index) remove int object from array of integers at specific index Parameters: arr : int array index : index at which int object need to be removed Returns: void delete(arr, index) remove float object from array of float at specific index Parameters: arr : float...
Library "key_vals" a set of primitive single-type key/value items, and pseudo-dictionaries The dictionaries are single arrays of items, each item has a key and value. The library is 100% methods. add, remove, get and set items by key. It provides methods to get all the keys, values or items in the dict as arrays. For those familiar with python, it's similar,...
Abstract This script measure the related speed between rising and falling. This script can replace binary Falling Three Methods detector and, report continuous value and estimate potential trend direction. My suggestion of using this script is combining it with trading emotion. Introduction Falling Three Methods (F3M) is a candlestick pattern. Many trading...