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 "DiscordWebhookFunction" discordMarkdown(_str, _italic, _bold, _code, _strike, _under) Convert string to markdown formatting User can combine any function at the same time. Parameters: _str : String input _italic : Italic _bold : Bold _code : Code markdown _strike : Strikethrough _under : Underline Returns: string...
A low cost function to down sample a array. specially useful for pattern recognition algorithms.
Basic utility script to keep track of key dates & expiries.
This is a developer friendly solution to the current PineScript limitation of not being able to easily configure presets for multiple timeframes. If you're developing multi-timeframe strategies then you've no doubt done battle with built-in `input` function which only allows for a single default value. You've probably come up with all kinds of fancy workarounds,...