Library "arsenal" This library is a collection of weapons that will help us win the war against the market. isNewbar(res, timezone) Checks if the res is in new bar at the current timeframe Parameters: res : - resolution of the bar to check if new timezone : - timezone of the resolution Returns: ch: - 1=true, 0=false
Library "AutoColor" Function provides rgb color based on deviation of highest and lowest value for the period from current value fColor(src1, len1) Calculates rgb color based on deviation of highest and lowest value for the period from current value Parameters: src1 : Series to use (`close` is used if no argument is supplied). len1 : Length for highest...
Library "ColorScheme" A color scheme generator. init() Initiate the array data registry that will hold the color profile. Returns: tuple with 2 arrays (string array, color array) check_registry_integrity(key_registry, color_registry) Checks the integrity of the registers. Parameters: key_registry : string array, key data holder array. color_registry...
Library "ColorExtension" Color Extension methods. hsl(hue, saturation, lightness, transparency) HSL color transform. Parameters: hue : float, hue color component, hue is a degree on the color wheel from 0 to 360. 0 is red, 120 is green, 240 is blue. saturation : float, saturation color component, saturation is a percentage value, 0 means a shade of...